CentOS 5.5 PHP 5.1 Upto 5.3

回覆文章
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

CentOS 5.5 PHP 5.1 Upto 5.3

文章 yehlu »

http://www.how2centos.com/installing-ph ... -tutorial/

代碼: 選擇全部

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
yehlu
Site Admin
文章: 3245
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Re: CentOS 5.5 PHP 5.1 Upto 5.3

文章 yehlu »

http://library.linode.com/web-servers/a ... i/centos-5
跑CGI 模式

代碼: 選擇全部

將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
回覆文章

回到「CentOS」