Skip to main content

PDO is enabled but Joomla has PDO issue?

Comments

8 comments

  • cPanelMichael
    Hello :) Check to see if you are using an individual php.ini file within the account. You can also install "PDO" as a PECL module. EX: pecl install pdo
    Thank you.
    0
  • postcd
    It is Joomla and i did not found php.ini in that site folder nor in includes folder. Im currently in the middle of easyapache build because of that issue i executed it from within WHM :-( so "pecl install pdo" im afraid if it cant anyhow interfere with easyapache build process. Not sure why this all happend when i switched from CGI to SuPHP handler.
    0
  • cPanelMichael
    Let us know if you experience the issue after installing the PDO Pecl module when EasyApache completes. Thank you.
    0
  • postcd
    [quote="cPanelMichael, post: 1645362">You can also install "PDO" as a PECL module. EX: pecl install pdo

    I tried it and result: [QUOTE]pecl install pdo WARNING: "pecl/PDO" is deprecated in favor of "channel://http://svn.php.net/viewvc/php/php-src/trunk/ext/pdo//ext/ PDO" downloading PDO-1.0.3.tgz ... Starting to download PDO-1.0.3.tgz (52,613 bytes) .............done: 52,613 bytes 12 source files, building running: phpize ... many lines there ... /root/tmp/pear/PDO/pdo_dbh.c:1122: warning: assignment discards qualifiers from pointer target type /root/tmp/pear/PDO/pdo_dbh.c:1126: warning: assignment discards qualifiers from pointer target type make: *** [pdo_dbh.lo] Error 1 ERROR: `make' failed
    0
  • cPanelMichael
    Actually, with PHP 5.3, you should enable PDO with EasyApache. Do you notice any difference in output after selecting PDO in your EasyApache build profile and rebuilding Apache/PHP? It should look like this: # php -m|grep PDO PDO
    Thank you.
    0
  • postcd
    It dont return PDO, Michael. I submitted ticket at a time i created this topic, but so far no one of 3 involved technicians discovered why after EasyApache build PHP modules are not loaded. (even PDO is selected in easy apache) As i say i remember i only switched from cgi to suphp and restarted apache, then found these errors and php -m dont return modules selected in EasyApache.
    0
  • postcd
    [COLOR="#006400">This issue was fixed. The cause was bad directive which i added into php.ini
    0
  • cPanelMichael
    I am happy to see the issue was resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.