Click to See Complete Forum and Search --> : Problems with PHP installation


vccarvalho
12-20-2002, 07:51 PM
Hi there I'm trying to instal PHP 4.2.3 + Apache 1.3 on a RH8 machine (the mysql installation is ok), here are the steps I'm following when compilling:

cd /path_to_apache_source
./configure --prefix=/path_to_apache_install_dir
cd ..

cd /path_to_php _install
./configure --with-mysql=/path_to_mysql_install_dir --with-apache=/path_to_apache_source
make
make install
cp php.ini-dist /usr/local/lib/php.ini
cd ..

cd /path_to_apache_source
./configure --prefix=/path_to_apache_install_dir --activate-module=src/modules/php4/libphp4.a
make
make install

But when I try to run apachectl start I get :

Syntax error on line 6 of /etc/httpd/conf.d/php.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: ap_block_alarms


What's happpening???

Thanks to all ...

planetsim
12-24-2002, 03:18 PM
Well ive never done anything in the Apache Language. So i dont know if anyone can help you. First time ive seen anyone actually try