Install PHP and MySQL with PHP Installer

Ranked #280 in Internet, #13,327 overall

What is PHP installer?

PHP installer is an easy way to install PHP (and MYSQL) on your computer without having to edit a lot of configuration files. PHP installer generally consists of the following components (can be more than this):

1. Web Server; works to serve the demand for access to the web page and display the contents of web pages to the end user. Usually the software in use in a PHP installer is Apache.

2. PHP; in charge for translate or process the page that contains PHP code into regular html code read by the client browser.

3. MySQL; servers to store data in entered by the client via a browser.

4. PhpMyAdmin; php script in charge of organizing the work of the MySQL database via a browser.

Simply install the PHP installer, all components of the above will be immediately installed.

For your information I try to collect PHP installer with minimum PHP 5 not PHP 4 as this version no longer supported by php.net

What kind of computer do I need to install PHP installer?

You can install PHP installer on personal computer, netbook, laptop, macbook, macbook pro, macbook air anything as long its supported by PHP installer.
Common use of PHP installer are :
- Learning php
- Install Wordpress
- Install Joomla
- Install Drupal
- etc
For local use or without internet access.
You can tinkering with the script until satisfied. Once you are satisfied then you can move it to the internet by buying the domain and hosting that supports php.

Dell 3 Ghz. Super Fast Optiplex Pro GX 1 Computer, Gigantic 750GB Hard Drive, 4GB RAM, CDRW/DVD Combo, Intel P4 Single Core Multimedia Desktop PC, includes New Licensed Windows XP 2 Operating System and Genuine Sealed CD, SP 3

Free PHP installer

You can use these PHP installer for free, just download the file and install it on your computer.
If you find the software is useful for you and help you make money please consider help the project by donate money, they usually put donation link or button on their website.

Appserv Open Project

For PHP5
AppServ 2.5.10

* Apache 2.2.8
* PHP 5.2.6
* MySQL 5.0.51b
* phpMyAdmin-2.10.3

For PHP6
AppServ 2.6.0

* Apache 2.2.8
* PHP 6.0.0-dev
* MySQL 6.0.4-alpha
* phpMyAdmin-2.10.3

Click here to visit their website or click here to start download the appserv.
Read step by step guide install Appserv on Windows 7 with screenshot.

Click here to read how to install Zend Optimizer on Appserv.
Click here to read how to install eAccelerator on Appserv.

XAMPP by Apache Friends

This PHP installer available for Windows, Linux, Mac OS X and Solaris operating system. You can download XAMPP for your OS from :
- XAMPP for Linux
- XAMPP for Windows
- XAMPP for Mac OS X
- XAMPP for Solaris

The component of XAMPP PHP installer are :
- Apache
- MySQL
- Pear + PHP
- PHPMyAdmin
- plus more add-on like email server, ftp server etc.

Read : How to install XAMPP step by step on Windows 7 using installer file.

AMPPS

download amppsAlmost perfect installer, you have everything else that common installer have plus up to date apps powered by Softaculous. At the moment Softaculous provide access to easy to install application like wordpress, joomla, drupal and many more (230++ apps).
You also have 2 php version 5.2.xx and 5.3.xx. Adding domain feature and many more.

Click here to download latest version
Click here to learn how to install ampps.

The Uniform Server

Uniform Server also provide easy way to install Apache, PHP and MySQL together. Uniform Server also available in portable type.

Click here to download The Uniform Server.
Click here to download plugins for The Uniform Server.

Easy Web Server

easy web serverThis installer using France language as default but they provide English as alternative, just click the flag.

At the moment easy web server reach version 3.0 with following software :

- Apache Server
- MySQL server
- PHP
- PHP
- PHP XDebug
- Eaccelerator
- Mini Perl
- WdScript
- Webalizer
- PHPMyAdmin
- SQL Lite Manager
- Slim FTPd

Click here to download the software. (PHP 5.3.4)
Click here to get PHP 5.2.17 add-on.

WampServer

