October 11, 2003
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.

Posted by: Jarle on October 11, 2003 11:05 PM

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.

Posted by: Mario on October 11, 2003 11:31 PM

You have discovered the spirit of linux.
You already love it. You just don't know it, yet. :-)

Posted by: Penguin Advocatio on October 12, 2003 05:08 AM

I've also found that restart isn't the same as a start and stop. But I've only ever used apache on windows.

Posted by: Bezzer on October 12, 2003 09:01 AM
Post a comment

Email Address:



Remember info?

Thank you!

Most Visited Entries
Sketches, Works & Source Code
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german

My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman

profile for Quasimondo at Stack Overflow, Q&A for professional and enthusiast programmers