Re: mysql not working but very odd

From: Date: Fri, 18 Jan 2008 16:19:34 +0000
Subject: Re: mysql not working but very odd
References: 1 2 3 4 5  Groups: php.windows 
Request: Send a blank email to php-windows+get-28740@lists.php.net to get a copy of this message
Didn't really want to either since my 'other' work is specific to IIS etc., but anyway... Stay well Jacob Kruger Blind Biker Skype: BlindZA '...Fate had broken his body, but not his spirit...' ----- Original Message ----- From: "Joaquin Grech" <joaco@bocazas.com> To: "Jacob Kruger" <jacobk@cknet.co.za> Sent: Friday, January 18, 2008 6:01 PM Subject: Re: [PHP-WIN] mysql not working but very odd
Not really, I don't want to run apache at all. On 1/18/08, Jacob Kruger <jacobk@cknet.co.za> wrote:
I had similar problems trying to implement PHP and MySQL within IIs, which is why I went over to the WAMP installation, where I just stop IIs before running Apache on the same port etc., and it so far seems alright from it's side in terms of configuration, extensions etc. Got the link from Bill Bold on this list: http://www.wampserver.com/en/ Not sure if this will help you in your situation, but anyway. Stay well Jacob Kruger Blind Biker Skype: BlindZA '...Fate had broken his body, but not his spirit...' ----- Original Message ----- From: "Joaquin Grech" <joaco@bocazas.com> To: "Jacob Kruger" <jacobk@cknet.co.za> Sent: Friday, January 18, 2008 1:23 AM Subject: Re: [PHP-WIN] mysql not working but very odd
if I run phpinfo() i see it all, even the mysql module is loaded up that's what it's odd, it seems ok when i run php -i output and when i run phpinfo() but then when i try to actually use mysql it complains it doesn't exists. On 1/17/08, Jacob Kruger <jacobk@cknet.co.za> wrote:
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.


« previous php.windows (#28740) next »