command: sudo apt-get install php5-gd Don’t forget to restart apache service apache2 restart
On ubuntu and kubuntu systems you can install php5 apache2 mysql and phpmyadmin with this command sudo apt-get install apache2 php5 php5-mysql php5-gd mysql-server phpmyadmin To enable mod_rewrite run this: sudo ln -sfn /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/ sudo /etc/init.d/apache2 restart
Open console and write pisi update-repo sudo pisi it apache mysql-server mod_php sudo mysql_install_db sudo service mysql-server on sudo service apache on After you should restart your comptuter Test <?php echo “Hello World”; ?> save this as test.php and copy /var/www/localhost/htdocs/ write firefox http://localhost/test.php if you do eveything correct, you will see hello world on … Read more
