Trabla: CentOS(6.5): install php and modules
Solving:
1. Install php:
sudo yum install php
2. Search php modules:
sudo yum search php-
3. Install php modules:
Note: Redhat decided to stop supporting php-sqlite*
Solving:
wget -O - http://www.atomicorp.com/installers/atomic | sudo bash
sudo yum update
sudo yum install php-sqlite3
Discussion: http://serverfault.com/questions/195790/how-do-i-activate-sqlite3-on-php-5-3-3-centos-5
sudo yum install php-pear
sudo yum install php-mbstring
sudo yum install php-xmlrpc
sudo yum install php-soap
sudo yum install php-gd
sudo yum install php-intl
sudo yum install php-dom
PostgreSQL support:
sudo yum install php-pgsql
Restart Apache:
/sbin/service httpd restart
No comments:
Post a Comment