McRyptはインストールされましたが、phpinfoには表示されません

StackOverflow https://stackoverflow.com/questions/1450686

  •  12-09-2019
  •  | 
  •  

質問

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top