Re: Recompile PHP not recognizing new Install
| From: | Jason Wong | Date: | Thu, 31 Jan 2002 15:20:09 +0000 |
| Subject: | Re: Recompile PHP not recognizing new Install | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82946@lists.php.net to get a copy of this message | ||
On Thursday 31 January 2002 23:02, Sander, Ryan wrote:
> I'm trying to upgrade from php-4.0.6 to php-4.1.1 . Here are the steps I'm
> taking.
>
> 1. Download php-4.1.1.tar.gz to /www/root
>
> 2. gunzip php-4.1.1.tar.gz
>
> 3. tar xvf php-4.1.1tar
>
> 4. /www/bin/apachectl stop
>
> 5. cd php-4.1.1
>
> 6. rm config.cache
>
> 7. ./configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.14
> --enable-track-vars --disable-debug --enable-ftp
>
> 8. make clean
>
> 9. make install
>
> 10. cp php.ini-dist /usr/local/lib/php.ini
>
> 11. /www/bin/apachectl start (reboot machine also didn't seem to matter
> either way)
>
> The problem is that I check phpinfo() and it still shows that 4.0.6 is
> installed
>
> If anyone has any idea, it would be greatly appreciated.
You need to check where your 4.1.1 is installed. Then check where apache
thinks php lives. Do they correspond?
Apache needs to load the php4_module --> libphp4.so
do a:
find / -name libphp4.so
to see what turns up.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Modesty:
The gentle art of enhancing your charm by pretending not to be
aware of it.
-- Oliver Herford
*/