Web Hosting Talk







View Full Version : compiling php 4.2.3


x222943
12-07-2002, 04:48 PM
im attempting to compile php 4.2.3 on a redhat 7.2 box, and all goes fine until i run make install, at which time i get:


Making install in .
make[1]: Entering directory `/php/php-4.2.3'
/www/bin/apxs -i -a -n php4 libphp4.la
/www/build/instdso.sh SH_LIBTOOL='/www/build/libtool' libphp4.la /www/modules
sh: /www/build/instdso.sh: bad interpreter: Permission denied
apxs:Error: Command failed with rc=8257536
.
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/php/php-4.2.3'
make: *** [install-recursive] Error 1


has anyone else had problems compiling 4.2.3, or had this error?

thanks

rcs
12-07-2002, 05:31 PM
are you root when doing make install?

x222943
12-07-2002, 05:35 PM
yes, i am root when attempting to install it... its starting to get annoying... i have yet to ever install php without an error.

rcs
12-07-2002, 05:38 PM
I've done that planty of time, never had a problem.

x222943
12-07-2002, 05:40 PM
lucky you, it must hate me :)


ive also tried downloading the latest cvs... and i got the same error... looks like ill reinstall apache...

Mdot
12-07-2002, 06:07 PM
open /www/build/instdso.sh
and see what is the first line there. Post it here

x222943
12-07-2002, 06:11 PM
first line in the file is #!/bin/sh

rcs
12-07-2002, 06:25 PM
does instdso.sh has mod +x ? (755, 700 ..)