Do you have a question? Post it now! No Registration Necessary. Now with pictures!
November 18, 2004, 2:00 am
rate this thread
I'm trying to install PHP5. My configure is
../configure --with-apxs=/usr/local/sbin/apxs --
prefix=PREFIX=/usr/local/php5/ --with-mysql --disable-pear
then make and make install
The error that I get is:
# make install
Installing PHP SAPI module: apache
[activating module `php5' in /usr/local/etc/apache/httpd.conf]
cp libs/libphp5.so /usr/local/libexec/apache/libphp5.so
chmod 755 /usr/local/libexec/apache/libphp5.so
cp /usr/local/etc/apache/httpd.conf /usr/local/etc/apache/httpd.conf.bak
cp /usr/local/etc/apache/httpd.conf.new /usr/local/etc/apache/httpd.conf
Installing PHP CLI binary: PREFIX=/usr/local/php5//bin/
Installing PHP CLI man page: PREFIX=/usr/local/php5//man/man1/
Installing build environment: PREFIX=/usr/local/php5//lib/php/build/
Installing header files: PREFIX=/usr/local/php5//include/php/
cp: PREFIX=/usr/local/php5//include/php/#INST@66614#: No such file or
*** Error code 1 (ignored)
Installing helper programs: PREFIX=/usr/local/php5//bin/
After this /usr/local/php5 is completely empty. I tried making some of
the subdirectories, but that had no effect.
And in the #INST@66614#, the 5 digit number changes each time make
install is ran.
I can't find what is causing this. Anyone have any ideas?
Permissions on the install directory:
drwxr-xr-x 5 root wheel 512 Nov 17 13:58 php5
I'm running make as root