- Back up your data folders and virtual hosts file (assuming that XAMPP is installed in root):
- C:\xampp\htdocs
- C:\xampp\mysql\data
- C:\xampp\apache\conf\extra\httpd-vhosts.conf
- It may be worth making a backup of your php.ini file too, just to check that you have the same configuration - although, don't just blindly use the old version as there may be differences.
- Once you've backed up all the important stuff, uninstall XAMPP. XAMPP comes with its own uninstaller, so use that. It may ask you if you need to keep htdocs and mysql data, but you can now safely answer no to those.
- Once uninstalled, hop over to the XAMPP site and download the version of your choice.
- Install XAMPP and copy over the htdocs and mysql data files to the new directories and then reinstate your virtual hosts in the httpd-vhosts.conf file. Ensure that the paths in that file are the same as the new installation. For example:
NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs" ServerName localhost </VirtualHost> <VirtualHost *:80> DocumentRoot "C:/xampp/htdocs/grapenun" ServerName grapenun.local <Directory "C:/xampp/htdocs/grapenun"> Order allow,deny Allow from all </Directory> </VirtualHost>
If your new xampp installation is not at C:/xampp/, then you'll need to change all the references in the file. - Fire up the XAMPP control panel - it may look different to the old panel - and start Apache and MySQL. Be patient - Apache sometimes has a little think about it before telling you it's started!
Pages
▼
20 Jan 2013
Updating to a new Version of PHP in XAMPP (Windows)
Still working on on old version of pHp, due to an old install of XAMPP? Hmm, I was too until I realised that some functions just didn't work. In my case it was the DateTime object and its failure to calculate the difference in the number of days between two dates. On further investigation, I realised that I had to have the VC9 build as opposed to the old and knackered VC6. Okay, armed with that info I sought to update pHp. Hmm (again) - didn't seem to be an easy way to do it, although I found a few references, it all looked a bit daunting. I didn't want to get caught up with pHp's binaries, so a I was looking at a fresh install of XAMPP. This actually proved to be far less of a problem than I thought, although it did take a little while. Here goes:
I don't think it should be in order according to month, that's too kitschy.
ReplyDeleteThanks for sharing with us your wisdom.This will absolutely going to help me in my projects .
ReplyDeletePHP Training in Chennai
PHP Training Institute in Chennai
I am really happy with your blog because your article is very unique and powerful for new reader.
ReplyDeleteClick here:
Selenium Training in Chennai | Selenium Training in Bangalore | Selenium Training in Pune | Selenium Training in Chennai
Hey, would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would enjoy your content. Please let me know. Thank you.
ReplyDeleteAzure Training in Chennai | Best Azure Training Institute in Chennai
Salesforce Training in Chennai | Best Salesforce Training Institute in Chennai
PowerBI Training in Chennai | Best PowerBI Training Institute in Chennai
MSBI Training in Chennai | Best MSBI Training Institute in Chennai
Java Training in Chennai | Best Java Training Institute in Chennai
Software Testing Training in Chennai | Best Software Testing Training Institute in Chennai
I am really happy with your blog because your article is very unique and powerful for new reader.
ReplyDeleteoracle training in chennai
oracle training in omr
oracle dba training in chennai
oracle dba training in omr
ccna training in chennai
ccna training in omr
seo training in chennai
seo training in omr
Success Write content success. Thanks.
ReplyDeletedeneme bonusu
betturkey
kralbet
betmatik
canlı poker siteleri
canlı slot siteleri
kıbrıs bahis siteleri
Good content. You write beautiful things.
ReplyDeletehacklink
korsan taksi
taksi
vbet
hacklink
sportsbet
vbet
mrbahis
mrbahis
amasya
ReplyDeleteantakya
edirne
elazığ
kayseri
2AL
amasya
ReplyDeletetokat
samsun
yozgat
zonguldak
7BV1Z
salt likit
ReplyDeletesalt likit
dr mood likit
big boss likit
dl likit
dark likit
6EAO
salt likit
ReplyDeletesalt likit
HW0SP
Common Mistakes to Avoid When Assigning Variables in Python
ReplyDeleteTop 10 Angular Project Ideas for Beginners
ReplyDelete