Re: Upgrading to 4.04 question, but won't stick

From: Date: Sun, 21 Jan 2001 22:41:22 +0000
Subject: Re: Upgrading to 4.04 question, but won't stick
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-35927@lists.php.net to get a copy of this message
> We've had 4.01 running since July so I thought I'd upgrade to 4.04 from the > tarball last night. Everything went fine w/ the compile, no errors. Install > said all OK, Then i went and HUP'd apache but when I run phpinfo() the old > module is still loaded. > > What am I doing wrong? Where should I look to solve my problem. When I look > in the /modules/ directory the dates on the new modules are yesterday, so > they've all moved correctly, etc. I intentionally tried to break the > phpmodule to see which one I'm actually using by changing the name of the > file but that didn't work. You renamed the library and restarted the server and it still came up with 4.0.1? If so, you are doing something dumb. Like perhaps you compiled 4.0.1 statically into your httpd. Check this by doing "httpd -l". If you see php listed you know it was compiled statically into your binary. If it isn't static, go look at your LoadModule line in your httpd.conf and see where it is loading the module from. Make sure this is pointing at this new module you built. Also make sure that the web server you restarted is the right one. I have seen many people who install Apache and PHP without realizing that they already have an Apache instance on their server. And when they do an apachectl restart the apachectl script actually restarts the wrong server on them. -Rasmus

« previous php.general (#35927) next »