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.

PHP errors

Discussion in 'General Discussion' started by ae9803, Dec 21, 2015.

  1. ae9803

    ae9803 Member

    Joined:
    Dec 21, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Hey Guys,
    I am in a bit of a pickle, I am getting numerous errors in the apache log and I cannot figure out how to work around it.

    Code:
    [Mon Dec 21 13:51:48.772346 2015] [:error] [pid 28497] [client] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/sqlite.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0/
    I know this issue is possibly a result of sqlite.so and mcrypt.so not being installed. But I have reconfigured apache via easypache twice and I know they are both selected. I checked the file location and what is currently installed there is opcache.so* pdo_mysql.so* pdo.so* pdo_sqlite.so* suhosin.so*

    Any help in the right direction is greatly appreciated!
     
    #1 ae9803, Dec 21, 2015
    Last edited by a moderator: Dec 21, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I suggest uploading a PHPINFO file to the same directory as the PHP file that's producing the error message. You can name the file "phpinfo.php" and add the following line to it:

    Code:
    <?php phpinfo(); ?>
    Then, load the page in your browser, and verify the php.ini file path utilized matches /usr/local/lib/php.ini instead of a local php.ini file uploaded to the account.

    Thank you.
     
  3. ae9803

    ae9803 Member

    Joined:
    Dec 21, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Thankyou Michael!
    I verified that the loaded php.ini configuration is

    /opt/alt/php56/etc/php.ini

    I was able to check into this and found that the user was using a local php.ini
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page