cpanel控制面板_cPanel安装php5.2.7图解教程

时间:2019-10-09  来源:apache  阅读:

1. 准备cpanel专供php

# cd /var/cpanel/easy/apache/custom_opt_mods

# wget http://docs.cpanel.net/twiki/pub/EasyApache/EasyApacheCustomModules/custom_opt_mod-PHP5217.tar.gz

# tar -xzvf custom_opt_mod-PHP5217.tar.gz

2. 通过easyApache重装

搜索easyApache,然后一步步看图。

 

cPanel

 

easyApache

cPanel

 

cPanel安装php5.2.17

cPanel

 

cPanel安装php5.2.17

cPanel

 

cPanel安装php5.2.17

cPanel

 

cPanel安装php5.2.17

然后和往常一样一步步往下走即可完成。

3. php扩展配置

因为这不是cPanel原生的安装,所以没有php的扩展选项,它会根据php压缩包内的默认配置参数安装。如果你需要支持额外选项,例如gd和ftp,如下操作:

# cat /var/cpanel/easy/apache/rawopts/PHP-5.2.17

--with-gd

--enable-ftp

一行一个,它会解析成–with-gd –enable-ftp,然后整合到configure后面。

cpanel控制面板_cPanel安装php5.2.7图解教程

http://m.bbyears.com/jiaocheng/72169.html

推荐访问:
相关阅读 猜你喜欢
本类排行 本类最新