Latest WampServer release come with :
Includes :
- Apache 2.2.17
- Php 5.3.3
- Mysql 5.1.53 (version 64 bits)
- Mysql 5.5.8 (version 32 bits)
- PhpMyadmin 3.2.0.1
- SQLBuddy 1.3.2

Click here to download WampServer.
Click here to download add-on for WampServer.
Click here to learn how to install WampServer. step by step.

Laptop and Netbook for install PHP Installer

You can use desktop pc, laptop or netbook for install php installer and start learning php, install ready to use software like wordpress, joomla,drupal etc or create your own web application.
Loading

HTML file and PHP Installer

You can run both type of files (.html and .php) in those PHP installer.

Mowes Portable

Mowes Portable is another PHP installer with portable solution; PHP, MySQL and Apache in one place plus more software called package like Wordpress, Joomla, Drupal etc to make your life easier installed automatically.

Click here to download your Mowes Portable plus the packages.

NucServ

NucServ provide Windows development package with Apache, PHP, MySQL in single software.
Available for PHP 5.2 and PHP 5.4 line plus add on (FTP Server)

Click here to download NucServ with PHP 5.3.xx
Click here to download NucServ with PHP 5.2.xx
Click here to download NucServ add on.
Click here to learn how to install NucServ step by step on Windows 7.

What editor do you use for coding PHP ?

Common problem that everyone face in programming world is error message. You'll tell the error by line. If you don't use good editor (minimal that come with line number) you'll make your life harder.

Loading poll. Please Wait...

Free PHP Editor

Here is a list of PHP editors who can assist you in making the PHP program, available mostly for Windows platform, Mac OS, Linux. Please click to see details and download the program.

Adobe Dreamweaver CS5.5 Student and Teacher Edition [Mac]
Aptana PHP
PHP editor from aptana
PHP Designer
Full-blown PHP, HTML, CSS and JavaScript editor!
Notepad 2
Lightweight PHP editor, also able to replace default notepad
miniPHP Studio
miniPHP Studio is an easy-to-use toolkit for developing native Mac OS X, Windows, and Linux GUI applications using PHP

CDSITE

From their site :
CDSITE is designed for putting any Apache, PHP, MySQL, SQLite based web site to CD or DVD. Ideal means for start web applications from CD. Includes interactive monitor and installer.

Composition of CDSITE :
CDSITE Monitor 1.1
Apache 2.0.58
PHP 5.2.0
Zend Optimizer 3.2.0
MySQL 5.0.29
WinCron 1.01

Click here to download latest version.

Easy PHP

PHP, Apache and MySQL in one place called Easy PHP. With support of many modules to help developer work. Blog or CMS modules for blogger or journalist. Ecommerce modules such prestashop and others modules like forum.
Click the link to find out more...
Easy PHP introduction
General overview about Easy PHP
Easy PHP screenshots
See how Easy PHP works
Download Easy PHP
Download latest Easy PHP, at the moment you'll get version that include PHP 5.3.8
Easy PHP Modules
You'll find Virtual Host module, blog/cms module, ecommerce and forum modules.

Micro Apache

A Portable, USB-Drive-Friendly, Micro-Sized Apache Server for Windows.
Smallest Apache I ever seen (450kb for the most-minimal, fully-working version of Apache) + Micro PHP (523kb to make a grand total of about 900kb). Yes, you can choose to pick component you really need. If you need Database then you'll look for Micro SQL modules.
Click the link to find out more ...
Micro Apache official website
Micro Apache official website
Micro Apache 2.0-64
Only Apache, version 2.0-64
Micro Apache + PHP 5.2.17 + GD2
All in one package with size around 2,76 MB unzipped.
Micro Apache + PHP 5.2.17 + GD2 + SQLite
All in one with size around 2,79 MB unzipped
MicroSQL
version 4.1.9.3 (zipped)

Install PHP on Windows Manually

While others prefer to go with easy way aka php installer some other who want more adventure will love to install in manual way :

How to Install PHP on Windows 7 and IIS 7 : you'll learn how to install php within Windows 7 and its IIS web server.

