Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,

i would like to ask how to upgrade the php version 5.1.4(i got from winlamp, http://winlamp.sourceforge.net/, where it is installed with apache ) to the newest version since i need to create a web apps that need the upgrade php version such as 5.3 and above

i have try upgrade it by referring to this link: http://www.sitepoint.com/how-to-install-php-on-windows/

still cannot upgrade it. Can anyone guide me?
Posted

1 solution

You have two options:
1. Install a fresh copy of PHP and make httpd.conf to point to it
2. You can also extract the new PHP files to your original folder - keep you ini file! In this case you can use php -m command line to see which extensions are no longer working an upgrade only them...
In both cases Apache restart IS required!!!
 
Share this answer
 
Comments
_nurhan 6-Aug-14 2:31am    
for option 1,i done changing the "Directory" line in httpd.conf, is it?
Kornfeld Eliyahu Peter 6-Aug-14 2:45am    
Somewhere in the httpd.conf there is a line like this:
PHPIniDir "C:/php"
Change it!
_nurhan 6-Aug-14 3:58am    
done that. even done restart the apache. but then, when i'm typing the word "localhost" at browser ofter restart apache, the page load and white blank page is just appear.. is it wrong? do i need to create new index.php?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900