Re: Version 4.2.0 - phpinfo() shows the old build information after rebuild
| From: | Deniz | Date: | Sat, 25 May 2002 18:36:59 +0000 |
| Subject: | Re: Version 4.2.0 - phpinfo() shows the old build information after rebuild | ||
| References: | 1 2 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-5445@lists.php.net to get a copy of this message | ||
Melvin Thanks,
Actually I was thinking the same thing you have said. Since
I am very new to unix env. I followed a documentation when I am installing
all those with the idea that I was installing php as a dynamic module to
Apache. that's why I never thought of it before. And obviously my lack of
necessary knowledge stops me seeing the error even if I am looking right at
it.
I cleaned everything and did the installations the way they were supposed to
be!
After a loong reading session :)
Thanks for the advice.
-d
"Melvyn Sopacua" <msopacua@idg.nl> wrote in message
news:5.1.0.14.2.20020520154759.047c0908@62.250.13.20...
> At 22:12 19-5-2002, Deniz shared with all of us:
>
>
>./configure --with-mysql=/usr/local/mysql --with-xml --with-apache=../apach
e
> >_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
>