Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > php.ini and pgsql extension issue
User Name
Password
REGISTER NOW! Mark Forums Read




Reply Bookmark and Share
1 21st November 19:11
raf.news
External User
 
Posts: 1
Default php.ini and pgsql extension issue



Hi,

i found and solved an interesting issue under PHP 5.2.6.

when i use the standard installation file under windows XP
(php-5.2.6-win32-installer.msi), i get several error message in apache
error.log file, something like :
PHP Warning: PHP Startup: Unable to load dynamic library
'D:\\webserver\\PHP\\ext\\php_mssql.dll' - The specified module could not be
found.\r\n in Unknown on line 0

and this for several extensions even if the files are correctly installed in
the right folder.
I took a previous version of PHP 5.2.3 extension (dll) and i compare the
size:
in PHP 5.2.6, php_pgsql.dll is 96 kb whereas it is 164 kb under PHP 5.2.3.

so i just replace the 96 kb file by the 164 kb and restart apache 2.2.8. now
it works perfectly.
i reproduced the same thing for all dynamic extensions which were generating
the same issue and all works.

it could be interesting that developers of PHP take an eye on it.

--
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.2.4 / MS SQL server 2005
Apache 2.2.4
PHP 5.2.4
C# 2005-2008
  Reply With Quote


 


2 22nd November 03:40
etienne.massip
External User
 
Posts: 1
Default php.ini and pgsql extension issue



Got same problem exactly today w/ 5.2.6 with zip archive.

Note that there has been many changes w/ pgsql extension in 5.2.6.

It seems that extension file is corrupted, or that my piece of software
(izarc) don't deal correctly with it. Looks also like daily snapshots of
5.2.6 are corrupted too.

5.3 php_pgsql.dll is abaut 102k.

Etienne Massip

--
View this message in context: http://www.nabble.com/php.ini-and-pg...p18869371.html
Sent from the PHP - General mailing list archive at Nabble.com.
  Reply With Quote
Reply


Thread Tools
Display Modes


Some other forums that might be of your interest : Php 5 forum, Apache forum, Iis forum, Functions forum, Classes forum, Librarys forum, Bugs forum, Postgres forum, Mysql forum, Paradox forum, Ms sql forum, Configurations forum, Php.ini forum, Problems forum, Scripting forum, Css forum, General forums, Off-topic talk, Links, Extra forums, Php


Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666