Home > php教程 > php手册 > ubuntu 15.04中php插件mcrypt 无法使用的有关问题

ubuntu 15.04中php插件mcrypt 无法使用的有关问题

WBOY
Release: 2016-06-06 19:41:23
Original
1060 people have browsed it

ubuntu 15.04中php插件mcrypt 无法使用的问题 安装GD库其实就一条命令: ? sudo apt-get install php5-gd ? ? ? 另,用此方法打开apache的rewrite: ? sudo a2enmod rewritevi /etc/apache2/sites-enabled/000-default ?(这里要重申一下,000-default文件在新

ubuntu 15.04中php插件mcrypt 无法使用的问题

安装GD库其实就一条命令:

?

sudo apt-get install php5-gd
Copy after login

?

?

?

另,用此方法打开apache的rewrite:

?

sudo a2enmod rewrite
vi /etc/apache2/sites-enabled/000-default
Copy after login

?(这里要重申一下,000-default文件在新版本中已经看不到啦,直接命令,即可开起此模块)

?

把所【本文来自鸿网互联 (http://www.68idc.cn)】有 AllowOverride None 改成 AllowOverride All

sudo apache2ctl restart

?

在安装mcrypt模块时间一定要注意,

sudo apt-get install php5-mcrypt
Copy after login

?出了安装这个,同时还要安装

libmcrypt-dev   <span style="color: #333333; font-family: 'Courier New', Arial; font-size: 9pt; line-height: 18px; background-color: #f6f6f6;">php5-mcrypt   libmcrypt4</span>
Copy after login

?都不能少的

?

安装curl

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
Copy after login

?

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template