PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non-zts

jdilegge

Member
Dec 17, 2010
13
0
51
Boston, Ma
These are filling the logs on my server for every site. I am not running Ioncude or zend optimizer and I did not choose to install sqlite in easyapache, yet it seems to keep trying to use it. Please tell me what to do, I refuse to go below php 5.3. I have already tried "/scripts/upcp --force" and No problems updating/upgrading via yum.

Code:
[03-May-2011 16:23:59] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
Here is my apache setup:
Code:
--- 
Apache: 
  optmods: 
    Access: 1
    Actions: 1
    Alias: 1
    Asis: 0
    AuthAnon: 0
    AuthDB: 0
    AuthDBM: 0
    AuthDigest: 0
    AuthLDAP: 0
    AuthnAlias: 0
    AuthnAnon: 0
    AuthnDBD: 0
    AuthnDBM: 0
    AuthnDefault: 0
    AuthnzLDAP: 0
    AuthzDBM: 0
    AuthzHost: 1
    AuthzOwner: 0
    Autoindex: 1
    Bucketeer: 0
    Cache: 0
    CaseFilter: 0
    CaseFilterIn: 0
    CernMeta: 0
    CharsetLite: 0
    DAVFs: 0
    DAVLock: 0
    DBD: 0
    DIR: 1
    Dav: 0
    Deflate: 1
    DiskCache: 0
    Distcache: 0
    Dumpio: 0
    Echo: 0
    Env: 0
    Expires: 1
    ExtFilter: 0
    Fastcgi: 0
    FileCache: 0
    Fileprotect: 1
    FollowSymLinks_to_OwnerMatch: 1
    Frontpage: 0
    Headers: 1
    Ident: 0
    Imagemap: 0
    LDAP: 0
    LogAgent: 0
    LogConfig: 1
    LogForensic: 0
    LogReferer: 0
    MPMEvent: 0
    MPMLeader: 0
    MPMPerchild: 0
    MPMPrefork: 1
    MPMThreadpool: 0
    MPMWorker: 0
    MemCache: 0
    Mime: 1
    MimeMagic: 0
    MmapStatic: 0
    Negotiation: 1
    OptionalFnExport: 0
    OptionalFnImport: 0
    OptionalHookExport: 0
    OptionalHookImport: 0
    PHPAsUser: 1
    Proxy: 1
    RaiseFDSetsize: 0
    RaiseHardServerLimit: 0
    Rewrite: 0
    Setenvif: 1
    Speling: 0
    Status: 1
    UniqueId: 0
    Userdir: 1
    Usertrack: 0
    Version: 0
    VhostAlias: 0
  version: 2_2
