installing php4-cgi appears to break DA

jfall

New member
Joined
Apr 10, 2006
Messages
3
I am running FreeBSD 5.4 Stable with the latest version of DirectAdmin installed.

It appears that when I install the port /usr/ports/www/php4-cgi -- the direct admin interface breaks.

here is a screenshot of what DA looks like after installing php4-cgi:

http://63.245.200.139/dabroke.jpg

right after removing php4-cgi DA goes back to normal.

this poses a problem for me as one of my software packages requires php4-cgi to be installed in order to function.

Does anyone have any idea why installing php4-cgi breaks DA and if there is any way around it?
 
Hello,

One solution is to make a copy of the old php binary and then install php-cgi. Move the php-cgi from:
/usr/local/bin/php to /usr/local/bin/phpcgi
and then
move the original backup back to /usr/local/bin/php

Then in your scripts change the access to use /usr/local/bin/phpcgi

(or vice versa, you can change what DA accesses by editing the skins)

John
 
Back
Top