McRyptはインストールされましたが、phpinfoには表示されません
質問
McRypt Libをインストールできたと思います。ファイルは整っていますが、ライブラリがまったく実行されていないようです。
追加しようとした:
extension=mcrypt.so
php.iniへ;良くない。何か助けがありますか?
解決
Apacheの再起動を試みましたか?あなたがそうするまで、それは新しいインストールされたモジュールを認識しません。また、あなたはあなたがそれをインストールした「考える」と書いた - あなたはそれをインストールするためにapt -getまたはyumを使用しましたか(例: apt-get install php-mcrypt
)またはそれをダウンロードするだけですか?
他のヒント
Anyone actually looking for an answer to this on Ubuntu OS greater than 13, you have to run
php5enmod mcrypt
and then restart apache. This is new and follows the same route you would use to enable apache modules as well.
I also had this same problem.
Sometimes it doesn't work when you add in /etc/php.d/mcrypt.ini
add it in /etc/php.ini , the main php config file
Restart apache
You are done.
所属していません StackOverflow