Step by Step Guide Install Apache on Windows 7 : you'll learn how to install Apache web server within Windows 7.

Step by Step Guide Install PHP on Windows 7 : you'll learn how to install PHP within Windows 7.

Step by Step Guide Install MySQL on Windows 7 : you'll learn how to install MySQL database server within Windows 7.

WAMP (Windows 7, Apache, MariaDB or MySQL and PHPMyAdmin) : you'll learn how to combine all component (Apache, PHP and MySQL in single force).

IonCube Loader

Not all php code come with full source, sometime you'll see encrypted code. That means you can not edit but you can use the code.
To integrate ion cube loader with your php installer you can read this post.

Download latest version of IonCube Loader from here.

Howto install ioncube encoder on Windows
Howto install ioncube Loader on Nucserv
Howto install ioncube Loader on Uniform Server

Document Root

Document Root is term for place where all document (html, php, gif, png, jpg,css, js etc) should be put. Document Root for a few PHP installers :

- Appserv ; Put all your files at C:\appserv\www
- Xampp ; Put all your files at C:\xampp\htdocs
- WampServer : Put all your files at C:\wamp\www

Tips :

If someone change configuration file (httpd.conf) for document root. You can count on phpinfo() for new Document Root location. Just find term "DOCUMENT_ROOT" and see where the new location.

Use your own domain locally

Common address that you can use are :

1. http://localhost
2. http://127.0.0.1

You also able to use "any" domain you want locally; google.com, yahoo.com, anyname.com
Using this 'pseudo' domain will make you easier in the future when you're going to make it live (available on internet).
Click here to learn how to do that step by step.

PHP Book

Once you got your home server installed, you'll need friend and book is never bored friends. I have pick top 5 PHP book I recommend for you to learn more about PHP. Just click the image and you'll see related book that will match for more. For example css and javascript books. You'll also find how to use IDE such Dreamweaver. Don't forget to read readers review.
Loading

Which PHP version should I use?

At the moment PHP have 2 production branch; 5.2.xxx and 5.3.xxx
Choose 5.2.xxx version if you can since this version widely used in many hosting service.

PHP Info

PHP info is a place for check all aspect around php setting such as ;

- What PHP version do you have
- Supported extension (mysql, mysqli, gd etc)
- PHP variables
- many more

Most of PHP installer provide link to PHP information. In case of nucserv PHP installer you might not see it.
You can create your own PHP information page with these steps :
1. Open notepad
2. Type these lines :

<?php
phpinfo();
?>

3. Save the file with any name and make sure the file have .php extension and save it in your document root (C:\nucserv\www)
4. Access the file via browser, for example :
http://localhost/info.php
(it mean you save the file with name info.php)

5. You should see all PHP information like you when you install Appserv, Wampserver or XAMPP.

Run PHP 5.3.xxx and PHP 5.2.xxxx in the same computer

session_is_registered error.
This function has been DEPRECATED as of PHP 5.3.0. Relying on this feature is highly discouraged.
Wow, that message appear when my friend want to show up his latest project using Code Iginiter 2.

Since then I think I need simple way to get two version of PHP (PHP 5.2 and PHP 5.3) run on my computer.

1st approach

Install two different PHP installer like NucServ (that use PHP 5.2.14) with combination to WampServer (latest version of WampServer use PHP 5.3.5)

2nd approach

Use Wampserver addon, WampServer provide PHP Addon and for PHP 5.2 generation You can use 5.2.11 version.
Here step by step for 2nd approach :

1. Install WampServer first (you can use guide from here)
2. Download PHP 5.2.11 Addon for WampServer
3. Install the AddOn to get 2 versions of PHP on one computer.

How to Send Email with PHP Script and PHP Installer

Another challenge that you might face when you're study PHP with localhost is send email using mail() function.
By default, your windows installation not contain email server and you need to install email server to get your PHP script work. Here's a few guide on how to configure email server step by step for accompany your PHP installer :


1. Install Axigen Email Server part 1

2. Install Axigen Email Server part 2

3. Testing mail() function with Agrosoft email server

Featured How to

