flumpydog
asked on
PHP5 Install Problems - libphp5.so not created on AMD64
I am having no luck in trying to install Apache 2.0.52 + MySQL 4.0.21 + PHP 5.0.2 on an AMD64 with FC2 64-bit? I have no problems installing Apache + MySQL, it is PHP5 that is causing me grief.
I have successfully installed all the above on a PIII box that has all the same software (not 64 bit) without any problems.
When I run configure and make there is no problems. When I run 'make install' , this is when I always get an error.
I have also tried the latest snapshots but this did not resolve the problem.
The files libphp5.a and libphp5.lai are created, but it is not creating the file libphp5.so anywhere on the system. I am running just a simple configure command to try and troubleshoot this with no luck:
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/ap ache2/bin/ apxs
Error Message:
[root@arrow php-5.0.2]# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/i nstdso.sh SH_LIBTOOL='/usr/local/apa che2/build /libtool' libphp5.la /usr/local/apache2/modules
/usr/local/apache2/build/l ibtool --mode=install cp libphp5.la /usr/local/apache2/modules /
cp .libs/libphp5.lai /usr/local/apache2/modules /libphp5.l a
cp .libs/libphp5.a /usr/local/apache2/modules /libphp5.a
ranlib /usr/local/apache2/modules /libphp5.a
chmod 644 /usr/local/apache2/modules /libphp5.a
libtool: install: warning: remember to run `libtool --finish /home/flumpy/temp/php-5.0. 2/libs'
Warning! dlname not found in /usr/local/apache2/modules /libphp5.l a.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules /libphp5.s o
chmod: cannot access `/usr/local/apache2/module s/libphp5. so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
Thanks in advance for any help!
Chuck
I have successfully installed all the above on a PIII box that has all the same software (not 64 bit) without any problems.
When I run configure and make there is no problems. When I run 'make install' , this is when I always get an error.
I have also tried the latest snapshots but this did not resolve the problem.
The files libphp5.a and libphp5.lai are created, but it is not creating the file libphp5.so anywhere on the system. I am running just a simple configure command to try and troubleshoot this with no luck:
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/ap
Error Message:
[root@arrow php-5.0.2]# make install
Installing PHP SAPI module: apache2handler
/usr/local/apache2/build/i
/usr/local/apache2/build/l
cp .libs/libphp5.lai /usr/local/apache2/modules
cp .libs/libphp5.a /usr/local/apache2/modules
ranlib /usr/local/apache2/modules
chmod 644 /usr/local/apache2/modules
libtool: install: warning: remember to run `libtool --finish /home/flumpy/temp/php-5.0.
Warning! dlname not found in /usr/local/apache2/modules
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/local/apache2/modules
chmod: cannot access `/usr/local/apache2/module
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
Thanks in advance for any help!
Chuck
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
https://www.experts-exchange.com/questions/21169396/PHP5-configure-options-ignored.html