| | |
PHP Upgrade-need to down apache?
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2006
Posts: 999
Reputation:
Solved Threads: 1
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
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
•
•
Join Date: Jul 2004
Posts: 494
Reputation:
Solved Threads: 21
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.
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.
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.
•
•
Join Date: Aug 2006
Posts: 999
Reputation:
Solved Threads: 1
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
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
•
•
Join Date: Jul 2004
Posts: 494
Reputation:
Solved Threads: 21
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.
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.
![]() |
Similar Threads
- Apache (Linux Servers and Apache)
- How do I install Apache, MySQL, PHP on Linux? (PHP)
- [JOB] Web Developer - Linux, Apache, MySQL, PHP | D.C. (Web Development Job Offers)
- How to test PHP code in offline in Linux + Apache 2 (PHP)
- Integrating Apache with PHP and MySQL (Linux Servers and Apache)
Other Threads in the PHP Forum
- Previous Thread: PHP converter
- Next Thread: PHP parsing error, unexpected '<'
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array autosuggest beginner binary broken cakephp checkbox class cms code cron curl database date directory display download dynamic echo email emptydisplayvalue error explodefunction file files folder form forms function functions google hack href htaccess html image include insert integration ip java javascript joomla keywords limit link login loop mail menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search searchbox select server sessions sms soap source space speed sql structure syntax system table tutorial update upload url validation validator variable video web website xml youtube





