Home > Article > Backend Development > CreateProcess error=193, %1 is not a valid Win32 application. How to solve it?
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
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