Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
Alain Roger wrote:
>
>> it seems that it's a known problem. can someone comment it ?
>> http://www.wampserver.com/phorum/read.php?2,40270,40311
>>
>>
> "you have to install PostgreSQL since enable extension only is not enough"
>
> makes sence!
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Yes it's clear but i already had installed postgresql :-( so problem is
really located into files of v5.2.6 of PHP.


Re: [PHP] issue with php.ini

2008-11-23 Thread Nathan Rixham

Alain Roger wrote:




Alain Roger wrote:

it seems that it's a known problem. can someone comment it ?
http://www.wampserver.com/phorum/read.php?2,40270,40311


"you have to install PostgreSQL since enable extension only is not
enough"

makes sence!

-- 
PHP General Mailing List (http://www.php.net/)

To unsubscribe, visit: http://www.php.net/unsub.php


Yes it's clear but i already had installed postgresql :-( so problem 
is really located into files of v5.2.6 of PHP.


yeah i had the same thing, sent that one without hinking - it's def a 
5.2.6 files thing.. only things we have in common is that I'm on a 64bit 
processor (intel quad) and apache 2.2*, but my os is 32 bit windows 
vista ultimate


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] issue with php.ini

2008-11-23 Thread Nathan Rixham

Alain Roger wrote:

it seems that it's a known problem. can someone comment it ?
http://www.wampserver.com/phorum/read.php?2,40270,40311



"you have to install PostgreSQL since enable extension only is not enough"

makes sence!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Fwd: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
>
>
> On Sun, Nov 23, 2008 at 6:57 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote:
>
>>   i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i
 extension=php_mysql.dll
 extension=php_pdo.dll
 extension=php_pdo_mysql.dll
 extension=php_pdo_pgsql.dll
 extension=php_pdo_sqlite.dll
 extension=php_pgsql.dll
 extension=php_sqlite.dll
 extension=php_dbg.dll-5.2.x

 phpinfo() and i see nowhere anything about postgresql module or PDO.

