Cara Install Code Igniter di Linux
1. Download Code Igniter
$ cd /var/www
$ wget https://github.com/bcit-ci/CodeIgniter/archive/3.1.9.zip
Extract File
$ unzip 3.1.9.zip
$ mv CodeIgniter-3.1.9 CodeIgniter
2. Copy the extracted directory to the Apache root directory and give proper permissions with the following command: (optional)
sudo cp -r CodeIgniter-3.1.5 /var/www/html/codeigniter
sudo chown -R www-data:www-data /var/www/html/codeigniter
sudo chmod -R 777 /var/www/html/codeigniter/
3. Create a new VirtualHost configuration file:
5. Restart apache service to apply all the changes:
systemctl restart apache2
0 Komentar