phpeveryday.com

The best tutorial of php, php framework, php strategies, object oriented oriented,


PHP Installation: Install PHP 4 and PHP 5 in a Computer

Tag: installation   Category: PHP Basic
post: 29 Dec 2007 read: 1,399


PHP Installation Tutorial: We know, PHP have 2 major version that dominate. Although we should use 'modern' version (PHP5), but PHP4 still more dominate at hosting services. In this post, We will try to install 2 version in one computer.

For this practice, we use appserv php package installer. You can download 2 version PHP4 and PHP5 at appservnetwork. For PHP4, you can download appserv 2.4.xx version. For PHP5, you can download appser 2.5.xx version.

First, install appserv 2.4.xx. It is really easy. Just open installer file and follow instruction. But, give attention at server information page. You will be asked port for http. Default, using 80. I suggest you change this port, example 8040 (Next PHP5 installation, we use 8050). Go a head, until finished.

Now, install appserv 2.5.xx. You just follow instruction after open installer file. Stop at server information. Change port 80 to (example)8050. Go a head.

It is realy easy. Now, you have two version PHP in your computer. You just call by pointing your browser to:

http://localhost:8040/ -> for PHP4
or
http://localhost:8050/ -> for PHP5

unfortunately (or fortunately), they use one (same) mysql database server. You will get mysql version 5.

Have try it!



| Give Your Opinion | Recommend
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
digg del.icio.us technorati Ma.gnolia BlinkList

Recommended articles by other readers:
Web Services: How PHP Kiss VB.NET? (Part 1)
Chart: How to Build Cool Animation Real Time Chart
Joomla: Fast Road to Understand Component Programming
Email: Send Attachement Mail
mod_rewrite - Part 1: create your "fantasy" URL

What do You Think?
Your Name *:
Email *:
(Will not be published)
Website/URL:
Your Comment *:
* Required


615
posting