Jump to content
  • 0

Flux Error - PDO_Mysql driver


Screwdriver

Question


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

ERROR:

Message: The PDO_MYSQL driver for the PDO extension must be installed to use Flux. Please consult the PHP manual for installation instructions.

PHP.INI:

;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pdo_sqlite_external.dll

phpinfo();

enabled:
sqlite, sqlite2

I'm not understanding my problem. I have it listed in the .INI, and the file is in the EXT folder. I have also restarted Apache many times. Could anyone give me some advice?

~Thank you :D

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Screwdriver,

You might install to install the development libraries; if you have CentOS/Scientific OS, you may use this command...

yum install php-devel php-pear mysql-devel httpd-devel

Then restart your Apache service with...

service httpd restart

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

Hi Screwdriver,

You might install to install the development libraries; if you have CentOS/Scientific OS, you may use this command...

yum install php-devel php-pear mysql-devel httpd-devel

Then restart your Apache service with...

service httpd restart

I don't believe I have CentOS /meh

Not sure if this is of any help, but I use xampp on Windows 7. :mellow:

develdirectory.jpg

This is inside the php-devel folder I had found.. It was in a rar file, so I extracted it. Does anyone know how I can fix my problem stated in the first post?

Does anyone know how I can fix this?

Edited by Screwdriver
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

Still not sure how I can fix this.. Is it because of the webhost, which my site/docs are located under? /thx

Edited by Screwdriver
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  01/01/13
  • Last Seen:  

i suggest u installing wamp server from there you can enable pdo extension, i also got the same erro i installed wamp and finded the solution..

;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pdo_sqlite_external.dll

remove all ;

extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pdo_sqlite_external.dll

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  52
  • Reputation:   0
  • Joined:  01/05/13
  • Last Seen:  

i suggest u installing wamp server from there you can enable pdo extension, i also got the same erro i installed wamp and finded the solution..

;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pdo_sqlite_external.dll

remove all ;

extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pdo_sqlite_external.dll

What version of wamp do you have, because I've tried wamp too, but it doesn't work for me.

I could be configuring it wrong though, I'm not very familiar with it. Thanks for writing back though :D

If I go to myro.com/phpinfo.php.. I get this info.

phpvers.jpg

Would I be able to run the Pdo Extensions with this version? I'm not quite sure what I'm supposed to do here. /panic

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  8
  • Reputation:   0
  • Joined:  01/01/13
  • Last Seen:  

i suggest u installing wamp server from there you can enable pdo extension, i also got the same erro i installed wamp and finded the solution..

;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
;extension=php_pdo_sqlite.dll
;extension=php_pdo_sqlite_external.dll

remove all ;

extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pdo_sqlite_external.dll

What version of wamp do you have, because I've tried wamp too, but it doesn't work for me.

I could be configuring it wrong though, I'm not very familiar with it. Thanks for writing back though :D

If I go to myro.com/phpinfo.php.. I get this info.

phpvers.jpg

Would I be able to run the Pdo Extensions with this version? I'm not quite sure what I'm supposed to do here. /panic

when u start your wamp server you can see in system tray icon left click on it goto

php>php extension and just tick the following pdo's u need...

and did u changed in windows php.ini file too....

Link to comment
Share on other sites

×
×
  • Create New...