Cannot run php files after installing code runner
安超
安超 2022-09-23 15:05:15
0
4
2006

The code runner installation is completed, but the php file cannot be run, as shown in the prompt.code runner error-1.jpg

安超
安超

reply all(3)
安超

When debugging php, the code is garbled. Even changing the UTF-8 below will not work.

安超

After the modification, it can be debugged, but the code is garbled. [Running] php "d:\temp\temp\test.php" 'php' ���������ļ��� [Done] exited with code=1 in 0.187 seconds

王林

Edit and configure the php path in setting.json, for example:

"php.validate.executablePath":

"D:/phpstudy_pro/Extensions/php/php7.3.4nts/ php.exe"

  • reply There is still garbled code: [Running] php "d:\temp\temp\temp.php" 'php' ���������ļ��� [Done] exited with code=1 in 0.145 seconds
    安超 author 2022-10-12 02:21:13
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!