Trouble getting started - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: Trouble getting started (/showthread.php?tid=71647) |
Trouble getting started - vanbang2cdduoc - 09-09-2018 I downloaded CI4, extracted the files and renamed the folder to ci4. Then i added a virtual host: Code: <VirtualHost 127.0.0.1:80> DocumentRoot "C:\Program Files (x86)\Ampps\www\ci4\public" ServerName ci4.dev </VirtualHost> Quote: The ci4.dev page isn’t working ci4.dev is currently unable to handle this request. Quote: [Tue Jun 28 07:13:08.222286 2016] [:error] [pid 4596:tid 1300] [client 127.0.0.1:64646] PHP Fatal error: Uncaught Error: Class 'Config\\App' not found in C:\\Program Files (x86)\\Ampps\\www\\ci4\\public\\index.php:237\nStack trace:\n#0 {main}\n thrown in C:\\Program Files (x86)\\Ampps\\www\\ci4\\public\\index.php on line 237 I also changed RewriteBase to "/ci4". PHP version is 7. RE: Trouble getting started - kilishan - 09-09-2018 Two things: 1) PHP must be 7.1 2) are you on the master branch or the develop branch? Needs to be develop branch. RE: Trouble getting started - InsiteFX - 09-10-2018 If AMPPS is anything like XAMPP then you should not install it to the windows program files folder. install it to the root c:\ampps Also you need to make sure that your windows host file is pointing to localhost 127.0.0.1 c:\windows\system32\drivers\etc\host edit that file as administrator with notepad and make sure its pointing to localhost. Also did you start the web server? |