Softaculous Ampps 3.8 Apache not starting if i change PHP version to 7.1

别说谁变了你拦得住时间么 提交于 2019-12-06 05:12:31

Its solved by disabling Ioncube loader extension for me, Thanks for all replies

Try changing the php version used by AMPPS by following their guide here -> http://www.ampps.com/wiki/How_to_change_php_version

In the AMPPS control panel, select options and then select change php version. The changed version should now be displayed in the control panel.

I know this is 4 months old, but I have had significant problems with PHP on windows and today I got this problem fixed.

AMPPS - It won’t run PHP 7.1 with out changing the executables to run as administrator mode. Apache will terminate without an error. I believe this is because even if AMPPS is running in admin priviledges these are not granted to the php.exe when it is run. Go to the file location of php.exe, right click and click on properties, click the compatibility tab and select the check box for ‘run as administrator’. Do the same for the httpd.exe under apache->bin->httpd.exe. (Not sure if the httpd priviledge change matters but I did it and it worked.)

Run AMPPS and hopefully like me, your php/apache problems are gone.

i solved mine following steps below:

i switched PHP version to 5.6 which everything works normally, then went to this URL:

http://localhost/ampps/index.php?

there i found some updates available notification on top of the page below url bar on the page if you see updates available for your php 7.0 7.1 ... 90% you will resolve this issue like mine i tried update all available updates

then restart the ampps app now working with PHP 7.1 great.

i hope it works for you as well.

A bit late but since i've been using Ampps for 5 years , i provide similar solutions for my common errors maybe someone find it useful .

  • If you changed Document Root path in "httpd.conf" , make sure that folder still exists.

  • If you see the logs about InnoDB files, follow the path and delete that dump files and logs.

  • If you got this error "master_main: create child process failed" in log files :

    Change PHP version to 7.1 and Try this:

    Open AMPPS panel --> PHP --> Configuration.

    Search for the following line and comment it by adding ';' at the beginning of the line: zend_extension="{$path}\php-7.1\ioncube_loader_win_7.1.dll"

Try run httpd.exe with as administrator and it worked.

C:\Program Files (x86)\Ampps\apache\bin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!