代碼: 選擇全部
rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm
yum remove php php-*
yum install php53 php53-mysql
代碼: 選擇全部
rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm
yum remove php php-*
yum install php53 php53-mysql
代碼: 選擇全部
將Options Indexes FollowSymLinks
改成Options Includes ExecCGI FollowSymLinks
代碼: 選擇全部
ScriptAlias /local-bin /usr/bin
AddHandler application/x-httpd-php5 php
Action application/x-httpd-php5 /local-bin/php-cgi