I’m having trouble making my CodeIgniter project work in Ubuntu since I’ve developed it on Windows. My main problem is that I don’t even see any error or warning that can help me determine what the problem is. As you can see it’s just a blank screen. The environment that I’ve declared in the index.php file is development and I’ve also enabled display_errors by setting it to On.

PHP also seems to be working fine since calling php_info() displays something. I believe I’ve also configured mysql properly. I’ve also declared the defaults(host, user, password, port) in php.ini. Can you give me any ideas on how to make something show up?Or something that would allow me to check if I’ve configured things properly. Please help. Thanks!
If you’re like me and you have installed Apache, PHP, and MySQL separately using
sudo apt-getthen you most likely encounter the same error wherein there is nothing showing up in the logs and on the browser even if you have already
set display_errors to on.What I did was to disable the autoloaded libraries one by one starting from the left.
And my problem was on the database class. Turns out that mysqli and mysql drivers for php isn’t automatically installed when you install php.
All you have to do is to enter the following command:
Doesn’t matter if you have already installed php.
A little help from CodeIgniter could have save me a few hours trying to debug it.