Case Study: Some small hosting company provides web hosting service to its clients. The machine runing web server also acts as an email server, which function very well. Then one day, one of its client wrote some php scripts, which allow users to upload a file containing a list of email addresses, and send email …
Tag Archive: php
May 02
Intall multiple version of php on one server
This article is about how to install php-5.1, php-5.2 and php-5.3 on one server, and use them simultaneously Based on CentOS 5.6, for Apache only 1. Enable rpmforge and epel yum repository wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm sudo rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm sudo rpm -ivh epel-release-5-4.noarch.rpm 2. Install php-5.1 CentOS/RHEL 5.x series have php-5.1 in box, simply …