Cannot load php5apache2_2.dll into server windows 7
Another thing here is that I am not sure when exactly logs are written to the log file. I am confused if log entries are not made if I have opened the log file for reading? I saw some log entries being made, some not. But that is a separate problem for now. I had previously setup apache, php on the same system, on another hard disk. I had followed the same steps like I followed now and it did setup successfully, although after a lot of head-scratching, like the log file entry confusion I wrote above.
I don't remember how exactly I fixed it earlier. But, I tried with the same apache config file the one which was working earlier on the previous setup on the old hard disk - had taken a backup , but it still gives the same error. Still no success. I also read this blog where some VC6 and VC9 binaries are mentioned. I don't know about them. Do I need to do something about that?
Most likely you have incompatible Apache build. Get latest Apache build from Apache Lounge website -- their builds are compiled with VC9 while apache. Disable all non-default php extensions until you successfully start Apache with PHP working. Configure your PHP and Apache if necessary those Apache config lines you have mentioned so far are fine.
You are on x64 bit version of Windows. I fixed the problem. Actually absence of some necessary dll files, not sure which particular file, was the reason and I was trying in the absence of a lot of dll files. What I did was, I had followed the apache configuration part from teammate 1 and then copied the php5 directory from teammate 2 who was on a bit system with Windows px. I assumed that the php 5 folder would be same and was wrong. The problem got fixed when I took the php 5 folder of teammate 1.
I checked and found there were many differences in the contents of the two php5 folders, mainly dll files. Absence of necessary dll files must have been the issue because I needed a system restart after taking the correct php5 folder of teammate 1.
Moral of the story - While copying, don't apply brain and copy from the same place :. You don't have to copy any of those like libeay Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Learn more. Asked 10 years, 6 months ago. Active 3 years, 4 months ago. Viewed 36k times. Running test configuration gives the following error - httpd. Improve this question. Sandeepan Nath. Sandeepan Nath Sandeepan Nath 6 6 gold badges 12 12 silver badges 27 27 bronze badges. Add a comment. Active Oldest Votes. I had installed x64 version of Apache and x86 version of php. After a lof of searching I found that this doesn't work. So I had to install x64 threadsafe version of PHP.
After this Apache works fine. 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. Asked 10 years, 1 month ago. Active 6 years, 1 month ago. Viewed 69k times. Harry Harry 4, 16 16 gold badges 71 71 silver badges 99 99 bronze badges. The simple answer is in here : stackoverflow. I have the same problem with Apache 2. Add a comment. Active Oldest Votes. The dll worked despite 5. Best regards.
Nact Nact 71 3 3 bronze badges. I downloaded php 5. Am i missing something here? I got PHP 5. Then edit your php. Dane 1 1 gold badge 12 12 silver badges 27 27 bronze badges. You can dowload php source and dll's from here windows. Mihai Iorga Nirolivier Razafindrabekoto Nirolivier Razafindrabekoto 19 1 1 bronze badge. The DLL is not included in their 5.
Their install instructions link to the source code, which doesn't help. It's in their thread-safe zip though. Still, it did not work: Recalled seeing this before and decided to reboot computer Restarted or started the Apache Server Ran the test file again.. Note that in some of the above I may have mixed up some forward and back slashes Good luck!
Rob Rob 29 2 2 bronze badges. Two options: Download and install the thread safe version of PHP instead and you will get everything you need.
Darkane Darkane 63 9 9 bronze badges. Peter O. What about php 5. I did not have to mess with the apache configuration as other people suggest. Reedyseth Reedyseth 31 4 4 bronze badges. Ross T. Qantas 94 Heavy Goldie Goldie 1. Laszlo Lugosi Laszlo Lugosi 3, 1 1 gold badge 19 19 silver badges 17 17 bronze badges. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password.
0コメント