Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : upgraded to AMPPS 2.5, now Apache won't start



Threaded Mode | Print  

 upgraded to AMPPS 2.5, now Apache won't start (9 Replies, Read 11552 times)
flamenco
Group: Member
Post Group: Newbie
Posts: 7
Status:
Hi,
Win7 is what I'm running.

I attempted an upgrade to AMMPS 2.5. I did the backup as per the upgrade Wiki stuff. Then when starting the server, when it asked me to upgrade, I accepted that. Nothing happened.

I went to AMMPS admin, and tried an upgrade there. It seemed to work. Then I re-started the server, and it asked me again if I wanted to upgrade. (!!!!) I accepted that. This time it did an install. It seemed to work.

Then I started the server again, hoping to upgrade PHP. I chose PHP 5.6. Then Apache would not start.

I installed the MS Visual C++ 2012 library as per other notes here.

I started the server again, and Apache still won't start. I tried downloading the AMMPS install instead, and re-ran the install. Still Apache will not start. I tried setting Apache, MySQL, and PHP config files back to default, still nothing.

I found your command line thing, ran it, and got this:

C:\>"C:/Program Files (x86)/Ampps/apache/bin/httpd.exe"
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/php5apache2_4.dll into
server: The specified module could not be found.

That dll file is, in fact there. Any ideas? Is my AMMPS install just totally destroyed?

Thanks. Dave
IP: --   

upgraded to AMPPS 2.5, now Apache won't start
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

No AMPPS is not destroyed. :)

That MS Visual C++ 2012 you installed,  try installing the 32 Bit(x86) package.

Let us know if the issue was fixed.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

upgraded to AMPPS 2.5, now Apache won't start
z9prm
Group: Member
Post Group: Newbie
Posts: 4
Status:
When I opened AMMPS today, a prompt tricked me into upgrading to 2.5  :xd:
After a rather lengthy process (+/- 20min stuck at 98% - Extracting), I was told the upgrade was successful.

Now, Apache won't start. The error log says

Quote
'file' is not recognized as an internal or external command,
operable program or batch file.
'-v' is not recognized as an internal or external command,
operable program or batch file.

(x10)
Followed by
Quote
[Fri Sep 19 11:24:36.192976 2014] [mpm_winnt:notice] [pid 6872:tid 412] AH00455: Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.3.28 mod_wsgi/3.4 Python/2.7.2 configured -- resuming normal operations
[Fri Sep 19 11:24:36.208977 2014] [mpm_winnt:notice] [pid 6872:tid 412] AH00456: Apache Lounge VC9 Server built: Mar 17 2014 19:17:53
[Fri Sep 19 11:24:36.208977 2014] [core:notice] [pid 6872:tid 412] AH00094: Command line: 'apache\\bin\\httpd.exe -d C:/Program Files (x86)/Ampps/apache'
[Fri Sep 19 11:24:36.223978 2014] [mpm_winnt:notice] [pid 6872:tid 412] AH00418: Parent: Created child process 6296
[Fri Sep 19 11:24:40.655232 2014] [mpm_winnt:notice] [pid 5984:tid 412] AH00455: Apache/2.4.9 (Win32) OpenSSL/1.0.1g PHP/5.3.28 mod_wsgi/3.4 Python/2.7.2 configured -- resuming normal operations
[Fri Sep 19 11:24:40.655232 2014] [mpm_winnt:notice] [pid 5984:tid 412] AH00456: Apache Lounge VC9 Server built: Mar 17 2014 19:17:53
[Fri Sep 19 11:24:40.655232 2014] [core:notice] [pid 5984:tid 412] AH00094: Command line: 'apache\\bin\\httpd.exe -d C:/Program Files (x86)/Ampps/apache'
[Fri Sep 19 11:24:40.668232 2014] [mpm_winnt:notice] [pid 5984:tid 412] AH00418: Parent: Created child process 6944
[Fri Sep 19 11:24:46.518567 2014] [mpm_winnt:notice] [pid 6944:tid 424] AH00354: Child: Starting 64 worker threads.
httpd.exe: Could not open configuration file C:/Program Files (x86)/Ampps/apache/conf/httpd.conf: The system cannot find the file specified. 

Since I do not really understand what is going on, any help would be greatly appreciated!
Thanks
IP: --   

upgraded to AMPPS 2.5, now Apache won't start
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Please run the following command in command prompt and let us know its output,

"C:\Program Files (x86)\Ampps\apache\bin\httpd.exe"

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

upgraded to AMPPS 2.5, now Apache won't start
z9prm
Group: Member
Post Group: Newbie
Posts: 4
Status:
Hi Ketan,
The output is the same as the one I posted earlier
Quote
httpd.exe: Could not open configuration file C:/Program Files (x86)/Ampps/apache/conf/httpd.conf: The system cannot find the file specified
IP: --   

upgraded to AMPPS 2.5, now Apache won't start
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Can you find the file httpd.conf in C:/Program Files (x86)/Ampps/apache/conf/ ?

If its not present/blank then please do the following things,
- Goto Ampps Control Center,
- Select Apache,
- Select Restore Default Configuration

Try to start Apache from Ampps.
Please let us know if you still facing the problem.

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

upgraded to AMPPS 2.5, now Apache won't start
z9prm
Group: Member
Post Group: Newbie
Posts: 4
Status:
There is a httpd.conf.bak (as well as a mime.types.bak)

Should I rename it to httpd.conf manually?
IP: --   

upgraded to AMPPS 2.5, now Apache won't start
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

No. Restore the Default Configuration.


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

upgraded to AMPPS 2.5, now Apache won't start
z9prm
Group: Member
Post Group: Newbie
Posts: 4
Status:
It did the trick.
Thank you very much, Tidus and Ketan
IP: --   

upgraded to AMPPS 2.5, now Apache won't start
flamenco
Group: Member
Post Group: Newbie
Posts: 7
Status:
Quote From : tidus September 19, 2014, 5:55 am
Hi,

No AMPPS is not destroyed. :)

That MS Visual C++ 2012 you installed,  try installing the 32 Bit(x86) package.

Let us know if the issue was fixed.

Tidus,
This was tricky, but I finally fixed it. I did install an x86 version of C++ 2012. No joy. I looked in Windows control panel and found tons of versions of that. I found a C++ 2013 so I installed the x86 version of that.

I tried again, and got a ton of errors because several extensions would not load. I tried restoring the Apache configuration. Finally Apache was able to load.

I tried running WordPress. I got "error establishing database connection". Then I remembered an important "gotcha" with every AMPPS upgrade: if you use AMPPS Softaculous installer for WordPress, the upgrade kills your database user. I switched the WordPress config to use the root user, and then got in. I hope that helps someone.

Lastly, I tried running AMPPS Admin, and got this bit of fun:

Site error: the file C:\Program Files (x86)\Ampps\ampps\softaculous\enduser\globals.php requires the ionCube PHP Loader ioncube_loader_win_5.5.dll to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.

So I followed those instructions, and got a successful install, or at least it said so. No, AMPPS Admin still gets the same error.

Any thoughts welcome.

Thanks. D
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 19, 2024, 2:47 am.

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