Kamis, 26 Februari 2009

How to get started PHP - instalation

below the information how to get started PHP.

requirements:
- php 528
- apache 226

step of instalation
1. install the apache server.
just execute apache_2.2.xxxx.msi file (double click)
after installation complete to test installation open browser and type: http://localhost
if its show "its work" mean your installation have successful
2. install php 528
due php installation its require to select the server, in this case you must select the apache


3. on httpd.conf (C:\Program Files\Apache Software Foundation\Apache2.2\conf (if you install in standard directory))

insert this script:
# for php 5 do something like this
LoadModule php5_module "c:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
#configure the path to php.ini
PHPIniDir "C:/php/"


#insert in below ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/"

5. on php.ini
find "extension_dir = "fill with "extension_dir = C:\php\ext",

you can open the php.ini from C:\PHP (if your instalation on this directory)


ScriptAlias /php/ "C:/php/"

you can start your love in PHP

nice try............

Tidak ada komentar:

Posting Komentar

Yahoo Matikan 12 Layanan

Berikut adalah daftar lengkap layanan Yahoo yang akan dihentikan: 1. Yahoo Axis, browser plug-in (28 Juni) 2. Yahoo Browser Plus, layan...