Cpanel::Easy::EAccelerator: 0
Cpanel::Easy::IonCubeLoader: 0
Cpanel::Easy::ModBandwidth: 0
Cpanel::Easy::ModCloudflare: 0
Cpanel::Easy::ModGzip: 0
Cpanel::Easy::ModJk5: 0
Cpanel::Easy::ModMono: 0
Cpanel::Easy::ModMono2: 0
Cpanel::Easy::ModPerl: 0
Cpanel::Easy::ModSec: 0
Cpanel::Easy::PHP4: 0
Cpanel::Easy::PHP4::4_4: 0
Cpanel::Easy::PHP4::4_5: 0
Cpanel::Easy::PHP4::4_6: 0
Cpanel::Easy::PHP4::4_7: 0
Cpanel::Easy::PHP4::4_8: 0
Cpanel::Easy::PHP4::4_9: 1
Cpanel::Easy::PHP4::Bcmath: 0
Cpanel::Easy::PHP4::Bz2: 0
Cpanel::Easy::PHP4::CGI: 0
Cpanel::Easy::PHP4::Calendar: 0
Cpanel::Easy::PHP4::Concurrent: 0
Cpanel::Easy::PHP4::Curl: 0
Cpanel::Easy::PHP4::CurlSSL: 0
Cpanel::Easy::PHP4::DBX: 0
Cpanel::Easy::PHP4::Dbase: 0
Cpanel::Easy::PHP4::DiscardPath: 0
Cpanel::Easy::PHP4::DomXslt: 0
Cpanel::Easy::PHP4::Exif: 0
Cpanel::Easy::PHP4::FTP: 0
Cpanel::Easy::PHP4::Fastcgi: 0
Cpanel::Easy::PHP4::ForceCGIRedirect: 0
Cpanel::Easy::PHP4::GD: 0
Cpanel::Easy::PHP4::Gettext: 0
Cpanel::Easy::PHP4::HardPHP: 0
Cpanel::Easy::PHP4::Iconv: 0
Cpanel::Easy::PHP4::Imap: 0
Cpanel::Easy::PHP4::Java: 0
Cpanel::Easy::PHP4::MM: 0
Cpanel::Easy::PHP4::MagicQuotes: 0
Cpanel::Easy::PHP4::MailHeaders: 0
Cpanel::Easy::PHP4::Mbregex: 1
Cpanel::Easy::PHP4::Mbstring: 0
Cpanel::Easy::PHP4::Mcrypt: 0
Cpanel::Easy::PHP4::MemoryLimit: 0
Cpanel::Easy::PHP4::Mhash: 0
Cpanel::Easy::PHP4::MimeMagic: 0
Cpanel::Easy::PHP4::Ming: 0
Cpanel::Easy::PHP4::MysqlOfSystem: 0
Cpanel::Easy::PHP4::Openssl: 0
Cpanel::Easy::PHP4::PDFLib: 0
Cpanel::Easy::PHP4::POSIX: 1
Cpanel::Easy::PHP4::PathInfoCheck: 1
Cpanel::Easy::PHP4::Pear: 1
Cpanel::Easy::PHP4::Pgsql: 0
Cpanel::Easy::PHP4::Pspell: 0
Cpanel::Easy::PHP4::SNMP: 0
Cpanel::Easy::PHP4::SafeMode: 0
Cpanel::Easy::PHP4::SafePHPCGI: 0
Cpanel::Easy::PHP4::Sockets: 0
Cpanel::Easy::PHP4::Swf: 0
Cpanel::Easy::PHP4::TTF: 0
Cpanel::Easy::PHP4::Versioning: 0
Cpanel::Easy::PHP4::Wddx: 0
Cpanel::Easy::PHP4::XmlRPC: 0
Cpanel::Easy::PHP4::XsltSablot: 0
Cpanel::Easy::PHP4::ZendMultibyte: 0
Cpanel::Easy::PHP4::Zip: 0
Cpanel::Easy::PHP4::Zlib: 0
Cpanel::Easy::PHP5: 1
Cpanel::Easy::PHP5::2_17: 0
Cpanel::Easy::PHP5::2_9: 0
Cpanel::Easy::PHP5::3_5: 0
Cpanel::Easy::PHP5::3_6: 1
Cpanel::Easy::PHP5::Bcmath: 1
Cpanel::Easy::PHP5::Bz2: 0
Cpanel::Easy::PHP5::CGI: 0
Cpanel::Easy::PHP5::Calendar: 1
Cpanel::Easy::PHP5::Concurrent: 0
Cpanel::Easy::PHP5::Curl: 1
Cpanel::Easy::PHP5::CurlSSL: 1
Cpanel::Easy::PHP5::Curlwrappers: 0
Cpanel::Easy::PHP5::DBX: 0
Cpanel::Easy::PHP5::Dbase: 0
Cpanel::Easy::PHP5::DiscardPath: 0
Cpanel::Easy::PHP5::Enchant: 0
Cpanel::Easy::PHP5::Exif: 0
Cpanel::Easy::PHP5::Expat: 0
Cpanel::Easy::PHP5::FTP: 1
Cpanel::Easy::PHP5::Fastcgi: 0
Cpanel::Easy::PHP5::FileInfo: 0
Cpanel::Easy::PHP5::ForceCGIRedirect: 0
Cpanel::Easy::PHP5::GD: 1
Cpanel::Easy::PHP5::Gettext: 0
Cpanel::Easy::PHP5::HardPHP: 0
Cpanel::Easy::PHP5::Iconv: 0
Cpanel::Easy::PHP5::Imap: 1
Cpanel::Easy::PHP5::Intl: 0
Cpanel::Easy::PHP5::Java: 0
Cpanel::Easy::PHP5::MM: 0
Cpanel::Easy::PHP5::MagicQuotes: 1
Cpanel::Easy::PHP5::MailHeaders: 0
Cpanel::Easy::PHP5::Mbregex: 0
Cpanel::Easy::PHP5::Mbstring: 0
Cpanel::Easy::PHP5::Mcrypt: 1
Cpanel::Easy::PHP5::MemoryLimit: 0
Cpanel::Easy::PHP5::Mhash: 0
Cpanel::Easy::PHP5::MimeMagic: 0
Cpanel::Easy::PHP5::Ming: 0
Cpanel::Easy::PHP5::Mysql: 1
Cpanel::Easy::PHP5::MysqlOfSystem: 1
Cpanel::Easy::PHP5::Mysqli: 0
Cpanel::Easy::PHP5::Openssl: 1
Cpanel::Easy::PHP5::PDFLib: 0
Cpanel::Easy::PHP5::PDO: 0
Cpanel::Easy::PHP5::PDOMySQL: 0
Cpanel::Easy::PHP5::POSIX: 0
Cpanel::Easy::PHP5::PathInfoCheck: 0
Cpanel::Easy::PHP5::Pear: 1
Cpanel::Easy::PHP5::Pgsql: 0
Cpanel::Easy::PHP5::Phar: 1
Cpanel::Easy::PHP5::Pspell: 1
Cpanel::Easy::PHP5::SNMP: 0
Cpanel::Easy::PHP5::SOAP: 0
Cpanel::Easy::PHP5::SQLite3: 1
Cpanel::Easy::PHP5::SafeMode: 0
Cpanel::Easy::PHP5::SafePHPCGI: 0
Cpanel::Easy::PHP5::SilenceDeprecatedPatch: 0
Cpanel::Easy::PHP5::Sockets: 1
Cpanel::Easy::PHP5::Swf: 0
Cpanel::Easy::PHP5::TTF: 1
Cpanel::Easy::PHP5::Tidy: 0
Cpanel::Easy::PHP5::Versioning: 0
Cpanel::Easy::PHP5::Wddx: 0
Cpanel::Easy::PHP5::WithoutIconv: 0
Cpanel::Easy::PHP5::XSL: 1
Cpanel::Easy::PHP5::XmlRPC: 0
Cpanel::Easy::PHP5::XsltSablot: 0
Cpanel::Easy::PHP5::ZendMultibyte: 0
Cpanel::Easy::PHP5::Zip: 1
Cpanel::Easy::PHP5::Zlib: 1
Cpanel::Easy::PHP5::cPPHPOpts: 0
Cpanel::Easy::PHPSuHosin: 0
Cpanel::Easy::SourceGuardian: 0
Cpanel::Easy::Zendopt: 0
_meta: 
  implies: 
    changed: {}

    circles: {}
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Check if you have an empty "extension =" line in /usr/local/lib/php.ini file:

