Wampserver not changing the PHP version for WEB (not CLI)

前端 未结 3 1912
忘掉有多难
忘掉有多难 2021-01-27 21:53

I have WampServer Version 3.1.4 64bit installed on Windows 7 and it comes with PHP versions php5.6.38, php7.0.32, php7.1.22, and php7.2.10. I would like to use php5.6.x rather t

3条回答
  •  温柔的废话
    2021-01-27 21:53

    (TL:DR) Use left click -(instead of right click)- menu to change PHP versions.

    (Long explanation) Hi, this happened to me today. I was trying to change the php version from 7.2 to 5.6 to test something. However, Wampserver was not changing the web version of php. After much searching in the web and noticing in certain videos that some people were getting a different menu than me in the wamp server icon, I realised that there is a whole left click menu in wampserver in which you can change the php version and it does change the web version of php.

    I understand that this can be a bit confusing for people who are used to using wampserver, but for someone who is using it for the first time, we are not used to having a left click menu in the bottom right icons. I hope this saves some time for others who have a similar issue than mine.

提交回复
热议问题