Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Can't start php 7 server



Threaded Mode | Print  

 Can't start php 7 server (7 Replies, Read 18702 times)
piernik
Group: Member
Post Group: Newbie
Posts: 16
Status:
On friday I managed to start php 7 server. But after switching to php 5.5 I can't go back to php 7. No error messages. I click start apache and nothing happens.
With php 5.6 all works as it should.
I tried to restore php config to default - no results.

Can anyone help?
IP: --   

Can't start php 7 server
piernik
Group: Member
Post Group: Newbie
Posts: 16
Status:
I've installed easyPHP with the same result - php 5.6 is working php 7 not.
What can be the cause? How to fix it?
IP: --   

Can't start php 7 server
piernik
Group: Member
Post Group: Newbie
Posts: 16
Status:
I've tried to run php.exe from command line and got that error: No VCRUNTIME140.dll
IP: --   

Can't start php 7 server
piernik
Group: Member
Post Group: Newbie
Posts: 16
Status:
I found solution. Problem was that I didn't have Visual C++ Redistributable for Visual Studio 2015 installed. https://www.microsoft.com/en-us/download/details.aspx?id=48145

But I had to use 32bit version - vc_redist.x86.exe file
IP: --   

Can't start php 7 server
khunglong
Group: Member
Post Group: Newbie
Posts: 3
Status:
I have the same problem. I installed Visual C++ Redistributable for Visual Studio 2015 but still not work. Apache can not start with php 7.
IP: --   

Can't start php 7 server
FeedArmy
Group: Member
Post Group: Newbie
Posts: 6
Status:
PHP 7 indeed not working, in the error log I get the following.

It looks to me its not sourcing apache 2.4 correctly

I installed the latest version of ampps.

Quote

[Sat Jan 30 10:36:42.613016 2016] [wsgi:warn] [pid 1584:tid 536] mod_wsgi: Compiled for Python/3.5.0.
[Sat Jan 30 10:36:42.644266 2016] [wsgi:warn] [pid 1584:tid 536] mod_wsgi: Runtime using Python/3.5.1.
[Sat Jan 30 10:36:42.644266 2016] [mpm_winnt:notice] [pid 1584:tid 536] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/5.5.31 mod_wsgi/4.4.21 Python/3.5.1 configured -- resuming normal operations
[Sat Jan 30 10:36:42.644266 2016] [mpm_winnt:notice] [pid 1584:tid 536] AH00456: Apache Lounge VC14 Server built: Dec  9 2015 10:17:39
[Sat Jan 30 10:36:42.644266 2016] [core:notice] [pid 1584:tid 536] AH00094: Command line: 'apache\\bin\\httpd.exe -d C:/Program Files (x86)/Ampps/apache'
[Sat Jan 30 10:36:42.644266 2016] [mpm_winnt:notice] [pid 1584:tid 536] AH00418: Parent: Created child process 2876
[Sat Jan 30 10:36:43.378597 2016] [wsgi:warn] [pid 2876:tid 568] mod_wsgi: Compiled for Python/3.5.0.
[Sat Jan 30 10:36:43.378597 2016] [wsgi:warn] [pid 2876:tid 568] mod_wsgi: Runtime using Python/3.5.1.
[Sat Jan 30 10:36:46.738032 2016] [wsgi:warn] [pid 2636:tid 544] mod_wsgi: Compiled for Python/3.5.0.
[Sat Jan 30 10:36:46.738032 2016] [wsgi:warn] [pid 2636:tid 544] mod_wsgi: Runtime using Python/3.5.1.
[Sat Jan 30 10:36:46.738032 2016] [mpm_winnt:notice] [pid 2636:tid 544] AH00455: Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/5.5.31 mod_wsgi/4.4.21 Python/3.5.1 configured -- resuming normal operations
[Sat Jan 30 10:36:46.738032 2016] [mpm_winnt:notice] [pid 2636:tid 544] AH00456: Apache Lounge VC14 Server built: Dec  9 2015 10:17:39
[Sat Jan 30 10:36:46.738032 2016] [core:notice] [pid 2636:tid 544] AH00094: Command line: 'apache\\bin\\httpd.exe -d C:/Program Files (x86)/Ampps/apache'
[Sat Jan 30 10:36:46.738032 2016] [mpm_winnt:notice] [pid 2636:tid 544] AH00418: Parent: Created child process 3300
httpd.exe: Syntax error on line 158 of C:/Program Files (x86)/Ampps/apache/conf/httpd.conf: Cannot load C:/Program Files (x86)/Ampps/php/php7apache2_4.dll into server: The specified module could not be found. 
[Sat Jan 30 10:36:47.284911 2016] [mpm_winnt:crit] [pid 2636:tid 544] AH00419: master_main: create child process failed. Exiting.
IP: --   

Can't start php 7 server
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
Hi,

>>httpd.exe: Syntax error on line 158 of C:/Program Files (x86)/Ampps/apache/conf/httpd.conf: Cannot load C:/Program Files (x86)/Ampps/php/php7apache2_4.dll into server: The specified module could not be found. 

Go to C:/Program Files (x86)/Ampps/php/ folder and check php7apache2_4.dl is present or not.

Try this:

Again select PHP 7.0

Open AMPPS Control Panel --> Change PHP version --> Select PHP 7.0

AMPPS Control Panel --> PHP --> Restore Default Configuration.
IP: --   

Can't start php 7 server
FeedArmy
Group: Member
Post Group: Newbie
Posts: 6
Status:
PHP 7 starts now which is great. As you know the ioncube loader is not present. But I know you guys are working on it.

But everything else is working and can run mysql and php functions.

Thanks for the reply.
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 29, 2024, 3:54 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.239