I am trying to add an extension to my PHP. I have the file - libssh2.dll - in the appropriate directory (as listed in my php.ini file) and made sure the extension=libssh2.dll. I also copied the .dll file to system and system32 folders as other threads have suggested. When I try to start my Apache server I get the following windows error:
Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience.
and Apache Monitor error:
The requested operation has failed!
I check the log to see this:
[Tue Jul 26 16:43:06 2011] [warn] pid file C:/Program Files/Apache/l开发者_C百科ogs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
I have tried to go in this direction but am completely stumped at this point. Hoping someone out there can help me and so I can figure out what's wrong. Thanks in advance guys!
Cheers
I think that it is telling you that you need to remove just the previous pid file. Each time that you run apache a http.pid file is created in apache's bin folder. It contains the apache pid.
I solved it by upgrading to 5.3. Somehow with the same settings it automagically worked. Closing the issue now.
精彩评论