Code:
grep extension /usr/local/lib/php.ini
Basically, the extension line would have no content after the equals sign. If such a line does exist, comment out the empty extension line and restart Apache.
 

jdilegge

Member
Dec 17, 2010
13
0
51
Boston, Ma
After changing a php setting in WHM, cpanel put uncommented this bringing the issue back:

PHP:
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20090626"
How can I prevent it from doing this everytime I change a setting or use easyapache?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
We have an internal case about the WHM > PHP Configuration Editor adding duplicate entries. Until that case has been resolved in your current version, the /usr/local/lib/php.ini file could be edited directly in root SSH rather than using WHM.

The case number for reference is 46972 and you can review the changelog at the following location to see which version shows the case:

Change Logs

For the most recent versions for each tier, they are listed at this location:

Downloads - cPanel Inc.

To see your existing version, you can run this command in root SSH:

Code:
cat /usr/local/cpanel/version
Again, please do not utilize the PHP Configuration Editor until case 46972 has been pushed into the version you are using. Instead, you would simply need to directly edit the php.ini file in root SSH.
 

jsbthree

Member
Aug 11, 2003
10
0
151
Tennessee
I'm getting this but no empty extenstion. You can see the errors below and the grep output. Not sure what to do but it slows everything down. I manually edited the multiple zend extensions out in whm because server would not start otherwise.



