SOFTWARE DAN FILE

INSTALLATION SOFTWARE ORACLE 
 
1. Jalankan file oracleXEUniv.exe
2. Hilangkan tanda  checklist  pada opsi Launch the Database homepage
3. TEST ING or  Exerciseà  Login : system               Password : manager
Create : user  dan table
NotePad++
Jalankan file npp.6.2.3.Installer
APACHE (http://www.apache.org)
1. Jalankan file httpd-2.2.16-win32-x86-openssl-0.9.8o
2. Pada ND dan SD isi/ketik localhost  dan pada Admin ‘s Email Address
    isi/ketik   me@localhost, kemudian pilih/klik opsi “for all users”
3. Change Folder menjadi c:\Apache2.2\
4. Setelah installasi finish : Masuk ke menu all program pada windows.
    Pilih/klik Apache HTTP Server 2.2, kemudian klik Configure Apache Server
    dan  Edit the apache httpd.conf configuration file
                              Atau  pada   Xampp\apache\conf\httpd.ini
5. Pada halaman  httpd.conf ,  cari dan rubah  isi dari Document Root  dan
    DirectoryIndex  menjadi sbb :
                Document root “c:/apache2.2/htdocs”
                Directoryindex.php index.html
6. Masih pada halaman Edit the apache httpd.conf configuration file, cari dan
    lengkapi  isi <IfModule mime_module>   menjadi sbb :
<IfModule mime_module>
AddType application/x-compress .Z
AddType application/x-gzip .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .html
AddType application/x-httpd-php .htm
AddType application/x-httpd-php-source .phps
7. Simpan         
8. Apache di Restart
9. TESTING
7. HASIL    “It  works!”
        P H P (http://www.php.net)
PHP With Apache
1. Matikan service Apache
2. Jalankan file php-5.2.14-win32-installer
3. Change folder c:\php\
4. Pilih Apache  2.2.x Module
5. Isikan C:\Apache 2.2\conf\
6. Pilih extensions , modul Oracle (10) dan PDO|Oracle 10g client and above
7. Configurasi  atau  hilangkan tanda  ;      pada   :  C:\php\php.ini
Baris 342 : error_reporting = E_ALL & ~E_NOTICE
Baris 373 : display_errors  =  On
  Baris 496 : magic_quotes_gpc =  On
    Baris 535 : doc_root  =  “C:/Apache2.2/htdocs”
8. Copy file php5ts.dll   dari   c:\php  ke   c:\Apache2.2\bin
9. Buat  folder  php-oracle     pada   c:\Apache2.2\htdocs
     P H P (http://www.php.net)
PHP With Apache
1. Matikan service Apache
2. Jalankan file php-5.2.14-win32-installer
3. Change folder c:\php\
4. Pilih Apache  2.2.x Module
5. Isikan C:\Apache 2.2\conf\
6. Pilih extensions , modul Oracle (10) dan PDO|Oracle 10g client and above
7. Configurasi  atau  hilangkan tanda  ;      pada   :  C:\php\php.ini
Baris 342 : error_reporting = E_ALL & ~E_NOTICE
Baris 373 : display_errors  =  On
  Baris 496 : magic_quotes_gpc =  On
       Baris 535 : doc_root  =  “C:/Xampp/htdocs”
8. Copy file php5ts.dll   dari   c:\php  ke   c:\Xampp\Apache2.2\bin
9. Buat  folder  php-oracle     pada   c:\Xampp\htdocs

TESTING
Menampilkan “Welcome to PHP Programming”
Dari  web browser http://localhost/php-oracle/welcome.php
Caranya  adalah :
  1. Tuliskan kode program tersebut dibawah ini  dengan NotePad++  dan simpan dengan nama “welcome.php” pada  folder
       Pengguna Apache :
      C:/Apache2.2/htdocs/php-oracle
                        <?php echo “<h1>Welcome to PHP Programming!</h1>”; ?>
       Pengguna XAMPP:
      C:/Apache2.2/htdocs/php-oracle
                        <?php echo “<h1>Welcome to PHP Programming!</h1>”; ?>
2.   Start  Apache  dan Masuk  ke web browser http://localhost/php-oracle/welcome.php

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 komentar:

Posting Komentar