最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
cPanel安装php5.2.7图解教程
时间:2022-11-14 23:01:36 编辑:袖梨 来源:一聚教程网
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,然后一步步看图。

easyApache

cPanel安装php5.2.17

cPanel安装php5.2.17

cPanel安装php5.2.17

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后面。
相关文章
- 《弓箭传说2》新手玩法介绍 01-16
- 《地下城与勇士:起源》断桥烟雨多买多送活动内容一览 01-16
- 《差不多高手》醉拳龙技能特点分享 01-16
- 《鬼谷八荒》毕方尾羽解除限制道具推荐 01-16
- 《地下城与勇士:起源》阿拉德首次迎新春活动内容一览 01-16
- 《差不多高手》情圣技能特点分享 01-16