Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

"pdo_mysql.so ? duplicate?

Discussion in 'General Discussion' started by selvamurali, Nov 7, 2011.

  1. selvamurali

    selvamurali Active Member

    Joined:
    Jan 15, 2009
    Messages:
    31
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi All
    i face some problem in in my site.
    what it means all my site which is under cpanel/whm have get huge size of error_log.
    after we find the error_log file the same line is repaed
    like
    HTML:
    [05-Nov-2011 22:54:34] PHP Warning:  Module 'pdo_sqlite' already loaded in Unknown on line 0
    [05-Nov-2011 22:54:34] PHP Warning:  Module 'SQLite' already loaded in Unknown on line 0
    [05-Nov-2011 22:54:34] PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0
    [05-Nov-2011 23:09:23] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 35 bytes) in /disk2/asedt/public_html/subdomain/libraries/joomla/filesystem/folder.php on line 408
    
    i find php.ini file that extension . that line is below


    HTML:
    extension = "pdo.so"
    extension = "pdo_sqlite.so"
    extension = "sqlite.so"
    extension = "pdo_mysql.so"
    extension = "pdo.so"
    extension = "pdo_sqlite.so"
    extension = "sqlite.so"
    extension = "pdo_mysql.so"
    extension = "pdo.so"
    extension = "pdo_sqlite.so"
    extension = "sqlite.so"
    extension = "pdo_mysql.so"
    extension = "pdo.so"
    extension = "pdo_sqlite.so"
    extension = "sqlite.so"
    extension = "pdo_mysql.so"
    which line i need remove . please guide me. all that site have face memory limit error. but i increase php memory value 64 to 128. but no improvement kindly help me
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,608
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    For the pdo lines, change to the following:

    Code:
    extension = "pdo.so"
    extension = "pdo_sqlite.so"
    extension = "sqlite.so"
    extension = "pdo_mysql.so"
    For the memory error, it might well be due to RLimitMEM in httpd.conf file, so you'd want to check if there are any such limits in Apache configuration:

    Code:
    grep -i rlimit /usr/local/apache/conf/httpd.conf
    If there is an RLimitMEM line in httpd.conf file, then comment it out:

    Code:
    #RLimitMEM
    At that point, restart Apache to see if the errors still occur:

    Code:
    /scripts/restartsrv_httpd
    If they do not, then you can permanently remove the RLimitMEM by removing the line, then running the following commands:

    Code:
    /usr/local/cpanel/bin/apache_conf_distiller --update
    /scripts/rebuildhttpdconf
    /scripts/restartsrv_httpd
    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice