Upgrading to PHP5 - Not working?

citricsquid

Verified User
Joined
Mar 8, 2009
Messages
8
Hi,
I'm following this guide and everything goes well, I get to part for and update httpd.conf; replacing any instance of php4 to php5, I then restart apache and get the following error:

Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: cannot open shared object file: No such file or directory

So I entered that directory, and sure enough libphp5 doesn't exist, only php4. Right now I'm still running php4, however I want to upgrade to 5.

I followed the guide to the letter, I guess there's a problem with the ./build script, because it isn't adding libphp5.so to the directory.

CentOS 5
Apache 2.0.63

I've updated the build script to the version of php I'm downloading as per instructions, I'm rather confused.
 
Did you read what the guide suggests at the top?
Note: If you want the latest version of php and apache, it's recommended you use custombuild:
http://files.directadmin.com/services/custombuild/1.1

The following guide is only to be used if if you still want to use the old apache versions... basically, only if you still need FrontPage.

I think there is generally a lot more support for custombuild nowerdays, you should consider using that instead unless there is a specific reason your not already doing so.
 
Back
Top