I didnt get the desired result with wampserver in the – Stack Overflow, I am using wamp server 2.0 on windows XP with PHP version 5.2.5 when I am using the following code. Aug 14, 2014 Hi, I am running: Windows 7 64bit Wampserver 2.1 Apache 2.2.17 Php 5.3.4 MySql 5.1.53 This has all be running fine for ages however i need to test some php scripts locally to run on 5.2.17 so needed to add another php version to WampServer.
- Now that you have successfully installed both Apache Webserver and php scripting language your next most important task is to configure them so that they can recognize each other.
- Go to your apache installation path, and then open httpd.conf which is located under the conf directory “C:Program Filesapacheconf” double click on httpd.conf file. Find (ctrl+F) 'loadmodule'. After the last line of the loadmodule section type: LoadModule php5_module C:/Program Files/php/php5apache2_2.dll
- After you have done look for <IfModule mime_module> and then add the following lines
- AddType application/x-httpd-php .php
- AddType application/x-httpd-php-source .phps
- Before the closing statement </IfModule> for mime_module
- After that on the same page find <IfModule dir_module> and then add DirectoryIndex index.html and index.php before </IfModule> if it already does not exists.
- Add the following line “PHPIniDir “C:/Program Files/php” to the bottom of the file.
- After you have done that save the file and close it.
I followed this procedure https://john-dugan.com/upgrade-php-wamp/to upgrade from PHP 5.5 to 5.6.30 and restarted WAMP but the icon is staying yellow.No errors in logs.
I suspect step 12, where it has you update a dozen or so lines in php.ini. Things is, I made no updates because they were already made in step 5. All the other changes it tells me to do are already specified, since this is a duplcate of my 5.5 ini. (maybe this is because the differnece between 5.5 and 5.6 is very small compared to the 5.3 he's using as an example in the tutorial).
Anyway, I've no idea how to troubleshoot what's wrong with WAMP since both apache and php error longs are not reporting anything. (I wiped them first, to have a clear log, but restarting WAMP has not appended anything).
(One caveat: I was not actively using PHP before this, so I have no verification that the 5.5 from which this was upgraded was fully functional.)
Compatibility – Operating System (OS) Windows 8.1 / Windows 8.1 (x64) / Windows 8 / Windows 8 (x64) / Windows 7 / Windows 7 (x64) / Windows Vista / Windows Vista (x64) / Windows XP / OS X v10.9 / Mac OS X v10.8 / Mac OS X v10.7 / Mac OS X v10.6 / Linux. Setup instruction: Download / Installation Procedures • Click the link, select [ Save ], specify “Save As”, then click [ Save ] to download the file. • The downloaded file will be saved in the specified place in the self-extracting form (.exe format ). Epson tm t82 thermal printer driver. Memo: If you select [ Run ] ( or [ Open ] ) instead of [ Save ], the file will be automatically installed after it is saved.
Search for any references to your old PHP version and replace them with the new PHP version is exatly step.Remenber Exit WAMP entirely!
You also can check this steps:
-- Download binaries on php.net -- Extract all files in a new folder Es: C:/wamp/bin/php/php5.6.31/ -- Copy the wampserver.conf from another php folder (like wamp/bin/php/php5.4/) to the new folder -- Rename php.ini-development file to phpForApache.ini (also in wamp/bin/php/php5.4/) -- Done ! Exit WAMP entirely after restart WampServer (>Right Mouseclick on trayicon >Exit)
Note: You are adding php version 5.6 then you need to copy php5apache2_4.dll from other php folder, too, otherwise the wamp server won't work.