Everything just plain works with no hassle and no hunting down dll files over google. Just a note It might be important you include the absolute path to the php. This happened to me because I copied the statements from a random website.
In my text editor the difference was barely noticeable, but to Apache it certainly is! I was able to get apache up and running without any problems. Also had an exception problem when trying to use mysql with apache and php5.
I wanted to install PHP5. It took me hours to solve it. The following possible problems occur: - You should use the VC6-compiled version of php instead of VC9. The later one does not work properly with apache. This error was misinterpreted internally in the above message.
The solution was NOT to use the libpq. This prevents us from using the bad version of dll. I hope I helped. After using the Windows installer for Apache 2.
There were two problems with the configuration files for Apache and PHP. The value for FcgidWrapper cannot contain spaces.. This is with Apache 2. Apache failed to start if I did not include the slash after php. But adding shebang line has a disadvantage that if you decided to install PHP as an Apache module afterwards, then the shebang line WILL appear in the web page.
For those still having problems with "You don't have permission to run php-cgi. They must have changed the format with Apache 2. So the usual method of setting up CGI, I'm sure you already know that you should add these 3 lines to httpd. I install httpd PHP installation add to httpd. This is very strange. If I use the renamed php. If I don't define a php. This is driving me insane I got it resolved by disabling all extensions that I'm not needing.
I can't tell you wich extension is the booger here, as I stopped troubleshooting as soon as it worked. I only needed ODBC and some basics like eg. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?
Collectives on Stack Overflow. Learn more. Thank you Zak, but wamp server has not relation here? Yeah, indeed that library is required by Apache itself to get work — manix. Add a comment. Active Oldest Votes. Improve this answer. Community Bot 1 1 1 silver badge. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Please read my disclosure for more info. In this post, I will share how I had managed to solve the problem.
I recalled that after installing Apache HTTP server, no error messages was shown and the green arrow appeared on the Apache Monitor at the system tray. To isolate the problem, I uninstalled PHP. The cause of failure became apparent - it had to be due to the PHP installation.
PHP resides in the computer as an executable and can be accessed via the command prompt.
0コメント