Had to recompile PHP now PHP4 doesn't work.

Webgecko

Verified User
Joined
May 2, 2005
Messages
32
Location
In this Forum at the moment.
Hi Guys,

History. I'm running PHP 4 and PHP 5 as outlined below. This was working correctly.

default_php=5
php4_cli=no
php4_cgi=yes
php5_cli=yes
php5_cgi=no

--

I had to update OpenSSL, so I installed this from FreeBSD ports (worked fine), then I had to recompile PHP, so I figured, why not update at the same time so I did a
PHP:
./build versions
and then I did a
PHP:
./build update_versions
which all went find.

I then proceeded to restart apache which went fine as well. No sign of errors.
When I visit a page with PHP5, all is well.
When I visit a page with PHP4, I get a 500 internal server error which wasn't there before the update / recompile of php.

Any help is greatly appreciated as I have a bunch of PHP4 sites that are down at the moment.

Thanks!!
 
Try:
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
 
Back
Top