Jump to content

Archived

This topic is now archived and is closed to further replies.

drunkelf

Phpmyadmit Refuses To Work

Recommended Posts

I followed all of the instructions and it still does not work.Here is the instructions

 

here is my error

 

 

cannot load mysql extension;

please check PHP configuration

 

 

<snip mod: removed hundreds of lines of copy/pasted phpmyadmin instructions and phpmyadmin config file>

Share this post


Link to post
Share on other sites

I followed all of the instructions and it still does not work.Here is the instructions

 

here is my error

 

 

cannot load mysql extension;

please check PHP configuration

 

You need to enable php's mysql extension in your php configuration (php.ini)

 

How you do this depends on how you obtained and installed php. ?

Share this post


Link to post
Share on other sites

Like this you can see that mysql has been uncommented in my php.ini file

 

 

;extension=php_mssql.dll

;extension=php_msql.dll

extension=php_mysql.dll

extension=php_mysqli.dll

;extension=php_oci8.dll

;extension=php_openssl.dll

Share this post


Link to post
Share on other sites

Did you stop and start your web server to get any changes made to the master php.ini to take effect?

 

Did you use a phpinfo statement in a .php script to confirm that the mysql extension got loaded?

 

Are you sure that is the php.ini that php is using?

Share this post


Link to post
Share on other sites

I restarted both mysql and apache I am looking at php info but dont know what to look for because I did not find anything about mysql

Share this post


Link to post
Share on other sites

If mysql doesn't appear in the phpinfo output, it's not enabled.

 

The Loaded Configuration File line in the phpinfo output is the php.ini that php is using. Make sure that's the one you are changing.

 

If you are changing the correct php.ini how did you obtain and install php, as the determines how you enable php extensions or if you need to make further changes to the php.ini to get php to be able to find the extension .dll files?

Share this post


Link to post
Share on other sites

This might be a dumb question but would the information about mysql in php info be plain english?I want to know what to look

 

thank you

Share this post


Link to post
Share on other sites

Yes, if its enabled, there's a section of settings with a bold mysql heading.

Share this post


Link to post
Share on other sites

if your uncommenting dll's then i can presume you are using a windows machine. Why not try a couple of alternative server stacks that have everything in place for you. Zend server community edition comes with phpmyadmin pre configured for you, and WAMP is alos a good server to use.

Share this post


Link to post
Share on other sites

PLease be pateint with me I am only starting out.I see there is a heading for sq lite and that sq lite has something to do with databases.That has nothing to do with my sql right?

Share this post


Link to post
Share on other sites

SQLite is an alternative to MySQL and other databases, which can without problems be enabled (or disabled) completely unrelated to any of the other DB alternatives.

So, no: It has nothing to do with "your sql".

 

Have you verified that you're editing the proper php.ini file?

Share this post


Link to post
Share on other sites

yes that I am sure off.I will go through all the "adjustments" I made to php.ini when I first "installed" it otherwise I will use another pc.I am thinking instead of installing php 5 because that is the one used it my book I will install the latest and instead of installing phpmyadmin 2.6.4.p1 I will install the latest I am also going to use a windows installer instead of copying files like david powers told me too.

 

Hopefully I can follow the book using diffrint versions of these programs

Share this post


Link to post
Share on other sites

it works baby!sadly my book by david powers uses difrrint versions of these programs but he did say to install the latest versions availible so I am sure that I will be able to make sense of it.This wamp server thingy is so cool so easy.You can close the thead now

Share this post


Link to post
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.