Welcome to WebmasterWorld Guest from 54.196.214.35

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Did not showing loaded modules.

Showing in phpinfo() but still giving error

     
5:18 pm on Feb 11, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 3, 2005
posts: 131
votes: 0


Hi,

I am using an application which requires pdo & pdo_mysql extensions to work. Application is running on shared hosting env. now when I use phpinfo to check php configuration it is showing

with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '

under configure command section, but now when I use extension_loaded() function to check loaded extension it is not showing both extension and I am also getting error that both extensions should be loaded to work application.

When I contacted hosting company they are showing me phpinfo that extensions are already loaded.

I have searched abt this in forum too but did not find any solution. So can any one please help me. Thanks.

7:21 pm on Feb 11, 2009 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


There are many ways to determine if an extension is loaded or not, another function is get_loaded_extensions [php.net].

What is the error you are receiving?

6:55 pm on Feb 13, 2009 (gmt 0)

Junior Member

10+ Year Member

joined:Sept 3, 2005
posts: 131
votes: 0


Thanks for reply,

I have used this function too, but still it is not showing do & pdo_mysql in loaded extensions.

Actually I am trying to install magento, during setup it is saying "PHP Extension "pdo_mysql" must be loaded"

When i have talked with host they still saying that, extension is already enabled. So can you please guide me.

8:47 pm on Feb 13, 2009 (gmt 0)

Administrator

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
posts:12533
votes: 0


I would tear into the code you are attempting to install to see where it is getting hung up. Maybe from there you can determine why the installation script is hanging (if the extensions are indeed loaded).