What to do if php cli stops working

藏色散人
Release: 2023-03-14 12:30:02
Original
2352 people have browsed it

Solution to the problem that php cli stops working: 1. Open the php.ini configuration file; 2. Find the Xdebug extension and add a ";" semicolon comment before the extension.

What to do if php cli stops working

#The operating environment of this article: Windows 7 system, PHP version 7.4, Dell G3 computer.

What should I do if the php cli stops working?

CLI has stopped working. Windows is checking the solution to the problem.

When running the php cmd command, the CLI has stopped working error appears as shown below

What to do if php cli stops working

It is said online that there is a problem with the php.ini configuration file.

It may be a problem with extension loading. Find the third-party extension and comment it out and try it.

I got an error The reason is that the Xdebug extension

[Xdebug]
;zend_extension="C:/php5-x86/ext/php_xdebug-2.2.5-5.5-vc11.dll"
;xdebug.auto_trace=1
;xdebug.collect_params=1
;xdebug.collect_return=1
;xdebug.trace_output_dir="C:/php5-x86/log"
;xdebug.profiler_enable=1
;xdebug.profiler_output_dir="C:/php5-x86/log"
Copy after login

is used and can be used by adding; before commenting it out.

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of What to do if php cli stops working. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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