Posted by Mauro on 11/29/06 09:25
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?
Thank You
Mauro
Navigation:
[Reply to this message]
|