I am novice to CakePhp just istalled composser, Php on localhost but not working

release

#1

i just installed
CakePHP v3.5.11
php version 7.1.7

when i run server locally on local host
bin\cake server -H 0.0.0.0

Welcome to CakePHP v3.5.11 Console

App : src
Path: E:\xampp\htdocs\myapp\src
DocumentRoot: E:\xampp\htdocs\myapp\webroot

built-in server is running in http://0.0.0.0:8765/
You can exit with CTRL-C

when i go to http://0.0.0.0:8765 in some Browser it Shows just blank White Page


#2

Then i just install CakePhp lower version 3.5.0 and its Working Fine with me
E:\xampp\htdocs>composer create-project --prefer-dist cakephp/app:3.5.0 myappa
Installing cakephp/app (3.5.0)

  • Installing cakephp/app (3.5.0): Loading from cache
    Created project in myappa
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    Package operations: 47 installs, 0 updates, 0 removals
  • Installing cakephp/plugin-installer (1.1.0): Loading from cache
  • Installing aura/intl (3.0.0): Loading from cache
  • Installing mobiledetect/mobiledetectlib (2.8.30): Loading from cache
  • Installing psr/http-message (1.0.1): Loading from cache
  • Installing zendframework/zend-diactoros (1.7.0): Loading from cache
  • Installing psr/log (1.0.2): Loading from cache
  • Installing cakephp/chronos (1.1.4): Loading from cache
  • Installing cakephp/cakephp (3.5.11): Loading from cache
  • Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
  • Installing symfony/yaml (v3.4.4): Loading from cache
  • Installing symfony/debug (v4.0.4): Loading from cache
  • Installing symfony/console (v3.4.4): Loading from cache
  • Installing symfony/filesystem (v4.0.4): Loading from cache
  • Installing symfony/config (v3.4.4): Loading from cache
  • Installing robmorgan/phinx (v0.8.1): Loading from cache
  • Installing cakephp/migrations (1.7.2): Loading from cache
  • Installing m1/env (2.1.0): Loading from cache
  • Installing josegonzalez/dotenv (2.1.0): Loading from cache
  • Installing jakub-onderka/php-console-color (0.1): Loading from cache
  • Installing jakub-onderka/php-console-highlighter (v0.3.2): Loading from cache
  • Installing dnoegel/php-xdg-base-dir (0.1): Loading from cache
  • Installing nikic/php-parser (v3.1.4): Loading from cache
  • Installing symfony/polyfill-php72 (v1.6.0): Loading from cache
  • Installing symfony/var-dumper (v4.0.4): Loading from cache
  • Installing psy/psysh (v0.8.17): Loading from cache
  • Installing jdorn/sql-formatter (v1.2.17): Loading from cache
  • Installing symfony/process (v4.0.4): Loading from cache
  • Installing symfony/finder (v4.0.4): Loading from cache
  • Installing seld/phar-utils (1.0.1): Loading from cache
  • Installing seld/jsonlint (1.7.1): Loading from cache
  • Installing seld/cli-prompt (1.0.3): Loading from cache
  • Installing justinrainbow/json-schema (5.2.6): Loading from cache
  • Installing composer/spdx-licenses (1.2.0): Loading from cache
  • Installing composer/semver (1.4.2): Loading from cache
  • Installing composer/ca-bundle (1.1.0): Loading from cache
  • Installing composer/composer (1.6.2): Loading from cache
  • Installing cakephp/debug_kit (3.12.0): Loading from cache
  • Installing twig/twig (v1.35.0): Loading from cache
  • Installing umpirsky/twig-php-function (v0.1): Loading from cache
  • Installing jasny/twig-extensions (v1.2.0): Loading from cache
  • Installing asm89/twig-cache-extension (1.3.2): Loading from cache
  • Installing aptoma/twig-markdown (2.0.0): Loading from cache
  • Installing ajgl/breakpoint-twig-extension (0.3.1): Loading from cache
  • Installing wyrihaximus/twig-view (4.3.1): Loading from cache
  • Installing cakephp/bake (1.6.0): Loading from cache
  • Installing squizlabs/php_codesniffer (3.2.2): Loading from cache
  • Installing cakephp/cakephp-codesniffer (3.0.3): Loading from cache
    cakephp/app suggests installing markstory/asset_compress (An asset compression plugin which provides file concatenation and a flexible filter system for preprocessing and minification.)
    cakephp/app suggests installing dereuromark/cakephp-ide-helper (After baking your code, this keeps your annotations in sync with the code evolving from there on for maximum IDE and PHPStan compatibility.)
    cakephp/app suggests installing phpunit/phpunit (Allows automated tests to be run without system-wide install.)
    cakephp/cakephp suggests installing lib-ICU (The intl PHP library, to use Text::transliterate() or Text::slug())
    symfony/console suggests installing symfony/event-dispatcher ()
    symfony/console suggests installing symfony/lock ()
    m1/env suggests installing m1/vars (For loading of configs)
    psy/psysh suggests installing ext-pcntl (Enabling the PCNTL extension makes PsySH a lot happier :))
    psy/psysh suggests installing ext-posix (If you have PCNTL, you’ll want the POSIX extension as well.)
    psy/psysh suggests installing ext-pdo-sqlite (The doc command requires SQLite to work.)
    psy/psysh suggests installing hoa/console (A pure PHP readline implementation. You’ll want this if your PHP install doesn’t already support readline or libedit.)
    cakephp/debug_kit suggests installing ext-sqlite (DebugKit needs to store panel data in a database. SQLite is simple and easy to use.)
    asm89/twig-cache-extension suggests installing psr/cache-implementation (To make use of PSR-6 cache implementation via PsrCacheAdapter.)
    aptoma/twig-markdown suggests installing michelf/php-markdown (Original Markdown engine with MarkdownExtra.)
    aptoma/twig-markdown suggests installing knplabs/github-api (Needed for using GitHub’s Markdown engine provided through their API.)
    ajgl/breakpoint-twig-extension suggests installing ext-xdebug (The Xdebug extension is required for the breakpoint to work)
    ajgl/breakpoint-twig-extension suggests installing symfony/framework-bundle (The framework bundle to integrate the extension into Symfony)
    ajgl/breakpoint-twig-extension suggests installing symfony/twig-bundle (The twig bundle to integrate the extension into Symfony)
    Writing lock file
    Generating autoload files

Cake\Composer\Installer\PluginInstaller::postAutoloadDump
App\Console\Installer::postInstall
Created config/app.php file
Set Folder Permissions ? (Default to Y) [Y,n]? y
Updated Security.salt value in config/app.php

But when i run Server
it shows me that i am on Cakephp 3.5.11


#3

E:\xampp\htdocs\myappa>bin\cake server

Welcome to CakePHP v3.5.11 Console

App : src
Path: E:\xampp\htdocs\myappa\src
DocumentRoot: E:\xampp\htdocs\myappa\webroot

built-in server is running in http://localhost:8765/
You can exit with CTRL-C
[Wed Jan 31 14:28:05 2018] ::1:50279 [200]: /css/base.css
[Wed Jan 31 14:28:05 2018] ::1:50281 [200]: /css/cake.css
[Wed Jan 31 14:28:05 2018] ::1:50282 [200]: /css/home.css
[Wed Jan 31 14:28:05 2018] ::1:50284 [200]: /img/cake.logo.svg
[Wed Jan 31 14:28:05 2018] ::1:50285 [200]: /font/cakedingbats-webfont.woff2
[Wed Jan 31 14:28:06 2018] ::1:50293 [200]: /favicon.ico

It Just once run server smoothly but again showing me blank white page


#4

You tried with other host like
bin\cake server -H 10.10.10.10