Re: Apache upgrade breaks php

From: Date: Wed, 20 Dec 2000 14:53:46 +0000
Subject: Re: Apache upgrade breaks php
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-1298@lists.php.net to get a copy of this message
Hi, You need to add a LoadModule line to httpd.conf, here is the appropriate section of my httpd.conf: LoadModule jk_module libexec/mod_jk.so
LoadModule perl_module        libexec/libperl.so
LoadModule php4_module        libexec/libphp4.so
AddModule mod_jk.c AddModule mod_perl.c AddModule mod_php4.c JkWorkersFile /www/Tomcat/Tomcat/conf/workers.properties JkLogFile /usr/local/apache/logs/mod_jk.log JkLogLevel warn JkMount /*.jsp chrisworker ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/ AddType application/x-httpd-php .php Ignoring the bits for loading and configuring mod_jk and mod_perl, the important lines are the ones to do with PHP.
You must change the "LoadModule php4_module        libexec/libphp4.so" line so it points at the place where your module is stored, usually apache's libexec directory, but you may have changed, and remember the AddType line......
C.Davies At 05:23 PM 12/19/00 -0800, you wrote:
and now when I try to restart apache I get: Syntax error on line 280 of /usr/local/etc/apache/httpd.conf: Cannot add module via name 'mod_php4.c': not in list of loaded modules /usr/local/sbin/apachectl start: httpd could not be started


« previous php.install (#1298) next »