星期三, 2月 25, 2009
星期二, 2月 24, 2009
星期一, 2月 16, 2009
Red Hat Enterprise 4 install PHP 5 x86_64
1.Because RHE 4 do not provide PHP 5 file, so download x86_64 file mamual,
cd /tmp
wget http://www.cyberciti.biz/files/lighttpd/rhel4-php5-fastcgi/php-5.1.4-1.esp1.src.rpm1.esp1.src.rpm
rpm -ivh php-5.1.4-1.esp1.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bb php.spec
cd /usr/src/redhat/RPMS/x86_64/
rpm -Uvh --nodeps --force php*
/etc/rc.d/init.d/httpd restart
test: http://localhost/info.php PHP Version 5.1.4
reference other info http://www.lslnet.com/linux/f/docs1/i38/big5278041.htm
1.Because RHE 4 do not provide PHP 5 file, so download x86_64 file mamual,
cd /tmp
wget http://www.cyberciti.biz/files/lighttpd/rhel4-php5-fastcgi/php-5.1.4-1.esp1.src.rpm1.esp1.src.rpm
rpm -ivh php-5.1.4-1.esp1.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -bb php.spec
cd /usr/src/redhat/RPMS/x86_64/
rpm -Uvh --nodeps --force php*
/etc/rc.d/init.d/httpd restart
test: http://localhost/info.php PHP Version 5.1.4
reference other info http://www.lslnet.com/linux/f/docs1/i38/big5278041.htm
訂閱:
文章 (Atom)