After updation Wamp Server 3.1.4 showing error

后端 未结 1 927
时光取名叫无心
时光取名叫无心 2021-01-23 10:54

I just updated Wamp Server 3.1.4. Now Wamp shows error in context menu , that when clicked shows this message:

Sorry,

There is an error.

1条回答
  •  粉色の甜心
    2021-01-23 11:51

    There is no reason to add the PHP folder to the Windows PATH when using WAMPServer. In fact you should not do that at all, this error is telling you that.

    WAMPServer will configure the correct PHP to use within Apache when you change PHP versions using the wampmanager icon in the system tray.

    Remove F:\wamp64\bin\php\php7.0.10 from the Windows PATH and the error will go away.

    The reason is of course because you could have more than one version of PHP installed within WAMPServer.

    If you want to run the PHP CLI from a command windows you should create yourself a little batch file like suggested in this answer https://stackoverflow.com/a/16289254/2310830

    0 讨论(0)
提交回复
热议问题