Home > Backend Development > PHP Tutorial > 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?

不言
Release: 2023-03-01 07:22:02
Original
18347 people have browsed 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 应用程序。
Copy after login
Copy after login

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 应用程序。
Copy after login
Copy after login

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

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template