Error: Restarting Apache w/ PHP as DSO on redhat 7.2
| From: | charles | Date: | Wed, 28 Nov 2001 06:07:29 +0000 |
| Subject: | Error: Restarting Apache w/ PHP as DSO on redhat 7.2 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5111@lists.php.net to get a copy of this message | ||
Heres what I have:
Clean install of redhat 7.2, server option chosen, default packages installed - no extra servers or
subcategories.
I have installed the following with no problems through configure, make or make install:
- MySQL 3.23.45 from binaries at mysql.com (redhat gcc error, or so it says)
- Apache 1.3.22 from source (configure --prefix=/usr/local/apache --enable-module=so)
- PHP 4.0.6 from source (configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs)
I did have to change the first line in the apxs file from '#!/usr/bin/perl' >
'#!/usr/bin/perl5.6.0'.
This was done prior to configure, etc... [known issue from another server running some perl apps}
Each package was tested after install for success. MySQL and Apache work(ed) fine.
After installing PHP as a DSO, I cannot start apache and receive the following error:
"Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: undefined symbol: uncompress
./apachectl start: httpd could not be started"
Line 205 of httpd.conf looks like:
LoadModule php4_module libexec/libphp4.so
(looks good to me, but what do I know?)
Checked Apache's error log and nothing is being recorded (assuming because httpd cannot even
start?)
I also attempted to reinstall both Apache and PHP by ./configure, make clean, make, make install
with no luck -- same error.
I've noticed this on a few other posts in the archives but was not abale to find any
resolutions.
Anyone have any ideas? {I really do not want to install from RPMs]
much appreciated,
clacy@bignet.net