Setelah sebelum nya mengaktifkan apache sekarang saatnya untuk install PHP nya, soalnya butuh phpmyadmin untuk administrasi database MySql.
Download php
Ekstrak PHP
Masuk ke direktori hasil ekstrak PHP
configure make dan make install
#./configure --with-mysql --with-apxs2=/usr/sbin/apxsapxs ? => man apxs
#make #make installBuat konfigurasi php.ini (copas php.ini-recomended)
#cp php.ini-recommended /usr/local/lib/php.iniEdit httpd.conf
#vim /etc/httpd/httpd.confTambahkan :
AddType application/x-httpd-php .php DirectoryIndex index.html index.php index.shtmlCek php, buat file /var/www/htdocs/info.php isinya :
<?php phpinfo(); ?>
Selesai.....
