📜  需要 mcrypt php 扩展 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:54.902000             🧑  作者: Mango

代码示例1
# 1) Create a Symbolic link to mcrypt.ini in PHP mods folder
sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available/mcrypt.ini
# 2) Activate extension
sudo php5enmod mcrypt
# 3) Restart Apache
sudo service apache2 restart