Masuk Terminal
sudo su
apt-get install apache2
Test after installed apache on the browser type favored us with "http://localhost/" in the address bar, after a successful install of PHP by type
apt-get install php5 libapache2-mod-php5
To be compatible PHP, PHP restart with the command
/etc/init.d/apache2 restart
Then test your browser with mengetikan http://localhost/testphp.php in the browser address bar.
Install Mysqlserver using the command in terminal
apt-get install mysql-server
Run mysql by type
mysql -u root -p
Enter your root password, and then install the next packet with the command
apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
after installed, PHP should work with MySQL to edit php.ini to change the (;). ; = mysql.so extension with extension = mysql.so using
gedit /etc/php5/apache2/php.ini
now restart apache using the command
/etc/init.d/apache2 restart
sumber:http://minez-inspirate.blogspot.com/2008/12/install-n-konfigurasi-lamp-di-ubuntu.html
No comments:
Post a Comment