Answer the question
In order to leave comments, you need to log in
PHP does not work in CLI mode. How to determine the cause?
Installed php as apache module. Everything works great.
But if I try to use php in CLI mode, it doesn't start. It just crashes on startup.
OS: Windows 7 (32-bit)
PHP version: 5.2.17 VC6 x86 Thread Safe
Option to turn off extensions - tried it. Does not help.
UPD. The reason was that the process was running as a normal user, not an administrator. The system soaked him right there, without notifying anything.
Answer the question
In order to leave comments, you need to log in
does he silently take off?
And what exactly is meant by "takes off"?
Agree with Alex. php -v should say something. If this is a “segmentation fault”, then some extension is not working.
Did you install PHP from scratch? Or from some assembly?
Just in case, you can put .ini:
display_startup_errors = On
log_errors = On
error_log = php_errors.log
suddenly write something to the log.
On another operating system, it runs smoothly. On this stupidly the exe file falls out, php.ini does not even have time to be read. Moreover, this is the version of PHP
If a person needs help, he tries to give the helpers as much information about the problem as possible.
If a person does not need help, he solves the problem on his own, without involving anyone in this process.
If telepaths act as assistants, then combinations are possible.
Attention, question!
Nikita, do you need help or are you able to solve the problem yourself?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question