PHP Upgrade-need to down apache?

Reply

Join Date: Aug 2006
Posts: 999
Reputation: EnderX is an unknown quantity at this point 
Solved Threads: 1
EnderX EnderX is offline Offline
Posting Shark

PHP Upgrade-need to down apache?

 
0
  #1
Oct 27th, 2006
I've been requested to upgrade php on a number of systems. Currently, they are running version 4.3.4, and the most recent upgrade on the php.net site was version 5.1.6. I've never done this before, and have little clue what I'm supposed to be doing. I'm hoping that once I get it figured out for one system, I can upgrade the others with the same instructions without much trouble. (Hope-hope-hope)

First question: As far as I can tell, the systems in question are running the Apache2 webserver. Will I need to down Apache before I upgrade PHP, or should I leave it running?

More questions to come, no doubt.

Thanks in advance,
-EnderX
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: PHP Upgrade-need to down apache?

 
0
  #2
Oct 27th, 2006
Do you have a test environment you can test first? Save your php.ini file where you can get it, and walk through and make the changes to the php.ini file that comes with PHP5. They're not exactly the same, so you can't transfer one to the other.

I've done it on EasyPHP, it was a matter of copying the files over and updating the php.ini file. This might not be the cleanest way to do it, but it works.

You'll want to look at some of the things that were changed in PHP5. MySQL is no longer compiled in with PHP, magic quotes is OFF by default and a few other things.
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Join Date: Aug 2006
Posts: 999
Reputation: EnderX is an unknown quantity at this point 
Solved Threads: 1
EnderX EnderX is offline Offline
Posting Shark

Re: PHP Upgrade-need to down apache?

 
0
  #3
Oct 30th, 2006
Thank you for your assistance.

I am now trying to follow up the last instructions in the Install directions that came with the php download. Instruction 15 involves telling apache what files to recognize as php; I'm assuming that the commands that follow would be included in the .conf file for apache, since that's where the previous commands went. The command in question (15) reads as "AddType application/x-httpd-php .php .phtml". Am I correct in assuming this goes in the apache .conf file? If so, where in the file, and if not, where does the command need to be entered?

Thank you again,
-EnderX
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 494
Reputation: Puckdropper is an unknown quantity at this point 
Solved Threads: 21
Puckdropper Puckdropper is offline Offline
Posting Pro in Training

Re: PHP Upgrade-need to down apache?

 
0
  #4
Oct 30th, 2006
Look around in the file and do as they do. That's what I usually do when I go to do what you are doing when I go to do it. ;-)
www.uncreativelabs.net

Old computers are getting to be a lost art. Here at Uncreative Labs, we still enjoy using the old computers. Sometimes we want to see how far a particular system can go, other times we use a stock system to remind ourselves of what we once had.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC