Apache 2.0.40 and PHP
| From: | Adam Williams | Date: | Tue, 20 Aug 2002 14:20:49 +0000 |
| Subject: | Apache 2.0.40 and PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-113327@lists.php.net to get a copy of this message | ||
Yesterday it was recommended that I get the latest PHP from
http://snaps.php.net. I did that last night and today, and I am
compiling
it as follows. Currently this error was on the snapshot of 200208200600.
./configure --enable-track-vars --with-mysql --with-mail --with-apxs2=/usr/local/apache2/bin/apxs
make
make install
and it errors out on the make install with:
chmod 755 /usr/local/apache2/modules/libphp4.so
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PHP CLI binary: /usr/local/bin/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - already installed: 0.9
[PEAR] Console_Getopt - already installed: 0.11
[PEAR] PEAR - already installed: 0.91-dev
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2
PHP seems to have build tho, because the timestamp on it is correct:
[root@missioncontrol php4-200208200600]# ls -l
/usr/local/apache2/modules/libphp4.so
-rwxr-xr-x 1 root root 4080175 Aug 20 09:19
/usr/local/apache2/modules/libphp4.so
and when I go to my web page that has a PHP include() statement, it works
fine. Is anyone else having similar problems and have a solution? Or
since PHP is working, even though the install errors out, to just not
worry about it?
Adam