I forgot to mention that my OS is windows XP, SP2. I also have tomcat
installed, but it was stopped during all of this. Please, if anyone has any
idea how to get postgres to work I would really appreciate some feedback.
Also, I am willing to start from scratch and install the versions of the
software that will be guaranteed to interoperate, just let me know what they
are.
I installed the same 3-application combination on a Vista machine a few
months ago, and it works just fine. Go figure.
""Ed Bukhman"" <ebukh@xxxxxxxxx> wrote in message
news:09.8B.27038.42E5B0A4@xxxxxxxxxxxxxxx
>I have installed Apache 2.2.11/Postgres 8.3.6/PHP 5.2.9. I am getting the
>following issue when loading php on the apache server
>
> <<<<<<<<PHP Warning: PHP Startup: Unable to load dynamic library
> '.\\php_pgsql.dll' - The operating system cannot run %1.\r\n in Unknown on
> line 0>>>>>>>>
>
> I've copied the extensions I'm loading to the root php directory, then
> changed the extension_dir in php.ini to ".\", so that's why the path is
> just ..\\php_pgsql.dll . I've also added the root php dir to the path e.v.
> I have no trouble running a php script with apache, so long as it doesn't
> include any pgsql functions. Finally, and MOST IMPORTANT, when I run my
> php script using the command-line php.exe, it connects to my pgsql
> database and retrieves records just fine. So the problem is in the way
> that apache loads php, and not in the way that php loads the extensions.
>
> I've googled furiously for the fix, but haven't found any solution. Also,
> I've tried a fix suggested by somebody where you add the postgres bin
> directory to the path, but no joy.
>
[Index of Archives]
[PHP Users]
[PHP Home]
[PHP on Windows]
[Kernel Newbies]
[PHP Classes]
[Postgresql]
[PHP Books]
[PHP Databases]
[PHP SOAP]