mysql not working but very odd

mysql not working but very odd

am 17.01.2008 06:49:55 von Joaquin Grech

------=_NextPart_000_0008_01C858A2.E20984C0
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Ok,

I had php installed on a server with mysql module and I just copied all the
files over to a new machine. It didn't work. I tried reinstalling and all,
still same issue.

I ran php -I output and it seems to be all ok, this is part of the output:



mysql



MySQL Support => enabled

Active Persistent Links => 0

Active Links => 0

Client API version => 5.0.37



Directive => Local Value => Master Value

mysql.allow_persistent => On => On

mysql.connect_timeout => 60 => 60

mysql.default_host => localhost => localhost

mysql.default_password => no value => no value

mysql.default_port => 3306 => 3306

mysql.default_socket => no value => no value

mysql.default_user => no value => no value

mysql.max_links => Unlimited => Unlimited

mysql.max_persistent => Unlimited => Unlimited

mysql.trace_mode => Off => Off







Now, when I try to load a page I get an error:

This page cannot be displayed due to an internal error.

You can provide the following information to the administrators of this site
to help them solve the problem:

Error: mysql extension not loaded



You can see the error in http://www.unionlatina.org/



Any ideas what's going on? I tried putting the files in c:\windows\system32
and same thing, I can't think of anything else. I've installed, reinstalled,
restarted, removed, downgraded, upgraded, copy the exact files. nothing
always the same error.


------=_NextPart_000_0008_01C858A2.E20984C0--

Re: mysql not working but very odd

am 17.01.2008 20:50:44 von Jacob Kruger

Not sure if this is relevant, but if you run phpinfo(), it should tell you
which php.ini is being implemented, and in that, maybe just double-check
that the correct paths for the ext's is being implemented to actually load
those extensions.

HTH

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "Joaquin Grech" <
joaco@bocazas.com>
To: <
php-windows@lists.php.net>
Sent: Thursday, January 17, 2008 3:02 PM
Subject: [PHP-WIN] mysql not working but very odd

> Ok,
>
> I had php installed on a server with mysql module and I just copied all
> the
> files over to a new machine. It didn't work. I tried reinstalling and all,
> still same issue.
>
> I ran php -I output and it seems to be all ok, this is part of the output:
>
>
>
> mysql
>
>
>
> MySQL Support => enabled
>
> Active Persistent Links => 0
>
> Active Links => 0
>
> Client API version => 5.0.37
>
>
>
> Directive => Local Value => Master Value
>
> mysql.allow_persistent => On => On
>
> mysql.connect_timeout => 60 => 60
>
> mysql.default_host => localhost => localhost
>
> mysql.default_password => no value => no value
>
> mysql.default_port => 3306 => 3306
>
> mysql.default_socket => no value => no value
>
> mysql.default_user => no value => no value
>
> mysql.max_links => Unlimited => Unlimited
>
> mysql.max_persistent => Unlimited => Unlimited
>
> mysql.trace_mode => Off => Off
>
>
>
>
>
>
>
> Now, when I try to load a page I get an error:
>
> This page cannot be displayed due to an internal error.
>
> You can provide the following information to the administrators of this
> site
> to help them solve the problem:
>
> Error: mysql extension not loaded
>
>
>
> You can see the error in
http://www.unionlatina.org/
>
>
>
> Any ideas what's going on? I tried putting the files in
> c:\windows\system32
> and same thing, I can't think of anything else. I've installed,
> reinstalled,
> restarted, removed, downgraded, upgraded, copy the exact files. nothing
> always the same error.
>
>


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

Re: mysql not working but very odd

am 17.01.2008 21:46:07 von Bruce Cowin

And if it's not pointing to the php.ini file you may need the registry
entry as per my previous email.



Regards,

Bruce

>>> "Jacob Kruger" 18/01/2008 8:50:44 a.m. >>>
Not sure if this is relevant, but if you run phpinfo(), it should tell
you
which php.ini is being implemented, and in that, maybe just
double-check
that the correct paths for the ext's is being implemented to actually
load
those extensions.