Loading

PHP installer for Mac OS

You can enable or install PHP on Mac OS with XAMPP.

Mac OS X Lion All-in-One For Dummies
Xampp for Mac OS
PHP, Mysql database and web server bundle
Download Xampp for Mac OS
choose download location for Xampp
Installation step for install Xampp for Mac OS
step by step guide for install xampp
Start all services
steps taken for start all service
Testing Xampp for Mac OS
how to test if xampp work

PHP on USB Drive

Beside those PHP installer you also able to run PHP from your USB drive. Just click each link to try out.

SanDisk Cruzer 16 GB Cruzer USB 2.0 Flash Drive SDCZ36-016G-A11
Xampp portable web server
Get php and friends powered by xampp
Lighty2go - portable
LightTPD, MySQL, PHP Web server application
USB webserver
php installer plus smtp
Uniform server
another portable web server compatible solution
Tinyweb with php support
tiny web server with php support

Free PHP Web Hosting


Common steps in learning PHP is test the code in localhost. After everything is fine, you need to make it online you need a web hosting.
Web hosting is a place where you can put all your php file and test it online. Even your friend can access it as long they have active internet connection.

Tip : most of free web hosting is enough for test your script but you test its full capability with this list.

I list a few of Free PHP Web Hosting for you, feel free to try and play :
These provider give you php and mysql access, mostly with no ads and you can put your own ads. Check their features page for complete list of support.

1. Heliohost.
2. 0000free. Use cpanel
3. Host1free. Use Directadmin panel
4. 000webhost.
5. Zymic.
6. ByetHost.

Convert PHP to EXE

For some case you might want to convert PHP to EXE . A few project (freeware and commercial) allow you to give one single exe file with the same capability as you see with standard PHP, Web server and database for desktop purpose.

Just visit these link to find out.
Exe Output
Create one single EXE for Windows: ExeOutput for PHP combines the PHP runtime and all PHP, image, HTML, Flash, JavaScript, Silverlight, XML, PDF and other files into one single EXE.
Bambalam PHP EXE Compiler/Embedder
Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. The exe files produced are totally standalone, no need for php dlls etc.
Embeder - a free PHP to EXE solution
PHP to EXE solution that supports PHP5, Embeder is one rarely mentioned application that will convert your PHP applications into a Windows executable file.
ZZEE PHPExe - PHP to exe compiler for Windows
ZZEE PHPExe compiles PHP, HTML, Javascript, Flash, images and other web files into standard Windows GUI exes. It features GUI compiler, embedded PHP encoder, royalty free distribution.

Downloadable PHP Manual

With so many function supported you must have quick reference that easy to read and find when you stuck. I recommend you to download PHP manual. Chm format is my favorite but other might want html file. I list a few supported version that php.net provide.

Just click the link to download.
PHP manual - Single HTML file
Single HTML file
PHP manual - Many HTML files
Many HTML files
PHP manual - HTML Help file
HTML Help file in chm format
PHP manual - HTML Help file (with user notes)
user notes is useful when you need to see other example on how the function work in action.
PHP manual - All langauge
you can download the manual in other language than English

Hide your PHP Code

You can hide your PHP code by encrypt the code to byte code or obfuscate it.

Encrypt PHP code Offline and Offline

In some cases you may want to encrypt the php code that you create. By using this software you will be able to change your php code into a format that is easily read by ordinary people offline.
PHP generated code is cross platform means it can run on many operating systems like Windows (eg NT, XP, W2K), Intel Linux, FreeBSD, NetBSD, OpenBSD, OS X, and Sparc Solaris.

Each of them offer free trial software that enable you to try out before decide to buy.

If you need to encrypt single file only you can try online version of PHP encoder, just browse your PHP file and hit encrypt button and voila you have encrypted PHP file.
Source Guardian
- Bytecode compilation engine
- Full encryption
- Time-limit your scripts
- Lock to domains, IP addresses
- and MUCH more
ionCube PHP encoder
The ionCube PHP Encoder makes it easy to protect your PHP 4 & 5 source code from easy observation, theft and change.
Zend Guard
Zend Guard (formerly Zend Encoder) protects your applications from reverse engineering and unauthorized customization by providing encoding and obfuscation. It further protects from unlicensed use and redistribution by providing comprehensive licensing support. This combined functionality makes software distribution worry free.
Free Online PHP Encoder by Byte Run
The PHP Encoder is PHP4 and PHP5 compatible.

