Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 12th Sep 2016, 11:16 AM   #1
Active Warrior
War Room Member
 
Join Date: 2016
Posts: 63
Thanks: 6
Thanked 32 Times in 15 Posts
Default
Upgrading PHP in Local Server
Share on: 
fb share twitter share gplus share more share

I want to upgrade my php to the newest version out for my local server (I'm running xampp) because I wanted to start learning an MVC framework but I have to have a newer version of PHP.

I have looked at a few different tutorials, tried them, and none of them have worked so far.

Anyone know how to do this?

Thanks
TaxMaster is offline  
Unread 12th Sep 2016, 12:12 PM   #2
HyperActive Warrior
 
Join Date: 2014
Location: Canada
Posts: 237
Thanks: 9
Thanked 40 Times in 37 Posts
Default
Re: Upgrading PHP in Local Server
Share on: 
fb share twitter share gplus share more share

Why not to upgrade the xampp itself? From what I can see on their official website it has latest php version.

Try not to become a man of success, but rather try to become a man of value - Albert Einstein

fulfilledlife is offline  
Unread 12th Sep 2016, 02:29 PM   #3
Active Warrior
War Room Member
 
Join Date: 2016
Posts: 63
Thanks: 6
Thanked 32 Times in 15 Posts
Default
Re: Upgrading PHP in Local Server
Share on: 
fb share twitter share gplus share more share

Right that's what I was thinking too but is that going to mess up the sites I have already installed since my local sites are installed under the htdocs folder under xampp? One of the other tutorials mentioned to move all of those site files out, install new xampp, and then move them back in there. I just don't want to lose all of that data. Maybe I'll just try that.
TaxMaster is offline  
Unread 12th Sep 2016, 06:23 PM   #4
IT Consultant
 
Ekushey's Avatar
 
Join Date: 2011
Location: Bangladesh
Posts: 142
Thanks: 11
Thanked 39 Times in 30 Posts
Default
Re: Upgrading PHP in Local Server
Share on: 
fb share twitter share gplus share more share

To be able to use PHP 7.0.9 with XAMPP, you need to update it. It is a six step process:
  1. Backup your website files.
  2. Export your databases.
  3. Uninstall the old version of XAMPP.
  4. Install the new version of XAMPP with PHP 7.0.9.
  5. Adjust PHP settings.
  6. Restore your website files and databases.

I'll solve your PHP, MySQL, WordPress or any website or server related problems.
Hire me on Freelancer.com at an affordable rate with fast turnaround time.
Ekushey is offline  
Unread 13th Sep 2016, 03:04 PM   #5
HyperActive Warrior
 
Join Date: 2014
Location: Canada
Posts: 237
Thanks: 9
Thanked 40 Times in 37 Posts
Default
Re: Upgrading PHP in Local Server
Share on: 
fb share twitter share gplus share more share

Just take a backup of your database and website files. And if you use virtual hosts take apache config file for it too.

Then when you install xampp just restore everything.

Try not to become a man of success, but rather try to become a man of value - Albert Einstein

fulfilledlife is offline  
Unread 18th Sep 2016, 12:17 PM   #6
Warrior Member
 
Join Date: 2012
Posts: 23
Thanks: 5
Thanked 0 Times in 0 Posts
Default
Re: Upgrading PHP in Local Server
Share on: 
fb share twitter share gplus share more share

Why are not upgrading your XAMPP server? Upgrade your xampp and enjoy updated PHP

Qquamrul is offline  
Unread 19th Sep 2016, 10:49 PM   #7
Active Warrior
 
Join Date: 2016
Posts: 57
Thanks: 1
Thanked 11 Times in 10 Posts
Default
Re: Upgrading PHP in Local Server
Share on: 
fb share twitter share gplus share more share

You should reinstall new version of wamp or xamp on your server and you will get new version of php. On local machine you should just reinstall it
sunsetcoder is offline  
Closed Thread


Bookmarks

Tags
local, php, server, upgrading, xampp


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 04:25 PM.