APACHE Crashed, please help, trying to recompile and get online.
I am having big troubles installing apache 1.3.33.What I do:
tar -xzf apache_1.3.33.tar.gz;cd apache*;
./configure --with-layout=Apache --prefix=/usr/local/apache --enable-module=so --enable-module=all --enable-module=alias --enable-module=proxy --enable-shared=max --proxycachedir=/var/cache/httpd --enable-module=headers --enable-module=log_agent --enable-module=log_referer --enable-module=rewrite --enable-module=speling --enable-module=unique_id --enable-module=userdir --enable-module=usertrack --enable-module=vhost_alias --disable-module=auth_db --disable-module=auth_dbm
make
make install
service httpd configtest
root@cdf1 [~/tempo/apache_1.3.33]# service httpd configtest
Syntax error on line 25 of /usr/local/apache/conf/httpd.conf:
API module structure `php4_module' in file /usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO?
Syntax error on line 25 of /usr/local/apache/conf/httpd.conf:
API module structure `php4_module' in file /usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO?
This is the CONFIGURE LINE copied DIRECTLY out of phpinfo() when apache WAS running:
'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--enable-magic-quotes' '--with-mysql=/usr' '--with-openssl' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--with-ttf' '--with-freetype-dir=/usr' '--enable-gd-native-ttf' '--enable-versioning' '--with-xmlrpc' '--with-zlib' '--enable-mbstring=all'
I have php 4.3.11 installed and also zend, LOTS of disabled functions inside of /usr/local/lib/php.ini and 300 website virtual host entries in /usr/local/apache/conf/httpd.conf . How do I get my apache back up and running with all those modules and zend still working please?
I am dead tired and desparate, assistance is really appreciated as I am giving up.