INSTALASI PHP5 pada VPS


Status
Not open for further replies.

maestro

Poster 2.0
Setelah apache2 sudah terinstal dengan baik, kita dapat segera install modul php :
yum install php

Selanjutnya restart service apache :
/etc/init.d/httpd start

Kemudian kita dapat test apakah php kita berhasil terinstall dengan baik, caranya dengan membuat file info.php di direktory /var/www/html/
vi /var/www/html/info.php

kemudian masukkan kedalam file tersebut query sbb :

<?php
phpinfo();
?>

Cobain deh check ke http://IP-anda/info.php
 
Status
Not open for further replies.

Top