Encoded stripts are 100% PHP featured and works on every server like
Windows, Linux, FreeBSD, MacOSX and others.
Online PHP Encoder for PHP 4, PHP 5 and PHP 5.3+ by IonCube
With the online Encoder you can:

Encode a single file.
Encode an archive containing PHP scripts and any other file types.
Make FREE test encodings or a pay-to-download encoding.

Famous Web application that you can test with PHP installer

By installing PHP, Apache, MySQL on your local computer you can test or study single PHP script or complex script. A few famous application that you can test within your PHP installer are :
Joomla
Joomla is an award-winning content management system (CMS), which enables you to build Web sites and powerful online applications.
Drupal
Use Drupal to build everything from personal blogs to enterprise applications.
Wordpress
WordPress is an open source blog tool and publishing platform powered by PHP and MySQL.
SilverStripe
The SilverStripe CMS is a flexible open source Content Management System that gives everyone involved in a web project the tools they need to do their jobs.
Symphony CMS
Symphony CMS gives you remarkable support to build anything you want from small websites to large web applications.
Magento Commerce
a revolutionary open source eCommerce engine.

What is phpMyadmin

By default phpMyadmin included in every PHP installer, phpMyadmin is a tool for manage your mySQL database from web. You can create database, create tables, alter the structure, export database, import database and much more. phpMyadmin is not the only project / tool for mySQL

Learn Object Oriented PHP

Useful when you create code PHP with large team
Loading

PHP CheatSheet

Learning a lot of function sometime make me confuse, fortunately people out there create cheatsheet to make it easy to remember and also useful for quick reference.
I also added some cheatsheet that related, click the link to find out more.
PHP Cheat Sheet
PHP Cheat Sheet, a quick reference guide for PHP, with functions references, a regular expression syntax guide and a reference for PHP's date formating functions.
MySQL Cheat Sheet
A quick reference guide for MySQL, including functions (both in MySQL and PHP), data types, and sample queries.
JavaScript Cheat Sheet
A quick reference guide for JavaScript, listing methods and functions, and including a guide to regular expressions and the XMLHttpRequest object.
HTML Character Entities Cheat Sheet
This contains a list of the assigned character codes in HTML, with an example of how they are displayed, and description.
Regular Expressions Cheat Sheet
a quick reference guide for regular expressions, including symbols, ranges, grouping, assertions and some sample patterns to get you started.
mod_rewrite Cheat Sheet
a quick reference guide for mod_rewrite, with rewrite flags, regular expression syntax and sample rules.
CSS Cheat Sheet
a quick reference guide for CSS, listing selector syntax, properties, units and other useful bits of information.
jQuery 1.4.2 Visual Cheat Sheet
The new edition includes all the reference you will ever need for jQuery 1.4.2 API.

PHP Framework

At some point you'll start learn to use framework to speed up your work. No more manual way to create form, validation, authentication etc.
To get this framework at its maximum performance you'll need to learn PHP with OOP way. I try to list as many PHP framework I found as I know that everyone have their own way.
CakePHP
one of the oldest php framework
CodeIgniter
originally support php4 and php5 but latest release now only support php 5.3+
Zend Framework
framework from php.net creator product
PHP fat free framework
also called F3, if you want to use lightweight framework. Has 3 ORM for data abstraction and modeling. Sql db, Mongodb and flat file.

by

submarine2

First step of learning PHP is install webserver, PHP and MySQL. Learn all those things here.

Feeling creative? Create a Lens!

Recommended MacBook and iMac 

Loading

Recommended Netbook and MacBook 13 inch 

Loading

Cool and Chic 13 inch laptop case and sleeve 

Loading