Page 1 of 1

Cannot start Apache after upgrading 1.7.0->1.7.1 [SOLVED]

PostPosted: 15. April 2009 22:15
by yogal
Hello,

Today I upgraded my XAMPP from version 1.7.0 to 1.7.1. The installation finished flawlessly, but since then i cannot start apache anymore.

I've tried:

- Starting from control panel - It goes green then immediately shuts down
The log says:
Code: Select all
Busy...
Apache started [ port 80 ]

and nothing then...

- Starting from apache_start.bat file - Says:
Code: Select all
Apache 2 is starting...

then shuts down

- Starting/installing as a service - Windows gives a service error
The log from Event Monitor (translated more less accurately):
Code: Select all
The Apache 2.2 service has stopped; there has been a specific error: 1 (0x1)


As you can see, this is NOT a PORT problem:
- Portcheck reports all ports used by apache as free,
- I had a Skype conflict few weeks ago, but it has been solved since then.

I am using additional software from Zend:
- Zend Platform
- Zend Core
- Zend Optimizer (which is boundled with one of the apps mentioned above)

I suspect that installing Zend Optimizer messed up something in the httpd.conf file (which i did right after upgrading xampp since an error popped up on the Zend Platform screen, it reported Zend Optimizer as not installed despite running well for the past month or so...)

My configuration:
- Windows XP SP3
- XAMPP 1.7.1

Additional notes:
- MySQL is working ok,
- Im an not using/never had any other webserver

I hope that someone has a solution to this problem. I can only tell that my friend has a similar problem since upgrading to the newest xammp, despite running no additional/interfering software. Tell me if you need more info (logs etc) i will supply them.

Regards,
yogal

Re: Cannot start Apache after upgrading 1.7.0->1.7.1

PostPosted: 15. April 2009 22:23
by Sharley
See if there are any clues in the xampp\apache\logs\error.log file.

Go to start>Run...
Type
sc delete apache2.2
click OK

This may remove an old service entry from the registry that may not have been removed before doing the upgrade and will do no harm even if there is no old service entry to remove - sc.exe is the Windows Service Controller.

You may reboot after if you like then try again to start Apache.

Re: Cannot start Apache after upgrading 1.7.0->1.7.1

PostPosted: 15. April 2009 22:25
by yogal
Thanks for the reply, deleting the service didn't help.

Sharley wrote:See if there are any clues in the xampp\apache\logs\error.log file.


Yea, I've just searched it
This is what it says:
Code: Select all
[Wed Apr 15 23:18:41 2009] [warn] pid file d:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Wed Apr 15 23:18:41 2009] [notice] Digest: generating secret for digest authentication ...
[Wed Apr 15 23:18:41 2009] [notice] Digest: done
PHP Fatal error:  [Zend Optimizer] Extension "Zend Optimizer" cannot be loaded twice in Unknown on line 0


So this is clearly a Zend Optimizer problem, i will try to tinker with it.

UPDATE

I have commented out everything regarding Zend Optimizer from php.ini file and now Apache works again.

However, Zend Platform cannot run without optimizer, altough it worked all right earlier. This is a problem for a diffrient forum, but could the XAMPP update anyhow mess with my extensions ?
I am marking this topic as solved though. Thanks for help.