Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Sample PHP

Run Locally:

  1. Install PHP
  2. Install Composer
  3. Install application dependencies
    composer install
    
  4. Run the server locally:
    php -S localhost:8000
    

Run Locally with Buildpacks & Docker:

pack build --builder=gcr.io/buildpacks/builder sample-php -v
docker run -it --rm -p 8080:8080 sample-php

Run on Cloud Run:

Run on Google Cloud