• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Installation/Startup Issue with PHP 7 built-in server

#1
Hello All,

Thanks in advance for any input!

I git-cloned the repo to my development Mac (running Sierra/php 7) and started it using PHP7's built-in webserver like this:

Code:
➜  CodeIgniter4 git:(develop) php -S  localhost:7778 --docroot=/Users/moo/Library/Mobile\ Documents/com~apple~CloudDocs/Sites/CodeIgniter4/public
PHP 7.0.5 Development Server started at Tue Jul 26 17:38:09 2016
Listening on http://localhost:7778
Document root is /Users/moo/Library/Mobile Documents/com~apple~CloudDocs/Sites/CodeIgniter4/public
Press Ctrl-C to quit.

After accessing http://localhost:7778 in the browser, I get these errors:
Code:
[Tue Jul 26 17:38:15 2016] PHP Fatal error:  Uncaught Error: Class 'Config\App' not found in /Users/moo/Library/Mobile Documents/com~apple~CloudDocs/Sites/CodeIgniter4/public/index.php:237
Stack trace:
#0 {main}
 thrown in /Users/moo/Library/Mobile Documents/com~apple~CloudDocs/Sites/CodeIgniter4/public/index.php on line 237
[Tue Jul 26 17:38:15 2016] 127.0.0.1:51266 [500]: / - Uncaught Error: Class 'Config\App' not found in /Users/moo/Library/Mobile Documents/com~apple~CloudDocs/Sites/CodeIgniter4/public/index.php:237
Stack trace:
#0 {main}
 thrown in /Users/moo/Library/Mobile Documents/com~apple~CloudDocs/Sites/CodeIgniter4/public/index.php on line 237

Am I making a setup mistake?

Thanks,

Jason

(Using CodeIgniter since 1.x)
Reply


Messages In This Thread
Installation/Startup Issue with PHP 7 built-in server - by jasonzig - 07-26-2016, 03:44 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.