Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i'm currently having a problem with OpenSSL on my Centos 6.5 Server. it ran perfectly fine until sunday. and i checked the error_log and i saw this error in the log

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/openssl.so' - /usr/lib64/php/modules/openssl.so: cannot open shared object file: No such file or directory in Unknown on line 0

i tried phpinfo(); and i found that openssl is enabled i tried php -m

it returned

[PHP Modules]

  • bz2

  • calendar

  • Core
  • ctype
  • curl
  • date
  • dom
  • ereg
  • exif
  • fileinfo
  • filter
  • ftp
  • gd
  • gettext
  • gmp
  • hash
  • iconv
  • interbase
  • json
  • libxml
  • mbstring
  • mcrypt
  • memcache
  • mysql
  • mysqli
  • openssl
  • pcntl
  • pcre
  • PDO
  • PDO_Firebird
  • pdo_mysql
  • pdo_sqlite
  • Phar
  • pspell
  • readline
  • Reflection
  • session
  • shmop
  • SimpleXML
  • snmp
  • sockets
  • SPL
  • sqlite3
  • standard
  • tokenizer
  • wddx
  • xml
  • xmlreader
  • xmlrpc
  • xmlwriter
  • xsl
  • zip
  • zlib

UPDATE

this is what i got from rpm -qa | grep php just like what Mike Suggested

  • php-php-gettext-1.0.11-3.el6.noarch
  • php-mcrypt-5.3.3-3.el6.x86_64
  • php-interbase-5.3.3-3.el6.x86_64
  • php-pdo-5.3.3-27.el6_5.1.x86_64
  • php-5.3.3-27.el6_5.1.x86_64
  • php-mysql-5.3.3-27.el6_5.1.x86_64
  • php-snmp-5.3.3-27.el6_5.1.x86_64
  • php-gd-5.3.3-27.el6_5.1.x86_64
  • php-xml-5.3.3-27.el6_5.1.x86_64
  • php-pear-1.9.4-4.el6.noarch
  • php-pecl-memcache-3.0.5-4.el6.x86_64
  • phpMyAdmin-3.5.8.2-1.el6.noarch
  • php-common-5.3.3-27.el6_5.1.x86_64
  • php-cli-5.3.3-27.el6_5.1.x86_64
  • php-devel-5.3.3-27.el6_5.1.x86_64
  • php-mbstring-5.3.3-27.el6_5.1.x86_64
  • php-xmlrpc-5.3.3-27.el6_5.1.x86_64
  • php-pspell-5.3.3-27.el6_5.1.x86_64
share|improve this question
    
No such module is shipped by PHP in CentOS. It is compiled directly in, instead. Where did you get it? –  Michael Hampton Aug 20 at 1:59
    
i installed php using yum –  mabbs Aug 20 at 2:00
2  
What version? From what repository? You need to provide as much information as possible here so that we don't have to spend all day dragging it out. –  Michael Hampton Aug 20 at 2:01
    
PHP 5.3.3 (cli) (built: Aug 6 2014 05:54:27) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies this is what i got from php -v –  mabbs Aug 20 at 2:02
    
run a rpm -qa | grep php and update your question with the answer –  Mike Aug 20 at 3:04

1 Answer 1

Somewhere in a php.ini or alternative ini files you have an "extension=openssl.so" line which you need yo remove to get rid of that error.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.