1 Overview
2 Install
3 Install Modules
4 Links
Overview
Most of the source code for ClarkConnect 4.x comes from the Red Hat Enterprise Linux 4 product. Since stability (as opposed to leading edge features) is a key policy for the Enterprise Linux product, it ships with PHP 4.3.x and MySQL 4.x. By default, ClarkConnect also ships with these PHP and MySQL versions.
This howto provides instructions on how to upgrade the PHP to 5.1.x and MySQL to 5.0.x.
Install
First, you need to add the optional software repository to your system. From the command line, run:
echo "rpm [pcn] ftp://rhel-4:hiptop@rh.apt.clarkconnect.com System extras" > \
/etc/apt/sources.list.d/extras.list
apt-get update
If you already have PHP/MySQL installed, then run:
apt-get dist-upgrade
If you do not have PHP/MySQL installed, run:
apt-get install cc-php cc-mysql
Install Modules
Depending on your application, additional PHP modules may be required. For example, most webmail applications require PHP's IMAP module. Common PHP modules include:
gd - graphics module
imap - mail module
ldap - LDAP module
mysql - MySQL module
soap - SOAP protocol module
xml - XML parsing module
If your application requires a module, install it using the following as a guide:
apt-get update
apt-get install php-imap
You should restart the web server after installing a module:
/sbin/service httpd restart
short code :
apt-get install cc-php cc-mysql php-imap php-gd php-ldap php-mysql php-soap php-xml
source : http://www.clarkconnect.com/docs/Howtos_-_Installing_PHP_5_and_MySQL_5_on_ClarkConnect_4.x
No comments:
Post a Comment