Answer the question
In order to leave comments, you need to log in
Why won't php.exe OpenServer start?
php.exe does not start in OpenServer gives the following errors
, what could be the reason?
PS I'm trying to install composer or yii. Alternative installation methods, such as through the openserver console, etc., are not offered. You just need to run the php.exe file. Help me please. Thank you.
Answer the question
In order to leave comments, you need to log in
I solved the problem myself like this:
- Click on the OpenServer->Advanced->Configurations->PHP-5.6 checkbox
- Or follow the path C:\OpenServer\userdata\config\PHP-5.6_php.ini
Both actions above edit 1 and the same file.
Comment out the line by prefixing it with a ";" like this:
Reboot the server.
And then install Composer without errors.
Further works in any console.
The problem is incorrectly written paths (poor php.ini settings).
By the way, your OpenServer is from the distant past, and the PHP version is not supported in it for a long time: php.net/supported-versions.php
Either update it or use alternatives.
Better use vagrant.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question