HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   prevent overwriting of php-fcgi-startup (http://www.howtoforge.com/forums/showthread.php?t=46609)

aur 18th June 2010 15:47

prevent overwriting of php-fcgi-startup
 
hello,

i would like to ask, if it's anyhow possible to prevent ispconfig3 from overwriting the .php-fcgi-startup script of a virtual host.

reason: for some very old software i need to run php4 on this virtual-host only. this work's just fine by modifying the .php-fcgi-startup script for this host. however: when i make any changes in ispconfig, ispconfig apparently overwrites the startup-script with the default values.

for now i've just removed write-privileges for anyone on this file, but i don't know if this is the right way to go or if there is something else what i could do to keep my php-fcgi-startup to start php4.

thanks!

till 18th June 2010 18:05

There is no way to prevent the overwriting from inside ISPConfig. But you can set a Linux file to be immutable with a shell command and this should prevent that ispconfig modifies the file.

http://linuxhelp.blogspot.com/2005/1...hich-even.html

aur 19th June 2010 18:50

cool -- i didn't know of this.

thanks for your help!


All times are GMT +2. The time now is 14:54.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.