Click to See Complete Forum and Search --> : RedHat 9 install of PHP fails?


DougR
07-15-2003, 05:29 PM
Clean install as follows:

# bzip2 -d php...tar.bz2
# tar -xvf php...tar
# cd php...
# ./configure
# make
# make install

the last bit results in the error message:

Installing PHP SAPI module
cp: cannot stat `sapi/cgi/php': No such file or directory
make: *** [install-sapi] Error 1

Any ideas? Thanks.

tsinka
07-18-2003, 02:47 AM
Which configure options did you use ?

tsinka
07-18-2003, 02:50 AM
Do you also get an "output line too long" error message ?

DougR
07-18-2003, 11:40 AM
Thanks, but I had to completely reinstall everything.

I think since I had already installed Apache without integrating PHP, it caused major problems.

I reinstalled everything from scratch and this time used Apache 2 and the instructions on the PHP installation page for Apache 2... that seemed to do the trick.

Thanks.