Answer the question
In order to leave comments, you need to log in
How to run CodeIgniter?
Good afternoon, guys, I can’t start CI for some reason / I don’t understand what I did wrong ...? Maybe some Apache module is missing.
So my actions are:
All according to this manu: www.masterinweb.net/lessons/php/nachalo_raboty_s_c...
Displaying a blank screen, index.php finds but does not load further.
apache-logserror.log
[Sat Apr 25 14:08:05.609147 2015] [:error] [pid 26955] [client 127.0.0.1:52169] PHP Warning: require_once(/home/maxim/work/ci/system/core/CodeIgniter.php): failed to open stream: Permission denied in /home/maxim/work/ci/index.php on line 202
[Sat Apr 25 14:08:05.609219 2015] [:error] [pid 26955] [client 127.0.0.1:52169] PHP Fatal error: require_once(): Failed opening required '/home/maxim/work/ci/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/maxim/work/ci/index.php on line 202
[Sat Apr 25 14:08:06.154712 2015] [:error] [pid 26956] [client 127.0.0.1:52171] PHP Warning: require_once(/home /maxim/work/ci/system/core/CodeIgniter.php): failed to open stream: Permission denied in /home/maxim/work/ci/index.php on line 202
[Sat Apr 25 14:08:06.154762 2015] [:error] [pid 26956] [client 127.0.0.1:52171] PHP Fatal error: require_once(): Failed opening required '/home/maxim/work/ci/system/ core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/maxim/work/ci/index.php on line 202
[Sat Apr 25 14:08 :06.347213 2015] [:error] [pid 26957] [client 127.0.0.1:52173] PHP Warning: require_once(/home/maxim/work/ci/system/core/CodeIgniter.php): failed to open stream: Permission denied in /home/maxim/work/ci/index.php on line 202
[Sat Apr 25 14:08:06.347258 2015] [:error] [pid 26957] [client 127.0.0.1:52173] PHP Fatal error: require_once() : Failed opening required '/home/maxim/work/ci/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/maxim/work /ci/index.php on line 202
[Sat Apr 25 14:08:06.531557 2015] [:error] [pid 26958] [client 127.0.0.1:52174] PHP Warning: require_once(/home/maxim/work/ci/system/core/CodeIgniter.php): failed to open stream: Permission denied in /home/maxim/work/ci/index.php on line 202
[Sat Apr 25 14:08:06.531604 2015] [:error] [pid 26958] [client 127.0.0.1:52174] PHP Fatal error: require_once(): Failed opening required '/home/maxim/work/ci/system/core/CodeIgniter.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/maxim/work/ci/index.php on line 202
require_once BASEPATH.'core/CodeIgniter.php';
Answer the question
In order to leave comments, you need to log in
So the answer was immediately found from the logs - in black and white and it says that access is denied. Check the access rights of the web server user to the ci/system/core/CodeIgniter.php file. Most likely, .php files do not have execution flags. Type chmod +x should be tried on them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question