Hello
I am using PHP 4.3.4 on a Windows platform.
After using it successfully I have decided to switch to PHP 5.0
After unzipping the directory and updating php.ini, I switch to configuring my Apache Web server to work with the new PHP installation.
I updated httpd.conf to have the following lines:
LoadModule php5_module c:/php/sapi/php5apache.dll
AddModule mod_php5.c
AddType application/x-httpd-php .php
several things are strange:
First, the PHP5.0 installation doesn’t have a sapi directory and all the apache dll files were located in the main php directory (c:php)
Second, when I restarted Apache, I got the following error:
Cannot load c:/php/sapi/php5apache.dll into server
The error continued even after I fixed the line in httpd.conf to reflect the actual location of the dll files:
LoadModule php5_module c:/php/php5apache.dll
Following the advice in install.txt, I downloaded the strace program and checked exactly what dll files Apache wasn’t finding.
It seemed that it couldn’t find php5ts.dll (this was backed up in install.txt as well).
It seemed that it was searching for that dll in:
“??C:Program FilesApache GroupApache2binphp5ts.dll”
“??C:phpphp5ts.dll”
The same errors continued to appear even after making sure that php5ts.dll was indeed found in:
C:Program FilesApache GroupApache2bin
and in
C:php
What am I missing?
what is that ?? at the beginning of the paths that Apache was searching at?
please help