[30-May-2011 21:22:57] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'PDO' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_sqlite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SQLite' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'pdo_mysql' already loaded in Unknown on line 0
[30-May-2011 21:22:57] PHP Warning: Module 'SourceGuardian' already loaded in Unknown on line 0
[email protected] [/home/binserv5/public_html]# grep extension /usr/local/lib/php.ini
; dynamically loaded extension (either a PHP extension or a Zend extension),
; you may only use these constants *after* the line that loads the extension.
; leading '/'. You must also specify the file extension being used including
; Directory in which the loadable extensions (modules) reside.
extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"
zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.2.so"
; If you wish to have an extension loaded automatically, use the following
extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "pdo_mysql.so"
extension = "ixed.5.2.lin"
extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "pdo_mysql.so"
extension = "ixed.5.2.lin"
extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "pdo_mysql.so"
extension = "ixed.5.2.lin"
extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "pdo_mysql.so"
extension = "ixed.5.2.lin"
extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "pdo_mysql.so"
extension = "ixed.5.2.lin"
extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "pdo_mysql.so"
extension = "ixed.5.2.lin"
extension = "pdo.so"
extension = "pdo_sqlite.so"
extension = "sqlite.so"
extension = "pdo_mysql.so"
extension = "ixed.5.2.lin"
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
; dictionary files. Include the base filename, but not the file extension.
extension=pdo.so
extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
extension="ixed.5.2.lin"
zend_extension="/usr/local/Zend/lib/Optimizer-3.3.9/php-5.2.x/ZendOptimizer.so"
[email protected] [/home/binserv5/public_html]#

I forget this

[email protected] [/home/binserv5/public_html]# cat /usr/local/cpanel/version
[email protected] [/home/binserv5/public_html]#
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
There are a couple of cases about the WHM > PHP Configuration Editor adding duplicate lines. 11.30 versions have the case resolved, which would be in EDGE and CURRENT builds. If you are on RELEASE, you could either update to CURRENT to resolve the duplicate lines that the WHM > PHP Configuration Editor will keep adding, or you could manually edit /usr/local/lib/php.ini without using the PHP Configuration Editor again at all until RELEASE reaches 11.30
 

nixgurus

Member
Feb 16, 2011
18
0
51
Google
cPanel Access Level
Root Administrator
I am facing same issue in WHM 11.30.1 (build 1)

Code:
[07-Jul-2011 15:53:28] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:42:41] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:43:17] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:52:05] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:53:22] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:53:27] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:54:36] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:54:41] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:56:38] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:56:44] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:58:27] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:59:43] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 12:59:56] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:00:16] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:00:21] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:01:55] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:48:14] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:48:34] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:49:37] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:49:43] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:49:50] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:50:19] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:50:28] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:50:45] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:50:52] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:50:58] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:51:02] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:51:29] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 13:51:35] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 14:02:36] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 14:03:32] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 14:03:42] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 14:14:46] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 14:15:17] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 14:21:05] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 14:26:24] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 14:45:07] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[08-Jul-2011 15:39:55] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
[09-Jul-2011 01:37:50] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/rar.so: cannot open shared object file: No such file or directory in Unknown on line 0
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Did you try the command indicated?

