Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

cc30c/installphp

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

installphp

install php on linux

防火墙 /sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT /etc/rc.d/init.d/iptables save /etc/init.d/iptables restart 查看 /etc/sysconfig/iptables ifup eth0

更新git 安装git以后再执行下面操作 yum -y remove git wget -O git.zip https://github.com/git/git/archive/master.zip unzip git.zip cd git-master autoconf ./configure --prefix=/usr/local make && make install rm /usr/bin/git ln -s /usr/local/git/bin/git /usr/bin/git

yaf本地安装2.3.5,而不是3.0.2 http://pecl.php.net/get/yaf-2.3.5.tgz

/usr/local/server/php/etc/php.ini 启用proc_open() phpinfo() 并且启用yaf /usr/local/server/php/etc/php-fpm.ini 删除cmstop 并且修改缓存目录路径到你的站点

为了防止redis启动卡死centos,修改redis.conf daemonize yes

安装wine rpm -ivh http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm

About

install php on linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.