Upgrading PHP in Local Server

6 replies
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
#local #php #server #upgrading #xampp
  • Profile picture of the author fulfilledlife
    Why not to upgrade the xampp itself? From what I can see on their official website it has latest php version.
    Signature

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

    {{ DiscussionBoard.errors[10847878].message }}
  • Profile picture of the author TaxMaster
    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.
    {{ DiscussionBoard.errors[10848004].message }}
    • Profile picture of the author fulfilledlife
      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.
      Signature

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

      {{ DiscussionBoard.errors[10849179].message }}
  • Profile picture of the author Ekushey
    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.
    Signature

    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.

    {{ DiscussionBoard.errors[10848170].message }}
  • Profile picture of the author Qquamrul
    Why are not upgrading your XAMPP server? Upgrade your xampp and enjoy updated PHP
    {{ DiscussionBoard.errors[10854398].message }}
  • Profile picture of the author sunsetcoder
    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
    {{ DiscussionBoard.errors[10855983].message }}

Trending Topics