Hope this would help someone. Hi guys, In my case, it work right away when I change the version to thread-safe. I spent some time trying the different things that were posted here and I was kind of lazy about downloading a different version, but once I test it with a thead-safe it started right away. So be sure you try this. I was on Apache 2. Like someone else mentioned, on the Windows download page for PHP, ignore the warning about not downloading the VC9 compiled installers for the Apache.
Whoever wrote that is guaranteeing that people install a PHP that breaks their Apache server. On Windows 7 anyway. The installer failed to write the correct path info to httpd.
Ignore that dumb warning and get the newest installer anyway. 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. How to Run Simply Scheme on Windows. Leave a Reply Cancel reply Enter your comment here Fill in your details below or click an icon to log in:. Email required Address never made public. Name required. Follow Following.
Sign me up. Connect and share knowledge within a single location that is structured and easy to search. If you don't find some of this DLLs, try downloaidng non-TS version fo php and copy them from that folder. 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 4 years, 11 months ago. Active 1 year, 3 months ago. Viewed 31k times. I am using Windows10 64 bit Apache 2. Sonic Sonic 1 1 gold badge 1 1 silver badge 6 6 bronze badges. I am trying to solve this same issue. Did u change anything else apart from libssh2 copying? I did change quite a bit since I started by getting the latest version of php.
So all the steps as best as I can remember were: 1 download php 7. Installing PHP on your development PC allows you to safely create and test websites and applications without affecting the data or systems on your live server. These packages are easy to use, but they may not exactly match your live server.
Installing Apache and PHP manually will help you learn more about the system and configuration options. Microsoft Hyper-V provided in Windows 10 Professional and VirtualBox are free hypervisors which emulate a PC so you can install another operating system. Containers look like full Linux Virtual Machines but are considerably more lightweight. Docker is currently considered the best option for setting up a PHP development environment.
Read our complete guide to setting up a PHP development environment with Docker.
0コメント