Compiling PHP Woes
As the owner of a dedicated root server I had no other choice but to get used to talking to my machine via the TELNET console and of course to get accustomed to LINUX. Well - making the mistake once to install a "quick" 5 minute upgrade to mySQL which as a consequence led to a night-and-day session of recompiling about 10 different other programs on my machine that used this mySQL helps you to learn fast.
Okay I'm writing this, because I just had another one of these releveations which cost me a few hours: whenever you upgrade or recompile PHP with new modules make sure that you use "apachectl stop" then "apachectl start" in order to make Apache use the new version of PHP and not the old one. A simple "apachectl restart" WILL NOT DO IT!
Posted at October 11, 2003 08:43 PM | Further reading
Thats strange. Which distribution? Linux ~= Linux you know.
While I haven't seen the scripts used for restart on the system you are using, I am used to using "service servicename restart" on earlier versions of Redhat Linux, and that script actually performs the same steps as the stop and start scripts.
It's SUSE Linux, I guess its one of the latest distributions. The problem is that I only noticed it after lot's of different approaches when the PHP version number in phpinfo() didn't change after I installed the latest PHP release candidate. I tried several "restarts" with no effect. After "stop" and "start" - bingo! Perhaps it's just my machine, but as my experience shows when I combed the web during several linux installation/compilation problems - there is always someone out there who has or had the same problem as you - and normally it's really only one person. So perhaps my post finally can help this one other person out there who ended up at the same cliff as me.
Congrats.
You have discovered the spirit of linux.
You already love it. You just don't know it, yet. :-)
I've also found that restart isn't the same as a start and stop. But I've only ever used apache on windows.