HTH

Jacob Kruger
Blind Biker
Skype: BlindZA
'...Fate had broken his body, but not his spirit...'

----- Original Message -----
From: "Joaquin Grech" <
joaco@bocazas.com>
To: <
php-windows@lists.php.net>
Sent: Thursday, January 17, 2008 3:02 PM
Subject: [PHP-WIN] mysql not working but very odd

> Ok,
>
> I had php installed on a server with mysql module and I just copied
all
> the
> files over to a new machine. It didn't work. I tried reinstalling and
all,
> still same issue.
>
> I ran php -I output and it seems to be all ok, this is part of the
output:
>
>
>
> mysql
>
>
>
> MySQL Support => enabled
>
> Active Persistent Links => 0
>
> Active Links => 0
>
> Client API version => 5.0.37
>
>
>
> Directive => Local Value => Master Value
>
> mysql.allow_persistent => On => On
>
> mysql.connect_timeout => 60 => 60
>
> mysql.default_host => localhost => localhost
>
> mysql.default_password => no value => no value
>
> mysql.default_port => 3306 => 3306
>
> mysql.default_socket => no value => no value
>
> mysql.default_user => no value => no value
>
> mysql.max_links => Unlimited => Unlimited
>
> mysql.max_persistent => Unlimited => Unlimited
>
> mysql.trace_mode => Off => Off
>
>
>
>
>
>
>
> Now, when I try to load a page I get an error:
>
> This page cannot be displayed due to an internal error.
>
> You can provide the following information to the administrators of
this
> site
> to help them solve the problem:
>
> Error: mysql extension not loaded
>
>
>
> You can see the error in
http://www.unionlatina.org/
>
>
>
> Any ideas what's going on? I tried putting the files in
> c:\windows\system32
> and same thing, I can't think of anything else. I've installed,
> reinstalled,
> restarted, removed, downgraded, upgraded, copy the exact files.
nothing
> always the same error.
>
>


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

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

Re: mysql not working but very odd

am 18.01.2008 17:11:46 von Joaquin Grech

bruce,
I just upgraded php to make sure all is good and i see this problem,
my php.ini is in c:\php but it's reading it from c:\windows
i copied it over but same problem, any ideas?

On 1/17/08, Bruce Cowin wrote:
> And if it's not pointing to the php.ini file you may need the registry
> entry as per my previous email.
>
>
>
> Regards,
>
> Bruce
>
> >>> "Jacob Kruger" 18/01/2008 8:50:44 a.m. >>>
> Not sure if this is relevant, but if you run phpinfo(), it should tell
> you
> which php.ini is being implemented, and in that, maybe just
> double-check
> that the correct paths for the ext's is being implemented to actually
> load
> those extensions.
>
> HTH
>
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...Fate had broken his body, but not his spirit...'
>
> ----- Original Message -----
> From: "Joaquin Grech" <
> joaco@bocazas.com>
> To: <
> php-windows@lists.php.net>
> Sent: Thursday, January 17, 2008 3:02 PM
> Subject: [PHP-WIN] mysql not working but very odd
>
> > Ok,
> >
> > I had php installed on a server with mysql module and I just copied
> all
> > the
> > files over to a new machine. It didn't work. I tried reinstalling and
> all,
> > still same issue.
> >
> > I ran php -I output and it seems to be all ok, this is part of the
> output:
> >
> >
> >
> > mysql
> >
> >
> >
> > MySQL Support => enabled
> >
> > Active Persistent Links => 0
> >
> > Active Links => 0
> >
> > Client API version => 5.0.37
> >
> >
> >
> > Directive => Local Value => Master Value
> >
> > mysql.allow_persistent => On => On
> >
> > mysql.connect_timeout => 60 => 60
> >
> > mysql.default_host => localhost => localhost
> >
> > mysql.default_password => no value => no value
> >
> > mysql.default_port => 3306 => 3306
> >
> > mysql.default_socket => no value => no value
> >
> > mysql.default_user => no value => no value
> >
> > mysql.max_links => Unlimited => Unlimited
> >
> > mysql.max_persistent => Unlimited => Unlimited
> >
> > mysql.trace_mode => Off => Off
> >
> >
> >
> >
> >
> >
> >
> > Now, when I try to load a page I get an error:
> >
> > This page cannot be displayed due to an internal error.
> >
> > You can provide the following information to the administrators of
> this
> > site
> > to help them solve the problem:
> >
> > Error: mysql extension not loaded
> >
> >
> >
> > You can see the error in
> http://www.unionlatina.org/
> >
> >
> >
> > Any ideas what's going on? I tried putting the files in
> > c:\windows\system32
> > and same thing, I can't think of anything else. I've installed,
> > reinstalled,
> > restarted, removed, downgraded, upgraded, copy the exact files.
> nothing
> > always the same error.
> >
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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

