Re: Version 4.2.0 - phpinfo() shows the old build information after rebuild

From: Date: Mon, 20 May 2002 13:54:24 +0000
Subject: Re: Version 4.2.0 - phpinfo() shows the old build information after rebuild
References: 1  Groups: php.install php.qa 
Request: Send a blank email to php-install+get-7048@lists.php.net to get a copy of this message
At 22:12 19-5-2002, Deniz shared with all of us:
./configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apache _1.3.24 --enable-track-vars
[snip]
:run configure with new options ./configure --with-mysql --with-xml --with-imap=/usr/local/imap-2001a/c-cli ent --enable-sockets --enable-track-vars --with-apxs=/usr/local/apache/bin/a pxs
Apxs now?
:run httpd -l to double check /usr/local/apache/bin# ./httpd -l Compiled-in modules:
Notice: compiled-in! [snip]
mod_php4.c
Which is logical. The apache binary has been configured, with a static php before, so php is in there already. You need to rebuild apache, without php (ie, remove --activate-module=src/modules/libphp4.a from the configure line, of the old source tree), make sure you have --enable-module=so in there, then rebuild apache, make, make install. After that, you can configure php as you've done. Make sure: LoadModule and AddModule statements are added for php in conf/httpd.conf. Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua Webmaster

« previous php.install (#7048) next »