How to run CodeIgniter Web Framework on kali linux and Ubuntu

2019-08-19 Raj Thakur Download Code

Hello friends, this tutorial we are discussing about how to run CodeIgniter framework on kali Linux and what are the problem is face when run any php framework on kali Linux operating system. Basically in Linux operating system we face the common error like ‘Not Found’, it’s come from will redirect to any controller. Codeigniter error when Redirect URL (Not Found) also in Ubuntu.

We need following steps

Step 1:change The permission of html directory.

sudo chmod -R 777 /var/www/html/
sudo chmod -R 777 /var/www/html/[Directory_name_of_frame_work]

Step 2: Make sure  you have been enabling mod_rewrite.

sudo a2enmod rewrite
sudo service apache2 restart

Step 3: you have set AllowOverride All in apache2.conf.

sudo vi /etc/apache2/apache2.conf

Step 4: Please Insert below code into apache2.conf file.

<Directory /var/www/html/>
    AllowOverride All

Step 5: restart apache server.

service apache2 restart

About author

Card image cap
Raj Thakur

I’m a full-stack developer, with a strong programming knowledge on web base frameworks.!

-full-stack developer


Scroll to Top