title: OpenSSL issue on Debian server
body: <p>I've been battling this annoying issue for quite some time now, and it's bugging me a lot that I can't find any fix for it.</p>
  
  <p>When I use "tail -f" to my <code>error_log</code> file to check for errors on my webserver, one specific error keeps popping up all the time, every visitor and page-refresh generates this issue.</p>
  
  <p>I've been googling and searching here on Stack&nbsp;Overflow for a looong time, but nothing is directly related to the problem.</p>
  
  <p>So the error that is thrown looks like this:</p>
  
  <blockquote>
    <p>[Fri Aug 17 00:16:23 2012] [error] [client xx.xx.xx.xx] 
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/openssl.dll' - /usr/lib/php5/20090626/openssl.dll: cannot open shared object file: No such file or directory in Unknown on line 0, referer: <a href="http://mysite.dk/" rel="nofollow">http://mysite.dk/</a></p>
  </blockquote>
  
  <p>What could I do?</p>
  
  <p>I have tried to remove OpenSSL, and re-installed it again with no luck. I've tried to upgrade every PHP-related package and still didn't work.</p>
  
  <pre><code>grep -ir ssl /etc/php*
  </code></pre>
  
  <p>gives:</p>
  
  <pre><code>/etc/php5/cli/conf.d/zend_extensions_psa.ini:extension=openssl.dll
  /etc/php5/apache2/conf.d/zend_extensions_psa.ini:extension=openssl.dll
  /etc/php5/apache2/php.ini.saved_by_psa.08.03;20:24:;extension=openssl.dll       ; moved to conf.d/zend_extensions_psa.ini by Plesk
  /etc/php5/apache2/php.ini:;extension=openssl.dll        ; moved to conf.d/zend_extensions_psa.ini by Plesk
  /etc/php5/conf.d/zend_extensions_psa.ini:extension=openssl.dll
  /etc/php5/cgi/conf.d/zend_extensions_psa.ini:extension=openssl.dll
  </code></pre>