Using PHP 7 with WAMP

三世轮回 提交于 2019-11-30 18:49:17

On windows, click on wamp php, versions,then select your version

tyd01

There is the answer :

I was running with the last official wampserver which seems to be not compatible with php7 (I have made some tests on 4 computers with the same result of my problem).

One of my colleague give me this link: http://forum.wampserver.com/read.php?1,126455 with some tutorials to update wampserver to unofficial new versions. Following this indications I have updated folders wamp/scripts and wamp/lang. After that apache start normally using php 7.

PS : it seems to be some errors with certain php functions. One more fix is to update some other wampserver files, the details are on the link up. But for the moment I haven't got this errors.

Thank you to all the people who are coming on this page and giving me some help.

I hope in the future some other developers will found answers here.

I just fix the same error earlier. All links are from the french wampserver forum, maybe the same links can be find in english.

First, follow all steps that are discribed here (otomatic's response, it works fine for me with the php7.0.0 release) : http://forum.wampserver.com/read.php?1,133587,133587#msg-133618

care about to update your wampserver version following these steps : (if you don't run a 3.0 wampserver ) http://forum.wampserver.com/read.php?1,126455

Don't forget to install all packages at step 20 (both x86 and x64) in the wampserver forum's CONSEILS DE DEPANNAGE section: forum.wampserver.com/read.php?1,88043

After that, some symbolic's links can be missing with a php7 dll. So, you have to add some lines in wamp/scripts/config.inc.php (view otomatic's #msg-135093 in the first link) : forum.wampserver.com/read.php?1,133587,133587#msg-133618

I hope that could help you.

I found out the trick for the Version 3.0 + LEFT click (instead right click) to the Wamp icon tray e choose the PHP Version.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!