RE: mysql not working but very odd

am 18.01.2008 17:25:49 von luis.moreira

On PHP.INI you should have a line like "extension_dir" that says which
directory holds the extensions, I think.

Do you ?
Is it correct and pointing to were you do have the extensions ?


Luis Moreira


-----Original Message-----
From: Joaquin Grech [mailto:joaco@bocazas.com]
Sent: sexta-feira, 18 de Janeiro de 2008 16:12
To: Bruce Cowin
Cc: Jacob Kruger; Subject: Re: [PHP-WIN] mysql not working but very odd

bruce,
I just upgraded php to make sure all is good and i see this problem,
my php.ini is in c:\php but it's reading it from c:\windows
i copied it over but same problem, any ideas?

On 1/17/08, Bruce Cowin wrote:
> And if it's not pointing to the php.ini file you may need the registry
> entry as per my previous email.
>
>
>
> Regards,
>
> Bruce
>
> >>> "Jacob Kruger" 18/01/2008 8:50:44 a.m. >>>
> Not sure if this is relevant, but if you run phpinfo(), it should tell
> you
> which php.ini is being implemented, and in that, maybe just
> double-check
> that the correct paths for the ext's is being implemented to actually
> load
> those extensions.
>
> HTH
>
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...Fate had broken his body, but not his spirit...'
>
> ----- Original Message -----
> From: "Joaquin Grech" <
> joaco@bocazas.com>
> To: <
> php-windows@lists.php.net>
> Sent: Thursday, January 17, 2008 3:02 PM
> Subject: [PHP-WIN] mysql not working but very odd
>
> > Ok,
> >
> > I had php installed on a server with mysql module and I just copied
> all
> > the
> > files over to a new machine. It didn't work. I tried reinstalling and
> all,
> > still same issue.
> >
> > I ran php -I output and it seems to be all ok, this is part of the
> output:
> >
> >
> >
> > mysql
> >
> >
> >
> > MySQL Support => enabled
> >
> > Active Persistent Links => 0
> >
> > Active Links => 0
> >
> > Client API version => 5.0.37
> >
> >
> >
> > Directive => Local Value => Master Value
> >
> > mysql.allow_persistent => On => On
> >
> > mysql.connect_timeout => 60 => 60
> >
> > mysql.default_host => localhost => localhost
> >
> > mysql.default_password => no value => no value
> >
> > mysql.default_port => 3306 => 3306
> >
> > mysql.default_socket => no value => no value
> >
> > mysql.default_user => no value => no value
> >
> > mysql.max_links => Unlimited => Unlimited
> >
> > mysql.max_persistent => Unlimited => Unlimited
> >
> > mysql.trace_mode => Off => Off
> >
> >
> >
> >
> >
> >
> >
> > Now, when I try to load a page I get an error:
> >
> > This page cannot be displayed due to an internal error.
> >
> > You can provide the following information to the administrators of
> this
> > site
> > to help them solve the problem:
> >
> > Error: mysql extension not loaded
> >
> >
> >
> > You can see the error in
> http://www.unionlatina.org/
> >
> >
> >
> > Any ideas what's going on? I tried putting the files in
> > c:\windows\system32
> > and same thing, I can't think of anything else. I've installed,
> > reinstalled,
> > restarted, removed, downgraded, upgraded, copy the exact files.
> nothing
> > always the same error.
> >
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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

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

