AussiePHoenix
AussiePHoenix

Reputation: 51

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

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?

Upvotes: 4

Views: 7300

Answers (4)

GAHiebert
GAHiebert

Reputation: 36

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.

Upvotes: 1

EL-HADI Ayoub
EL-HADI Ayoub

Reputation: 51

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 !

Upvotes: 4

IndyGeorgios
IndyGeorgios

Reputation: 19

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)

Upvotes: 1

Claudiu
Claudiu

Reputation: 4109

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).

Upvotes: 2

Related Questions