PHP5 CGI / PHP4 CLI problem

Larnuse

New member
Joined
May 30, 2010
Messages
1
Hi

We're having problems setting up a php5/php4 server, using php5 as cgi + suPHP. We only have one domain that uses php4, so we really want to be able to use suPHP as default with PHP5/cgi.

When installing custombuild on a standard directadmin install according to this guide http://help.directadmin.com/item.php?id=262 , http is inaccessible.

However, when we set php4/cgi and php5/cli it works. And we can run both fine. But obviously as we add more domains it will be a nightmare for our customers having to chown to apache:apache, or run chmod-777.

A strange thing we noticed, is that D-A installed php4/cgi into the php5 folder : /usr/local/etc/php5/cgi/php.ini

We haven't run the command "./build update_data" as we're using the latest 1.35.1 - did we need to?

Thanks in advance for any help you can give!

Cheers,

Larn
 
Back
Top