The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PDO module/ php mysql not installed

Discussion in 'General Discussion' started by xvaue, Jun 15, 2014.

  1. xvaue

    xvaue Registered

    Joined:
    Jun 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Before we use Joomla 3.02 php5.3.27, rokGallery (one of Joomla based slideshow components) works very well.
    But after upgrade to Joomla 3.2.4 php 5.4.29, all RokGalley modules disappeared.

    Our server is CENTOS 6.5 linux server. RokGallery is V2.29

    We build a menu linking to RokGallery, it pops out error message:

    RokGallery: The PHP PDO module is needed but not installed.
    - The PHP MySQL PDO driver is needed but not installed.

    I ran easyApache with PDO and PDO mysql enabled.
    and also php.ini include below

    extension=pdo.so
    extension=pdo_sqlite.so
    extension=sqlite.so
    extension=pdo_mysql.so

    But still same errors there.

    After consulting our webhoster, they said: "The problem is with the version of PDO and sqlite being incompatible with the version of php, cPanel doesn't currently support PDO for php 5.4. You will either have to use php 5.3 in order to use the supported version of PDO or install a third party PDO version"

    The version of PDO and sqlite provided by cPanel are not compatible with the version of php 5.4 that cPanel provides. The default version of sqlite that cPanel uses is sqlite3.
     
  2. cPanelPeter

    cPanelPeter Technical Analyst III
    Staff Member

    Joined:
    Sep 23, 2013
    Messages:
    569
    Likes Received:
    15
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Have you checked to see if there is a custom php.ini file stored on that customers site? Can you run a simple phpinfio page in there to see if PDO MySQL is installed?
     
  3. xvaue

    xvaue Registered

    Joined:
    Jun 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    we searched in public_html folder, there is only one php.ini

    I searched php information releated with PDO and copy them below:

    API Extensions pdo_mysql

    PDO support enabled
    PDO drivers sqlite, mysql

    PDO Driver for SQLite 3.x enabled
    SQLite Library 3.7.7.1
     
  4. xvaue

    xvaue Registered

    Joined:
    Jun 14, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    oh, yes, after delete this php.ini file, now all becomes normal, since we only run one website on our own dedicated server, so there is no need to put custom php.ini in public_html, right?

    and can you advise what is wrong there if keep this php.ini there, before upgrading, this php.ini also there, there is no problem at all
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    675
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Right, if you only host a single account, then there is no need to use a local php.ini file within the account. The localized php.ini files are not updated the same way the primary php.ini file is updated after EasyApache or PHP extension installations.

    Thank you.
     
Loading...

Share This Page