Problems upgrading PHP

Cyberboy

Verified User
Joined
May 16, 2004
Messages
29
Hello,

I can't upgrade PHP, because I will get an error I don't understand:

Installing php...
Installing PHP SAPI module: apache
[activating module `php4' in /etc/httpd/conf/httpd.conf]
cp libs/libphp4.so /usr/lib/apache/libphp4.so
cp: libs/libphp4.so: No such file or directory
apxs:Break: Command failed with rc=1
*** Error code 1

I am using the Custom Apache system in DirectAdmin.

Does anybody know what I can do to solve this problem?

Thanks in advance.
Rick
 
Last edited:
I've had this problem too when installing on a new machine recently. I just upgraded to Apache 2 :)

Don't know why this is occuring, somehow it doesn't build php correctly.
 
Thank you, but that's not an option for me.

Does nobody have the solution to solve this problem, without upgrading to apache 2.0?
 
Cyberboy,

What OS are you using?

What procedure did you use to try to update PHP?

(What commands did you use once you were in the customapache directory?)

Jeff
 
Hi,

I am running FreeBSD 4.10, but some time ago I had problem upgrading PHP to latest version too.

Simple ./build php did not work, however you may want to try this:

cd /usr/local/directadmin/customapache
./build clean
rm -f configure.*
./build update
./build all
/usr/local/etc/rc.d/httpd restart

I hope it will work for you too.

Kamsel
 
Back
Top