I have PHP 4.2.3 running on Windows 2000 with Apache 1.3 (for development). Everything works fine, EXCEPT... When I tried to get the PostgreSQL module for PHP working, I kept getting an "undefined function" error on pg_connect(). After searching the PHP Website fruitlessly, the only clue I could find to the problem was a post from someone who mentioned the same problem and said that it worked fine under PHP 4.3.0.
So, I've downloaded and installed PHP 4.3.0 (in a separate directory from the previous version, of course). I updated the LoadModule line in Apache's httpd.conf thusly:
LoadModule php4_module C:/progra~1/php-4.3.0-Win32/sapi/php4apache.dll
This is identical to what I had before, except of course for changing php-4.2.3-Win32 to php-4.3.0-Win32. I've double-checked, and that IS the correct path to php4apache.dll.
However, when I start Apache I get this error:
Syntax error on line 193 of c:/program files/apache group/apache/conf/httpd.conf
:
Cannot load c:/program files/php-4.3.0-win32/sapi/php4apache.dll into server: (1
27) The specified procedure could not be found:
😕
If anyone has any suggestions, I'd appreciate it.