Code:
grep ^extension /usr/local/lib/php.ini
If you have an empty "extension =" line, then it will produce these errors. Comment out that line, then see if the errors cease occurring.

If that isn't happening, you might instead have duplicate lines, you can try moving the existing php.ini and recreating a new one:

Code:
cd /usr/local/lib
mv php.ini php.ini.bak110711
/scripts/phpini
You could then run a diff on the two php.ini to see the results:

Code:
mv /usr/local/lib
diff php.ini php.ini.bak110711
 

innoview

Registered
Dec 2, 2011
1
0
51
cPanel Access Level
DataCenter Provider
Re: PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non

Hi,

I have the same problem.
I take the error:

[02-Dec-2011 14:49:23] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0

when I have the php 5.3.6 and 5.3.8 and when I have the php in version 5.2.17 I take the error:

[02-Dec-2011 15:17:41] PHP Warning: Module 'mcrypt' already loaded in Unknown on line 0

May you tell me how can I fix the problem? I read all these stuff in the forum but I'm confused.

Thanks in advanced
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Re: PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non

Do you have mcrypt installed twice, once via EasyApache and once in php.ini file?

Code:
php -m | grep -i mcrypt
grep -i mcrypt /usr/local/lib/php.ini
If you show a return for mcrypt in the first command, then mcrypt should not be in /usr/local/lib/php.ini file and you either need to remove the line in /usr/local/lib/php.ini file or comment out the line in that file.
 

PPNSteve

Well-Known Member
Mar 13, 2003
413
3
168
Somewhere in Ilex Forest
cPanel Access Level
Root Administrator
Twitter
Re: PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non

did this ever get resolved?

Been noticing a lot of
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2.lin' - /usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2.lin: undefined symbol: executor_globals in Unknown on line 0
in my apache error logs

How do we fix it?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Re: PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non

did this ever get resolved?
The previous issue regarding duplicate lines in the PHP configuration file stemming from the use of the "PHP Configuration Editor" editor in WHM has been resolved. Please consider opening a support ticket so we can check to determine the exact cause of the error you are receiving.

Submit A Ticket

Thank you.
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Re: PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non

Hello,

Would you be able to uninstall and reinstall Source Guardian on the server to see if the error ceases to occur?

Code:
/scripts/phpextensionmgr uninstall SourceGuardian
/scripts/phpextensionmgr install SourceGuardian
Thanks!
 

dxer

Well-Known Member
Sep 9, 2002
306
0
166
Europe
Re: PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non

I am reopening this thread as my clients are receiving this error in error_log file:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/pgsql.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0

and maybe important thing to say is that it seems error is generated whenever client's Cron job is executed. Any advise. cPane/WHM is 11.32.5 (build 13).
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Re: PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non

Do you have pgsql.so in /usr/local/lib/php/extensions/no-debug-non-zts-20090626/ location? If not, is pgsql.so anywhere on the server?
 

dxer

Well-Known Member
Sep 9, 2002
306
0
166
Europe
Re: PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non

I searched through the server and actually there is no such file anywhere.

I found only:
plppgsql.so
apr_dbd_pgsql.so

Now what, what does it mean ?
 

cPanelTristan

Quality Assurance Analyst
Staff member
Oct 2, 2010
7,607
40
248
somewhere over the rainbow
cPanel Access Level
Root Administrator
Re: PHP Warning: PHP Startup: Unable to load dynamic library no-debug-non

If you don't have that file, then it means your /usr/local/lib/php.ini file has pgsql.so listed as a module and you don't actually have the module. First, check if you have postgresql installed:

Code:
postgres --version
If that does show a version, then check if you have pgsql enabled in PHP:

Code:
php -m | grep pgsql
If that does work, then you already have pgsql on the machine as a PHP module, so it doesn't need to be listed in /usr/local/lib/php.ini for "extension = pgsql.so" or whatever might be listed there for pgsql.so file. Comment out the line, restart Apache and check the errors disappear for the site error logs.