Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How do I install latest versions of PHP as Apache 2 module?
PHPIniDir directive throws error.
And what's more important, there's no php5apache2.dll file or similar in latest distributions of PHP!
Example distr php 5.3
According to the PHP QA site, if you are using PHP with Apache 1 or Apache2 then you need to be using the VC6 release candidates, not the VC9. VC9 is for use with IIS.
Since the link you provided in your question goes to a VC9 download, I would assume that's what you downloaded, and I'd say you should go download the VC6 version instead.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have WampServer 1.6.1.33 and I want to add a php 5.3 version on it.
How I can do it. And where can I find the files?
I got 5.5 and 5.6 and 7 files but did not find 5.3.
Download the php version binaries you want from php.net, then extract the files in C:/wamp/bin/php/php5.3/, add the wampserver.conf file to this folder (you can copy it from the others php versions folders), then rename php.ini-development file to phpForApache.ini and restart the server
A similar question was answered here.
They are on the windows.php.net site under the archives. Also a GUIDE ON INSTALLING IT is here.
You are using an old version of wampserver.
Use this link:
https://kostasbariotis.com/multiple-php-versions-on-wampserver/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am looking to download WAMP a friend of mine said with WAMP you can switch PHP versions. I went to the WAMP download page http://www.wampserver.com/en/ and clicked on PHP addons and there is a list of PHP versions but it will only let me select one. By downloading WAMP this way, Am I just selecting which PHP version I want as the extra PHP version to switch too?
Yes, basically.
From their site:
"You will then be able to switch from one release to another from the
WampServer menu."
Download one of the WAMP versions lets say wampserver 2.2 with whatever version of APache/MySQL/PHP that contains.
Install that.
Then you can add PHP versions using the ADDON of whatever PHP version you want to be using.
Theere is an option on the wampmanager -> PHP -> Version - More
that will take you to the ADDONS automatically.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I just started working with php so I don't have any idea what is involved with upgrades. Currently, I'm working with php 5.3, and would like to move to 5.4. How is this done? Is it just a simple installation of 5.4 ? Will this break code written in 5.3?
Migrating from PHP 5.3.x to PHP 5.4.x is the info regarding such upgrade.
Especially have a look into Backward Incompatible Changes section. Some functions were removed in PHP 5.4 and if your PHP 5.3 code is using them, you will get errors. For example, session_register() function does not exist in PHP 5.4
It depends which Linux distro. you are using.
You could try:
yum update php
Or:
sudo apt-get install php5-cgi php5-cli
I highly recommend you test your code on 5.4 before upgrading any live server as mostly likely there might be some breaking differences (as normal with most PHP upgrades).
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I have Windows 2003 Webserver with Apache 2.2.23 and php 5.3.18 VC9 ts on the boart. When I add php_apc 3.1.9 extension, it works over an hour and shuts down Apache. I can only restart apache with stop and start buttons on Apache Monitor, because restart button popups error message and fails Apache. New beta versions of apc don't work, neither does older. Maybe new version of php conflicts with apc? I have no other idea.
Most often reason to happen such error is if you have PHP Thread safe and you trying to set not tread safe extension or opposite...
Get both thread safe and non thread safe apc extensions and try to run your apache with each of them..
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
i have installed Apache 2.2.x but when i turned to instal PHP V5.2.17 i didn't find the apache 2.2.x radio button in the web server setup step !! only the fast CGI,other CGI and don't install a web server radio buttons is appearing, what i can do ??
I suspect you're talking about windows. Lining up a proper build of apache, php module, etc is a bit of a pain, so unless it's for production, I suggest using WampServer or XAMPP.
Otherwise, the PHP modules are here if you really want to roll your own. Remember to match the PHP and Apache runtimes and word-size (32 or 64 bit).