Hi there,

This is my first message to this list because I never nedded to. I have been using/installing/programming PHP for some years now and, I'm running into a problem that everytime I google for answers, everything gets worse. We have been using PHP/apache/MySQL -well who doesn't?- for a long time in our i386 servers and we decided it's time to upgrade to a better/faster system and we decided a dual AMD64 opteron server. I started doing the same setup -everything from source except MySQL- I used to do in i386 -I guess my error starts here-. Here's my apache configuration:

./configure  \
--prefix=/usr/local/apache   \
--enable-module=so   \
--enable-module=rewrite   \
--enable-shared=rewrite   \
--server-uid=www   \
--server-gid=www
make
make install

and this work perfectly. I'm using MySQL binaries and Mandrake AMD6410 RC1 because it was the only distro that could use my SATA disks.

Here's my PHP config stuff:

./configure  \
--with-mysql=/usr/local/mysql   \
--with-apxs=/usr/local/apache/bin/apxs

and here's the message I get:

Installing PHP SAPI module:       apache
[activating module `php4' in /usr/local/apache/conf/httpd.conf]
cp libs/libphp4.so /usr/local/apache/libexec/libphp4.so
cp: cannot stat `libs/libphp4.so': No such file or directory
apxs:Break: Command failed with rc=1
make: *** [install-sapi] Error 1

I have been "googling" -is this a word?- around and all I get from the error and I've seen so many things and not even one is helping me. It was a reported bug and even I changed something in apxs inside apache not getting very good results. Is it possible that I'm missing something because it's AMD64?

Any Ideas?

Thanx a lot
Juan

Reply via email to