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.

Can't enable PDO through easy apache (phpinfo display ok).

Discussion in 'EasyApache' started by kaitux, Dec 2, 2012.

  1. kaitux

    kaitux Member

    Joined:
    Dec 2, 2012
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    At the very start would like to say cheers to all of You.
    Now lets chat about my problem which drive me crazy. I launched new server build on latest cPanel. I moved first accounts but one of my customer website require PDO. I looked over the forum found a solution. I enabled PDO through easyapache module. I touched test.php on mentioned website and phpinfo() shows:
    --enable-pdo=shared
    --with-pdo-mysql=shared
    --with-pdo-sqlite=shared

    There is also lines in main php.ini:
    extension=pdo.so
    extension=pdo_sqlite.so
    extension=pdo_mysql.so

    ...and there is no custom php.ini at the customer's home.

    So technically everything seems to be fine, but there is still error at the webpage which says Class PDO not found.
    Don't know what's going on. So please would somebody would like to be so kind and help me with this issue? ;)
    Thanks a lot and best regards.
     
  2. mitomind

    mitomind Registered

    Joined:
    Dec 20, 2012
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    What os are you using? 32bit / 64bit?
     
Loading...

Share This Page