Re: procedure entry point --- could not be located in php4ts.dll
| From: | Richard Lynch | Date: | Sat, 02 Apr 2005 02:36:44 +0000 |
| Subject: | Re: procedure entry point --- could not be located in php4ts.dll | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-5716@lists.php.net to get a copy of this message | ||
Your php.ini needs to be able to find php_pgsql.dll if you want to use
PostgreSQL, which you seem to, since you are calling pg_connect().
#1. Make sure you know which php.ini file is being used.
php -i | grep php.ini
will do that from the command line
Or use <?php phpinfo();?> if you're using web-server
#2. Make sure that the php_pgsql.dll line in php.ini is uncommented.
#3. Make sure you have php_pgsql.dll where PHP can find it, and that the
verision of that matches with your PHP version as well as your PostgreSQL
installation version.
php -v
PHP version
psql -v
PostgreSQL version, I think
http://php.net/pg_connect
On Wed, March 30, 2005 10:32 pm, Jim Clark said:
> Hi,
> i am facing a problem while running php gtk scripts
> which gives the following error.Though my normal php
> scripts run fine without the pg_sql error.
>
>
> The procedure entry point php_sprint_f could not be
> located in the dynamic library php4ts.dll
>
> PHP Warning: Unknown(): Unable to load dynamic
> library 'c:\php\extensions\php_pgsql.dll' - The
> specified procedure could not be found.
> in Unknown on line 0
>
> Fatal error: Call to undefined function: pg_connect()
> in C:\utkarsh\PHP\phpgtk\
> TRIAL1~1.PH~ on line 31
>
> ________________________________________________________________________
> Yahoo! India Matrimony: Find your life partner online
> Go to: http://yahoo.shaadi.com/india-matrimony
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Like Music?
http://l-i-e.com/artists.htm