php - CodeIgniter 3.1.11 localhost is not working (HTTP ERROR 500)
Get the solution ↓↓↓i'am using first time codeigniter .But i know php .
const CI_VERSION = '3.1.11';
My problem is ; website is working on hosting , im create backup and download my localhost folder.but doesn't work in localhost, i want to work localhost (wamp server). i was get a error HTTP ERROR 500.
localhost url : http://localhost/test/
I was edit : application/config.php
$config['base_url'] = 'http://localhost/test/';
I was update : application/database.php
what should I do ? What is next step ?
Answer
Solution:
Try to install Xampp Software, since wamp server has a issues for proper installation in some systems. This might be the problem.
Check .htaccess is available in your root directory. As well as check the permission for the file for index.php in your root directory.
Before above 2 steps, make sure to check config.php and database.php has done proper changes.
Check the error logs(php_error_log) so that you will find the exact problem.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: cannot add or update a child row: a foreign key constraint fails
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.