Home  >  Article  >  Backend Development  >  CreateProcess error=193, %1 is not a valid Win32 application. How to solve it?

CreateProcess error=193, %1 is not a valid Win32 application. How to solve it?

不言
不言Original
2018-05-17 14:22:2218201browse


phpstorm configured phpunit, ran the test file, and then reported the following error:

Cannot run program "C:\wamp64\bin\php\php7.0.0\php.ini" (in directory "C:\wamp64\www\aj_report\application\models"): CreateProcess error=193, %1 不是有效的 Win32 应用程序。

Please answer
I found the answer myself. The configuration is wrong: the interpreter should guide the path of php.exe

Reply content:

phpstorm is configured phpunit, run the test file, and then the error is reported as follows:

Cannot run program "C:\wamp64\bin\php\php7.0.0\php.ini" (in directory "C:\wamp64\www\aj_report\application\models"): CreateProcess error=193, %1 不是有效的 Win32 应用程序。

Please answer
I found the answer myself. The configuration is wrong: the interpreter should guide the path of php.exe

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn