Bonjour,
J'ai installé sur un Windows XP Apache 2.2, PHP 5.2.6 et Postgré SQL 8.3.
J'ai modifié la ligne
en
Code : Sélectionner tout - Visualiser dans une fenêtre à part ;extension=php_pgsql.dll
du fichier php.ini et redémarré le service Apache.
Code : Sélectionner tout - Visualiser dans une fenêtre à part extension=php_pgsql.dll
Apache et PHP fonctionne correctement sauf lorsque je désire me connecter à ma base Postgres par le biai de ce script :
j'ai cette erreur :
Code : Sélectionner tout - Visualiser dans une fenêtre à part 
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
et voici le fichier de log d'Apache :Fatal error: Call to undefined function pg_connect() in C:\serveur_web\apache\htdocs\postgresqlconnection.php on line 12
Pourtant après avoir lu plein de post sur le sujet, je n'ai pas résolu mon problème.[Mon Oct 13 14:46:17 2008] [warn] pid file C:/serveur_web/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\serveur_web\\php\\ext\\php_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Mon Oct 13 14:46:17 2008] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Mon Oct 13 14:46:17 2008] [notice] Server built: Jan 18 2008 00:37:19
[Mon Oct 13 14:46:17 2008] [notice] Parent: Created child process 3364
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\serveur_web\\php\\ext\\php_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Mon Oct 13 14:46:17 2008] [notice] Child 3364: Child process is running
[Mon Oct 13 14:46:17 2008] [notice] Child 3364: Acquired the start mutex.
[Mon Oct 13 14:46:17 2008] [notice] Child 3364: Starting 64 worker threads.
[Mon Oct 13 14:46:17 2008] [notice] Child 3364: Starting thread to listen on port 80.
Auriez vous une idée du dysfonctionnement ?
Merci d'avance,
Arnaud

 

 
		
		 
         
 

 
			
			

 
   
 


 Connexion à la base PostgreSQL : undefined function pg_connect()
 Connexion à la base PostgreSQL : undefined function pg_connect()
				 Répondre avec citation
  Répondre avec citation

 
 
 
			
Partager