Skip to content

arliber/php-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-course

TODO

#Setup

  1. Startup Ubuntu

  2. Install git: sudo apt-get update

             `sudo apt-get install git `
    
  3. Install Apache: sudo apt-get install apache2

  4. Install MySQL: sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

  5. Enter 'root' password when prompted

  6. Setup MySQL: sudo mysql_install_db

             `sudo /usr/bin/mysql_secure_installation`
             
             Answer is Y for installation, n for eveything else until the last one ('Reload privilege tables now?') which is Y
    
  7. Install PHP: sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt

  8. Go to: /etc/apache2/sites-enabled

  9. Run this: sudo nano 000-default.conf

    Remove html/ from DocumentRoot line

  10. Restart Apache: sudo service apache2 restart

  11. Install phpMyAdmin: sudo apt-get install phpmyadmin

  12. Run: sudo php5enmod mcrypt

  13. Finally, restart: sudo service apache2 restart

About

The material for a PHP course I'm tutoring

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published