Easyphp 16.1.1 How do I switch to PHP 7 form PHP 5.6

6.7k views Asked by At

I just installed Easyphp 16.1.1. It defaults to PHP version 5.6.19. I would like to you PHP 7. They are both listed as options, but I haven't been able to find a way to switch versions. Is there a way to change versions?

4

There are 4 answers

2
Claudiu On

If you have the PHP7 folder inside EasyPphp\eds-binaries\php\ and can't start the server after you've selected the php7 from the list you probably dont't have the right Visual C++ Redistributable.

For PHP7 you need Microsoft Visual C++ 2015 Redistributable; you can find it here: https://www.microsoft.com/en-us/download/details.aspx?id=48145 (install both x64 and x86 versions).

1
EL-HADI Ayoub On

You can easily go to the Dashboard

http://localhost:1111

'Applications' > 'HTTP Server' > 'Apache' > press 'STOP' (if it's started) > choose the 'PHP version' value > press 'start' , enjoy !

3
IndyGeorgios On

You can go to \eds-binaries\httpserver\apachexxxx*\conf\, find httpd-php.conf, keep a backup for safety and then edit it and change the php5xxx paths to the php7xxx ones --check the proper folders to see what they are called.

* (whatever version of apache you have, navigate through windows to be sure)

0
GAHiebert On

In Dashboard under applications, you add the version of PHP you need. Then choose HTTP Server and your version of Apache, in the dropdown for PHP version choose the version of PHP you just added.