S
S
sugarufc2015-09-15 22:46:07
PHP
sugarufc, 2015-09-15 22:46:07

Why won't php.exe OpenServer start?

php.exe does not start in OpenServer gives the following errors
b429e5b9ef904834b9de9dbbb838f67f.jpg1e560b1950504394be82fd66557235af.jpg
, 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

2 answer(s)
D
Dmitry ProZhar, 2015-09-27
@sugarufc

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.

O
OnYourLips, 2015-09-15
@OnYourLips

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 question

Ask a Question

731 491 924 answers to any question