PHP4/Apache Module compile problems
| From: | PHP Mailing List User | Date: | Thu, 17 May 2001 19:42:07 +0000 |
| Subject: | PHP4/Apache Module compile problems | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-3195@lists.php.net to get a copy of this message | ||
I'm trying to install PHP4 as an Apache Module by following the
instructions in the PHP manual. Here are the specifics of my install:
Apache: 1.3.19
Configuration options: ./configure --bindir=/usr/local/apache/bin
--sbindir=/usr/local/apache/bin --libexecdir=/usr/local/apache/libexec
--datadir=/data/httpd --enable-module=so
PHP: 4.04pl1
Configuration options: ./configure --with-mysql
--with-apache=/tmp/apache_1.3.19 --with-ldap --with-imap
--enable-track-vars --enable-magic-quotes --with-ldap --enable-trans-sid
--enable-force-cgi-redirect
I do all of the associated makes on PHP, then add the PHP4 module into
Apache by running ./configure --activate-module=src/modules/php4/libphp4.a
That runs without a hitch. However, when I try a make on Apache, I get
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/tmp/apache_1.3.19/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/tmp/apache_1.3.19'
make: *** [build] Error 2
Any Ideas? HELP!!!
Thanks.