Submitted by : Raj Thakur
Programming language: php
Framework: codeigniter
Operating System: Kali Linux
Servers: Apache
Posted on : 27-06-2019 11:40:22p

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.

            #chmod 777 –R /var/www/html/

                        Or

            #chmod 777 –R /var/www/html/[Directory_name_of_frame_work]

Step 2: Make sure  you have been enabling mod_rewrite.

            #a2enmod rewrite

            #service apache2 restart

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

            #vi /etc/apache2/apache2.conf

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

            <Directory /var/www/html/>

                        AllowOverride All

            </Directory>

Step 5: restart apache server.

            #service apache2 restart