>>> [/snip]
>>
>> I've had the same problems with the msi for 5.2.6 on windows boxes;
>> appears to be the php_pdo_pgsql dll that's causing the error.
>>
>> 2 things to do:
>>
>> - check the apache error log to see exactly what php is saying the problem
>> is (bet it's that php_pdo_dll)
>>
>> - make sure you'd don't have the threads extension enabled.
>>
>> in fact i'm very surprised because the following modules can not be found
> even if they are on the right folder.
> PHP Warning:  PHP Startup: Unable to load dynamic library
> 'D:\\webserver\\PHP\\ext\\php_pdo_pgsql.dll' - The specified module could
> not be found.\r\n in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> 'D:\\webserver\\PHP\\ext\\php_pgsql.dll' - The specified module could not be
> found.\r\n in Unknown on line 0
>
> any idea ?
>
>
it seems that it's a known problem. can someone comment it ?
http://www.wampserver.com/phorum/read.php?2,40270,40311

so i've downloaded PHP 5.2.5 winzip package and replace 5.2.6 files by 5.2.5
for the following files:
php_pdo_pgsql.dll
php_pgsql.dll

and it works perfectly.
so this is clear that something is wronf with those 2 files in the 5.2.6
version.

Alain


Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
On Sun, Nov 23, 2008 at 7:27 PM, Alain Roger <[EMAIL PROTECTED]> wrote:

>
>
> On Sun, Nov 23, 2008 at 6:57 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote:
>
>>   i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i
 extension=php_mysql.dll
 extension=php_pdo.dll
 extension=php_pdo_mysql.dll
 extension=php_pdo_pgsql.dll
 extension=php_pdo_sqlite.dll
 extension=php_pgsql.dll
 extension=php_sqlite.dll
 extension=php_dbg.dll-5.2.x

 phpinfo() and i see nowhere anything about postgresql module or PDO.

>>> [/snip]
>>
>> I've had the same problems with the msi for 5.2.6 on windows boxes;
>> appears to be the php_pdo_pgsql dll that's causing the error.
>>
>> 2 things to do:
>>
>> - check the apache error log to see exactly what php is saying the problem
>> is (bet it's that php_pdo_dll)
>>
>> - make sure you'd don't have the threads extension enabled.
>>
>> in fact i'm very surprised because the following modules can not be found
> even if they are on the right folder.
> PHP Warning:  PHP Startup: Unable to load dynamic library
> 'D:\\webserver\\PHP\\ext\\php_pdo_pgsql.dll' - The specified module could
> not be found.\r\n in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> 'D:\\webserver\\PHP\\ext\\php_pgsql.dll' - The specified module could not be
> found.\r\n in Unknown on line 0
>
> any idea ?
>
>
it seems that it's a known problem. can someone comment it ?
http://www.wampserver.com/phorum/read.php?2,40270,40311


Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
On Sun, Nov 23, 2008 at 6:57 PM, Nathan Rixham <[EMAIL PROTECTED]> wrote:

> i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i
>>> extension=php_mysql.dll
>>> extension=php_pdo.dll
>>> extension=php_pdo_mysql.dll
>>> extension=php_pdo_pgsql.dll
>>> extension=php_pdo_sqlite.dll
>>> extension=php_pgsql.dll
>>> extension=php_sqlite.dll
>>> extension=php_dbg.dll-5.2.x
>>>
>>> phpinfo() and i see nowhere anything about postgresql module or PDO.
>>>
>> [/snip]
>
> I've had the same problems with the msi for 5.2.6 on windows boxes; appears
> to be the php_pdo_pgsql dll that's causing the error.
>
> 2 things to do:
>
> - check the apache error log to see exactly what php is saying the problem
> is (bet it's that php_pdo_dll)
>
> - make sure you'd don't have the threads extension enabled.
>
> in fact i'm very surprised because the following modules can not be found
even if they are on the right folder.
PHP Warning:  PHP Startup: Unable to load dynamic library
'D:\\webserver\\PHP\\ext\\php_pdo_pgsql.dll' - The specified module could
not be found.\r\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library
'D:\\webserver\\PHP\\ext\\php_pgsql.dll' - The specified module could not be
found.\r\n in Unknown on line 0

any idea ?


Re: [PHP] issue with php.ini

2008-11-23 Thread Nathan Rixham

i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i
extension=php_mysql.dll
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_sqlite.dll
extension=php_dbg.dll-5.2.x

phpinfo() and i see nowhere anything about postgresql module or PDO.

[/snip]

I've had the same problems with the msi for 5.2.6 on windows boxes; 
appears to be the php_pdo_pgsql dll that's causing the error.


2 things to do:

- check the apache error log to see exactly what php is saying the 
problem is (bet it's that php_pdo_dll)


- make sure you'd don't have the threads extension enabled.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
Well if you check my 2nd email you will see my signature :-)
but it does not matter...

i did several little changes but i'm scared that only modules link to
php.exe at the "make" command status have been loaded. :-(
my changes where about modules loading, extension folder, and so on...

-- 
Alain
---
Windows XP x64 SP2
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.10
PHP 5.2.6
C# 2005-2008


Re: [PHP] issue with php.ini

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 18:44 +0100, Alain Roger wrote:
> On Sun, Nov 23, 2008 at 6:41 PM, Ashley Sheridan
> <[EMAIL PROTECTED]>wrote:
> 
> > On Sun, 2008-11-23 at 18:32 +0100, Alain Roger wrote:
> > > Yes, i do it in that way but nothing changed
> > >
> > > On Sun, Nov 23, 2008 at 6:34 PM, Ashley Sheridan
> > > <[EMAIL PROTECTED]>wrote:
> > >
> > > > On Sun, 2008-11-23 at 17:33 +0100, Alain Roger wrote:
> > > > > Hi,
> > > > >
> > > > > i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i
> > uncomment
> > > > the
> > > > > following lines:
> > > > > extension=php_mysql.dll
> > > > > extension=php_pdo.dll
> > > > > extension=php_pdo_mysql.dll
> > > > > extension=php_pdo_pgsql.dll
> > > > > extension=php_pdo_sqlite.dll
> > > > > extension=php_pgsql.dll
> > > > > extension=php_sqlite.dll
> > > > > extension=php_dbg.dll-5.2.x
> > > > >
> > > > > after restaring the whole server apache+postgresql + php, i run a
> > simple
> > > > > phpinfo() and i see nowhere anything about postgresql module or PDO.
> > > > > phpinfo show that it runs based on the php.ini from D:\webserver\php
> > > > folder
> > > > > and not from c:\windows.
> > > > > which is correct as my php.ini is the the D:\webserver\php folder.
> > > > >
> > > > > so where could be the problem ?
> > > > > thx.
> > > > >
> > > > You didn't mention if you were editing the php.ini file that phpinfo()
> > > > tells you it is using. Make your changes to that one, and it should be
> > > > OK. I have this problem a lot with Windows installations for some
> > > > reason.
> > > >
> > > >
> > > > Ash
> > > > www.ashleysheridan.co.uk
> > > >
> > > >
> > >
> > >
> > So you've edited the right file, restarted the web server (Apache or
> > IIS) and it's still showing the old configuration. Just a quick
> > question, you're not trying to run PHP on Vista are you, as this has
> > some godawful behaviour on files it deems as system files, and it's an
> > absolute pain to actually try and edit them, even from an admin account!
> >
> > If you are still having troubles and it's not Vista, have you made sure
> > that the libraries (dll files) you are trying to use actually exist?
> > They will usually be in the php directory, or in a sub-folder called
> > extensions. You might need to add the path to the system path to make
> > sure Windows can find them.
> >
> >
> > Ash
> > www.ashleysheridan.co.uk
> >
> >
> basically as you can see in my signature i run a windows x64 Sp2 system.
> in fact i've checked and realized that som dll are not installed likeL
> libpq.dll qnd some others.
> to solve my problem i had to download and install :
> NuSphere-phped-5.2-php5.2.6-Win32.exe
> 
> several dll (5 or 6) are not installed from official msi package :-(

Well, there is no signature on your emails, and sorry, but Windows Vista
has just had SP2 released for it, so your Windows x64 SP2 could still be
Vista ;)

I'm not sure, but it could be failing over the missing libraries. Have
you tried making a few minor changes to the php.ini just to make sure
they are being recognised at all?


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
On Sun, Nov 23, 2008 at 6:41 PM, Ashley Sheridan
<[EMAIL PROTECTED]>wrote:

> On Sun, 2008-11-23 at 18:32 +0100, Alain Roger wrote:
> > Yes, i do it in that way but nothing changed
> >
> > On Sun, Nov 23, 2008 at 6:34 PM, Ashley Sheridan
> > <[EMAIL PROTECTED]>wrote:
> >
> > > On Sun, 2008-11-23 at 17:33 +0100, Alain Roger wrote:
> > > > Hi,
> > > >
> > > > i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i
> uncomment
> > > the
> > > > following lines:
> > > > extension=php_mysql.dll
> > > > extension=php_pdo.dll
> > > > extension=php_pdo_mysql.dll
> > > > extension=php_pdo_pgsql.dll
> > > > extension=php_pdo_sqlite.dll
> > > > extension=php_pgsql.dll
> > > > extension=php_sqlite.dll
> > > > extension=php_dbg.dll-5.2.x
> > > >
> > > > after restaring the whole server apache+postgresql + php, i run a
> simple
> > > > phpinfo() and i see nowhere anything about postgresql module or PDO.
> > > > phpinfo show that it runs based on the php.ini from D:\webserver\php
> > > folder
> > > > and not from c:\windows.
> > > > which is correct as my php.ini is the the D:\webserver\php folder.
> > > >
> > > > so where could be the problem ?
> > > > thx.
> > > >
> > > You didn't mention if you were editing the php.ini file that phpinfo()
> > > tells you it is using. Make your changes to that one, and it should be
> > > OK. I have this problem a lot with Windows installations for some
> > > reason.
> > >
> > >
> > > Ash
> > > www.ashleysheridan.co.uk
> > >
> > >
> >
> >
> So you've edited the right file, restarted the web server (Apache or
> IIS) and it's still showing the old configuration. Just a quick
> question, you're not trying to run PHP on Vista are you, as this has
> some godawful behaviour on files it deems as system files, and it's an
> absolute pain to actually try and edit them, even from an admin account!
>
> If you are still having troubles and it's not Vista, have you made sure
> that the libraries (dll files) you are trying to use actually exist?
> They will usually be in the php directory, or in a sub-folder called
> extensions. You might need to add the path to the system path to make
> sure Windows can find them.
>
>
> Ash
> www.ashleysheridan.co.uk
>
>
basically as you can see in my signature i run a windows x64 Sp2 system.
in fact i've checked and realized that som dll are not installed likeL
libpq.dll qnd some others.
to solve my problem i had to download and install :
NuSphere-phped-5.2-php5.2.6-Win32.exe

several dll (5 or 6) are not installed from official msi package :-(


Re: [PHP] issue with php.ini

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 18:32 +0100, Alain Roger wrote:
> Yes, i do it in that way but nothing changed
> 
> On Sun, Nov 23, 2008 at 6:34 PM, Ashley Sheridan
> <[EMAIL PROTECTED]>wrote:
> 
> > On Sun, 2008-11-23 at 17:33 +0100, Alain Roger wrote:
> > > Hi,
> > >
> > > i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i uncomment
> > the
> > > following lines:
> > > extension=php_mysql.dll
> > > extension=php_pdo.dll
> > > extension=php_pdo_mysql.dll
> > > extension=php_pdo_pgsql.dll
> > > extension=php_pdo_sqlite.dll
> > > extension=php_pgsql.dll
> > > extension=php_sqlite.dll
> > > extension=php_dbg.dll-5.2.x
> > >
> > > after restaring the whole server apache+postgresql + php, i run a simple
> > > phpinfo() and i see nowhere anything about postgresql module or PDO.
> > > phpinfo show that it runs based on the php.ini from D:\webserver\php
> > folder
> > > and not from c:\windows.
> > > which is correct as my php.ini is the the D:\webserver\php folder.
> > >
> > > so where could be the problem ?
> > > thx.
> > >
> > You didn't mention if you were editing the php.ini file that phpinfo()
> > tells you it is using. Make your changes to that one, and it should be
> > OK. I have this problem a lot with Windows installations for some
> > reason.
> >
> >
> > Ash
> > www.ashleysheridan.co.uk
> >
> >
> 
> 
So you've edited the right file, restarted the web server (Apache or
IIS) and it's still showing the old configuration. Just a quick
question, you're not trying to run PHP on Vista are you, as this has
some godawful behaviour on files it deems as system files, and it's an
absolute pain to actually try and edit them, even from an admin account!

If you are still having troubles and it's not Vista, have you made sure
that the libraries (dll files) you are trying to use actually exist?
They will usually be in the php directory, or in a sub-folder called
extensions. You might need to add the path to the system path to make
sure Windows can find them.


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] issue with php.ini

2008-11-23 Thread Alain Roger
Yes, i do it in that way but nothing changed

On Sun, Nov 23, 2008 at 6:34 PM, Ashley Sheridan
<[EMAIL PROTECTED]>wrote:

> On Sun, 2008-11-23 at 17:33 +0100, Alain Roger wrote:
> > Hi,
> >
> > i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i uncomment
> the
> > following lines:
> > extension=php_mysql.dll
> > extension=php_pdo.dll
> > extension=php_pdo_mysql.dll
> > extension=php_pdo_pgsql.dll
> > extension=php_pdo_sqlite.dll
> > extension=php_pgsql.dll
> > extension=php_sqlite.dll
> > extension=php_dbg.dll-5.2.x
> >
> > after restaring the whole server apache+postgresql + php, i run a simple
> > phpinfo() and i see nowhere anything about postgresql module or PDO.
> > phpinfo show that it runs based on the php.ini from D:\webserver\php
> folder
> > and not from c:\windows.
> > which is correct as my php.ini is the the D:\webserver\php folder.
> >
> > so where could be the problem ?
> > thx.
> >
> You didn't mention if you were editing the php.ini file that phpinfo()
> tells you it is using. Make your changes to that one, and it should be
> OK. I have this problem a lot with Windows installations for some
> reason.
>
>
> Ash
> www.ashleysheridan.co.uk
>
>


-- 
Alain
---
Windows XP x64 SP2
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.10
PHP 5.2.6
C# 2005-2008


Re: [PHP] issue with php.ini

2008-11-23 Thread Ashley Sheridan
On Sun, 2008-11-23 at 17:33 +0100, Alain Roger wrote:
> Hi,
> 
> i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i uncomment the
> following lines:
> extension=php_mysql.dll
> extension=php_pdo.dll
> extension=php_pdo_mysql.dll
> extension=php_pdo_pgsql.dll
> extension=php_pdo_sqlite.dll
> extension=php_pgsql.dll
> extension=php_sqlite.dll
> extension=php_dbg.dll-5.2.x
> 
> after restaring the whole server apache+postgresql + php, i run a simple
> phpinfo() and i see nowhere anything about postgresql module or PDO.
> phpinfo show that it runs based on the php.ini from D:\webserver\php folder
> and not from c:\windows.
> which is correct as my php.ini is the the D:\webserver\php folder.
> 
> so where could be the problem ?
> thx.
> 
You didn't mention if you were editing the php.ini file that phpinfo()
tells you it is using. Make your changes to that one, and it should be
OK. I have this problem a lot with Windows installations for some
reason.


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] issue with php.ini

2008-11-23 Thread Alain Roger
Hi,

i've reinstalled PHP 5.2.6 on my windows XP x64 and as usual i uncomment the
following lines:
extension=php_mysql.dll
extension=php_pdo.dll
extension=php_pdo_mysql.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_sqlite.dll
extension=php_dbg.dll-5.2.x

after restaring the whole server apache+postgresql + php, i run a simple
phpinfo() and i see nowhere anything about postgresql module or PDO.
phpinfo show that it runs based on the php.ini from D:\webserver\php folder
and not from c:\windows.
which is correct as my php.ini is the the D:\webserver\php folder.

so where could be the problem ?
thx.

-- 
Alain

Windows XP x64 SP2
PostgreSQL 8.3.5 / MS SQL server 2005
Apache 2.2.10
PHP 5.2.6
C# 2005-2008