Navigation


RSS: articles / comments



February 26, 2007

Instalasi PHP 5


:: Instalasi PHP 5 ::

1. Download PHP5.1.1-Win32.zip (maaf sementara penulis masih memakai versi itu karena belum download lagi).

2. extract PHP5.1.1-Win32.zip kedalam “C:/” ubah namanya menjadi “C:/php”

3. Pindahkan file(di Cut) “c:/php/php5ts.dll” kedalam ” c:/windows/php5ts.dll”

4. Sekarang kita masuk kedalam tahap konfigurasi PHP 5

:: Konfigurasi PHP 5 ::

1. Rename “c:/php/php.ini-dist” menjadi “c:/php/php.ini” , lalu bukalah file “c:/php/php.ini”

settinglah doc_root = “c:/web/” (path ini bisa dirubah sesuai kebutuhan) samakan dengan documentroot dalam httpd.conf

2. Masih dalam file php.ini setting extension_dir menjadi extension_dir = “C:/php/ext”

3. Dalam file “C:/Program Files/Apache Group/Apache2/conf/httpd.conf” rubah documentrootnya menjadi “c:/web/” supaya sama dengan doc_root dalam php.ini

4. Dalam file “C:/Program Files/Apache Group/Apache2/conf/httpd.conf” rubah juga directorynya dibawah documentroot menjadi

5. lalu dalam file “C:/Program Files/Apache Group/Apache2/conf/httpd.conf “kita setting script aliasnya menjadi
ScriptAlias /php/ “c:/php/”
AddType application/x-httpd-php .php .php5
Action application/x-httpd-php “/php/php-cgi.exe”
SetEnv PHPRC “C:/php”

6.lalu restart lah service apachenya…


:: Semoga Bermanfaat ::

1 Comment »

The URI to TrackBack this entry is: http://indrasela.blogsome.com/2007/02/26/instalasi-php-5/trackback/

  1. THHAANKS

    Comment by chat — May 17, 2009 @ 9:00 pm

RSS feed for comments on this post.

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>



About Me

Yeah, it´s me! Indra, S.Kom
Dosen & Staff IT
Fakultas Teknologi Informasi

Universitas Budi Luhur.
Web Solution,Programmer & Trainer Pelatihan Ilmu Komputer adalah pekerjaanku.
email : indrasela@yahoo.com
ym:indrasela

Categories:

Site Related:

Archives:


Most Recent Posts

Most Popular Posts

Links

Shout Box


Admin

Internet Sehat Blog Award 2009

Visitor Counter