Home  |  Linux  | Mysql  | PHP  | XML
From:Ed Bukhman Date:Fri May 15 18:20:46 2009
Subject:Re: pgsql_php extension issue (windows)
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@yahoo.com> wrote in message
news:09.8B.27038.42E5B0A4@pb1.pair.com...
>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.
>


Navigate in group php.install at sever news.php.net
Previous Next


Your recent visits
Re: [PHP] pear for fedora 11
error instant client PHP configure script
Re: [PHP] pear for fedora 11
Apache MPM Worker + PHP-5.2.9
PHP and phpMyAdmin on Mac G5 with OS 10.5.6



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants