caser.blogg.se

Remove webroot
Remove webroot





  • PHP Fatal error: require(): failed opening required ‘D:/in D:/www/pub/app000/index.php on line 27.
  • Open browser at localhost:8000/app000/ -> begin debugging output:

    remove webroot

    Open browser at localhost:8000 -> should see output of phpinfo() from pub/index.php

  • create /www/pub/index.php containing only ‘ find your logs].
  • remove webroot

    move /www/apps/app/webroot/* to /www/pub/app/.EXCEPT composer.json, rename to composer-cakePHP.json then move with rest.move /www/serv/cake/cake/vendor/cakephp/cakephp/* to /www/serv/cake/cake/.

    remove webroot

    folder can be left behind - will be used for upgrades anyway.move /www/serv/cake/cake/vendor/cakephp/app/* to /www/apps/app/.initial composer.json created in /www/serv/cake/cake/ with all cakePHP dependencies i chose.learning MUCH about cakePHP 3.0 and composer and git and.i know, i know, i know, i know - six of one half dozen of other.can still use composer to update all focused on cake – OFF SITE if have to, with ALL plugins and vendors slave to the cakePHP, thenĪLL of /www/serv/cake/cake/plugins and vendors can be entirely overwritten or built in a new cake with minor diffs on select config, apps/app and pub/app files only.allow me to work behind restricted corporate environment.comfortable with my old setup, easier for me to get head around multiple projects with more than one dependant on each of cakePHP.this way you can simulutaneously work on dev AND stable branches of BOTH toolset(s) and application(s)./www/serv/cake/cake is where cakePHP core will live and be the central project in the composer sense./www/apps is where each application core will go as /www/apps/app./www/pub is where each application webroot will go as /www/pub/app./www/pub is apache doc root and the ONLY public access point.Install cakePHP in alternate directory structure to allow separation of cakebase and application and webroot.Īssuming all server apps - including composer - working

    remove webroot

    Some error logs may be in different places as stated in your php.ini and nf files that said, i do list required changes made by listing the error, commenting out the original line and adding the modified line Step 3) is my trace of sorting out paths and the like, i present it this way (rather than simply spelling out changes) to show HOW i sorted things out - THESE ARE EXAMPLES, change to suit your environment. Most of the time i will include variable parts inside square brackets, i.e., for multiple versions of cake Pay attention to *** tags where i have not followed thru with full testing of an idea. I have not looked at this in about a year, so i cannot speak to changes since then that may break it These are my NTS (Notes To Self), as such they are changing over time and you MUST intelligently scan and make changes to suit your own local folder/file structure This is a method i’ve been using since cakePHP 1.2 daze - of course YMMV:







    Remove webroot