0

私はかなり長い間この厄介な問題と戦ってきました、そしてそれは私がそれに対する修正を見つけることができないことを私にたくさん悩ませています。

ファイルに「tail-f」を使用error_logしてWebサーバーのエラーをチェックすると、1つの特定のエラーが常にポップアップし続け、すべての訪問者とページの更新でこの問題が発生します。

私はここStackOverflowで長い間グーグルして検索してきましたが、問題に直接関係するものは何もありません。

したがって、スローされるエラーは次のようになります。

[2012年8月17日金曜日00:16:23][エラー][クライアントxx.xx.xx.xx]PHP警告:PHP起動:ダイナミックライブラリ'/usr/lib/php5/20090626/openssl.dll'を読み込めません- /usr/lib/php5/20090626/openssl.dll:共有オブジェクトファイルを開くことができません:0行目の不明にそのようなファイルまたはディレクトリはありません。参照元:http://mysite.dk/

何ができますか?

OpenSSLを削除しようとしましたが、運が悪かったので再インストールしました。すべてのPHP関連パッケージをアップグレードしようとしましたが、それでも機能しませんでした。

grep -ir ssl /etc/php*

与える:

/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
4

2 に答える 2

1

So you've got four copies of zend_extensions_psa.ini and all of them are trying to load this nonexistent file. Edit them all, delete or comment out the lines mentioning openssl.dll, and all should be well.

The Debian package management system treats your modifications to configuration files with great respect. It doesn't undo them when you upgrade or reinstall a package unless you remove the the package with dpkg --purge or install the new one with --force-confnew.

于 2012-08-16T23:12:12.913 に答える
0

PHP構成に次のようなものがある可能性があります(php.iniおそらく):

extension_dir=/usr/lib/php5/20090626/

その後

extension=openssl.dll

特定のパスにそのようなファイルがないため、問題が発生する可能性があります。これは、拡張機能や別の拡張機能のインストーラーを手動でコピーしたことが原因である可能性があります。

于 2012-08-21T12:35:35.020 に答える