PHP simple : PHP tutorial, MySQL tutorial
PHP Tutorial - Free PHP Script

Home | Tutorials | Php vs Node.Js | Web Tools

Introduction and Get Start


For start PHP script, you only really need four things to run PHP Dynamic webpage scripts.

  1. Web Server This can either be on a computer of your own or on a web host. Any web server software should work with PHP and MySQL but the best to use is Apache, which is free.
  2. PHP translator language script
  3. MySQL Database
  4. Managing database programs for manage MySQL database, the popular one is phpMyAdmin.

PHP and MySQL are usually associated with LAMP (Linux, Apache, MySQL, PHP). However, most PHP developer are actually using Windows when developing the PHP application. So this page will only cover the WAMP ( Windows, Apache, MySQL, PHP ).


Apache Web Server

The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.

Apache has been the most popular web server on the Internet since April 1996. The November 2005 Netcraft Web Server Survey found that more than 70% of the web sites on the Internet are using Apache, thus making it more widely used than all other web servers combined.
The Apache HTTP Server is a project of the Apache Software Foundation.


PHP

PHP (recursive acronym for "PHP: Hypertext Preprocessor") is a widely-used Open Source general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies. But PHP can do much more. PHP can be used on all major operating systems, including Linux, many Unix variants (including HP-UX, Solaris and OpenBSD), Microsoft Windows, Mac OS X, RISC OS, and probably others. PHP has also support for most of the web servers today. This includes Apache, Microsoft Internet Information Server, Personal Web Server, Netscape and iPlanet servers, Oreilly Website Pro server, Caudium, Xitami, OmniHTTPd, and many others. For the majority of the servers PHP has a module, for the others supporting the CGI standard, PHP can work as a CGI processor.

More >>


MySQL Database

MySQL is a small, compact database server ideal for small - and not so small - applications. In addition to supporting standard SQL (ANSI), it compiles on a number of platforms and has multithreading abilities on Unix servers, which make for great performance. For non-Unix people, MySQL can be run as a service on Windows NT and as a normal process in Windows 95/98 machines.

More >>


Managing Database with PHPMyAdmin

Although all the database administrative options can be done through PHP scripts, and PHPMyAdmin is an excellent free set of scripts that will provide you with an administrative interface for your MySQL database(s). You can add, remove, edit, backup and view your databases using this and it is especially useful when troubleshooting your databases.
For more information go to www.phpmyadmin.net

The Best Way *

All of them (Apache, PHP, MySQL and PHPMyAdmin) must be installed in to your computer, there are not easy installation by click - click and go finish! You must to make the configuration through all of them. The installation and configuration guideline you can find by their websites. But now, you can make it easily by one program installation that included Apache, PHP, MySQL and PHPMyAdmin and fixed them already, ready to work by one installation. This program's name is "AppServ". For more information and get Free download go to www.appservnetwork.com

After install, your root folder (a folder in your computer where you must to put your PHP files into) may be"C:/AppServ/www/"(the drive may be change to others by your custom installation).


Testing

Please remember, when you make the PHP file you must to put them into the root folder (You should be delete the existed files by AppServ installation in "www" folder). Now, test your machine is it work for PHP, Create a new file, put the script below and then save it to "index.php" and put it in to your root folder.

<?
echo "Hello PHP";
?>

Open your browser and go to "http://localhost" or "http://127.0.0.1" or your machine's name. If it appear "Hello PHP", it is mean that your computer is ready to work for PHP.

Advertise
Put Ebay RSS Feeds onto your website
SEO Elite Software
Domain Dashboard CPanel & Seo Manager
Work at Home Ideas and Opportunities
Introduction & Get Start
Using Form
PHP
PHP Tags
PHP Variables
PHP Control Structures
MySQL
Create Database & Table
Database Connection
Insert Record
Select Record
Update Record
Delete Record

PHPsimple.net
info@phpsimple.net