Re: mysql not working but very odd

am 20.01.2008 20:40:30 von Bruce Cowin

You need a registry entry in HKLM\Software\PHP called IniFilePath set
to where your ini file is. This will get it to load the correct ini
file, so then the extensions should be loaded. Put the following into a
..reg file and run it and it will create the entry required.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\PHP]
"IniFilePath"="C:\\PHP"



Regards,

Bruce

>>> "Joaquin Grech" 19/01/2008 5:11:46 a.m. >>>
bruce,
I just upgraded php to make sure all is good and i see this problem,
my php.ini is in c:\php but it's reading it from c:\windows
i copied it over but same problem, any ideas?

On 1/17/08, Bruce Cowin wrote:
> And if it's not pointing to the php.ini file you may need the
registry
> entry as per my previous email.
>
>
>
> Regards,
>
> Bruce
>
> >>> "Jacob Kruger" 18/01/2008 8:50:44 a.m. >>>
> Not sure if this is relevant, but if you run phpinfo(), it should
tell
> you
> which php.ini is being implemented, and in that, maybe just
> double-check
> that the correct paths for the ext's is being implemented to
actually
> load
> those extensions.
>
> HTH
>
> Jacob Kruger
> Blind Biker
> Skype: BlindZA
> '...Fate had broken his body, but not his spirit...'
>
> ----- Original Message -----
> From: "Joaquin Grech" <
> joaco@bocazas.com>
> To: <
> php-windows@lists.php.net>
> Sent: Thursday, January 17, 2008 3:02 PM
> Subject: [PHP-WIN] mysql not working but very odd
>
> > Ok,
> >
> > I had php installed on a server with mysql module and I just
copied
> all
> > the
> > files over to a new machine. It didn't work. I tried reinstalling
and
> all,
> > still same issue.
> >
> > I ran php -I output and it seems to be all ok, this is part of the
> output:
> >
> >
> >
> > mysql
> >
> >
> >
> > MySQL Support => enabled
> >
> > Active Persistent Links => 0
> >
> > Active Links => 0
> >
> > Client API version => 5.0.37
> >
> >
> >
> > Directive => Local Value => Master Value
> >
> > mysql.allow_persistent => On => On
> >
> > mysql.connect_timeout => 60 => 60
> >
> > mysql.default_host => localhost => localhost
> >
> > mysql.default_password => no value => no value
> >
> > mysql.default_port => 3306 => 3306
> >
> > mysql.default_socket => no value => no value
> >
> > mysql.default_user => no value => no value
> >
> > mysql.max_links => Unlimited => Unlimited
> >
> > mysql.max_persistent => Unlimited => Unlimited
> >
> > mysql.trace_mode => Off => Off
> >
> >
> >
> >
> >
> >
> >
> > Now, when I try to load a page I get an error:
> >
> > This page cannot be displayed due to an internal error.
> >
> > You can provide the following information to the administrators of
> this
> > site
> > to help them solve the problem:
> >
> > Error: mysql extension not loaded
> >
> >
> >
> > You can see the error in
> http://www.unionlatina.org/
> >
> >
> >
> > Any ideas what's going on? I tried putting the files in
> > c:\windows\system32
> > and same thing, I can't think of anything else. I've installed,
> > reinstalled,
> > restarted, removed, downgraded, upgraded, copy the exact files.
> nothing
> > always the same error.
> >
> >
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

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