PHP 5.0.4 upgrade problem

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
cgraham149
Forum Newbie
Posts: 3
Joined: Wed May 10, 2006 9:43 pm

PHP 5.0.4 upgrade problem

Post by cgraham149 »

I just ugraded to PHP 5.0.4 as noted here:

http://www.atomicrocketturtle.com/Jooml ... ew/141/29/

However, when I reboot the server Apache does not start. When I go to Plesk | Server | Service Management it shows Apache as stopped. When I try to start Apache I get the following error:
Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to start
0: /usr/local/psa/admin/htdocs/server/restart_services.php:28 psaerror(string "Unable to make action: Unable to manage service by websrvmng: websrvmng: Service httpd failed to start")
I tried to reatart via shell with apachectl restart, but I got the following....
Syntax error on line 1 of /etc/httpd/conf.d/php.conf:

Cannot load /etc/httpd/modules/libphp4.so into server:

/etc/httpd/modules/libphp4.so: cannot open shared object file: No such file or directory
So, I checked in the php.conf file and I see this:

Code: Select all

LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .php4 .php3 .phtml
DirectoryIndex index.php index.php3
I changed to this:

Code: Select all

LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php .php4 .php3 .phtml
DirectoryIndex index.php index.php3
That did not help...I get this new error:
Cannot load /etc/httpd/modules/libphp5.so into server: /etc/httpd/modules/libphp5.so: undefined symbol: curl_version_info
Any help would be greatly appreciated!!

Thanks in advance!
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Post by Benjamin »

Sounds like PHP was compiled with curl, but curl cannot be found on the system? Might want to try installing curl or recompile php.
Post Reply