Jump to content

mysql not working inside eclipse php framework


Recommended Posts

I have downloaded pdt-2.1.0-win32-x86.zip and installed phpeclipse.

When I run login-pdo.php script which connects to mysql database, I am getting following error message

 

PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0

 

Why it is looking at sqlite module and not mysql module?

 

Any help form anybody?

Thanks

Chiman

 

Link to comment
Share on other sites

Why it is looking at sqlite module and not mysql module?

 

Its saying your php installation is attempting to load the pdo_sqlite extension twice. Make sure any extension directives within your php.ini files aren't doubled up.

Link to comment
Share on other sites

I had two entries for pdo_sqlite.php in plugin folder: one for php5 and other for php53. Same two entries for pdo_sqlite.dll.

When I deleted entries (for .php and .dll) for php5 and restarted eclipse, I got following error message:

 

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\Program Files\eclipse_php2\eclipse\plugins\org.zend.php.debug.debugger.win32.x86_5.2.26.v20090514\resources\php5\ext\php_pdo_sqlite.dll' - The specified module could not be found.

in Unknown on line 0

 

I appreciate all the help.

Thanks

Chiman

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.