Posted by J.O. Aho on 11/29/06 11:35
Mauro wrote:
> Hi all,
> I got a problem while i try to use php with my apache:
>
> httpd: Syntax error on line 65 of /data/programs/apache2/conf/httpd.conf:
> Cannot load /data/programs/apache2/modules/libphp5.so into server:
> /data/programs/apache2/modules/libphp5.so: undefined symbol: zend_ini_string
>
> I compiled apache with:
>
> ./configure --prefix=/data/programs/apache2 \
> --enable-so \
> --enable-unique-id \
> --enable-usertrack \
> --enable-mime-magic \
> --enable-charset-lite \
> --enable-mods-shared=all
>
> and PHP with:
>
> ./configure --prefix=/data/programs/php-5.2.0 --exec-prefix=/data/programs/
> php-5.2.0 \
> --with-apxs2=/data/programs/apache2/bin/apxs \
> --with-mysql-dir=/data/programs/mysql \
> --with-mysql-sock=/tmp/mysql.sock \
> --with-snmp=/data/programs/net-snmp \
> --disable-cgi \
> --enable-fastcgi \
> --enable-force-cgi-redirect \
> --with-zlib \
> --with-gettext \
> --with-gdbm \
> --with-libdir=/data/programs/net-snmp/lib \
> --with-libdir=/data/programs/mysql/lib/mysql
>
>
> Could you help me?
Recompile and install Apache.
//Aho
[Back to original message]
|