The wordpress plugin "NextGen Gallery" requires php 5.2 or above but my CentOS is running 5.1. So I need to update it with the following steps:
step 1:
Add PHP 5.3 repository# rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
enable and install
# yum --enablerepo=webtatic install php
or update
# yum --enablerepo=webtatic update php
Congratulation, You/We have installed php5.3
we can verify that it is installed or not by
[root@server tmp]# rpm -q php php-5.3.6-1.w5
** Remark
You may also want to install the GD library to allow WP resizes your images:
# yum --enablerepo=webtatic install php-gd
** Remark
You may also want to install the GD library to allow WP resizes your images:
# yum --enablerepo=webtatic install php-gd
No comments:
Post a Comment