Skip to content

che-samples/web-php-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

web-php-apache2-simple

A hello world PHP script

Developer Workspace

Contribute

Recipe

FROM codenvy/php

Commands to run

# Description Command
1 Start Apache, tail logs sudo service apache2 start && sudo tail -f /var/log/apache2/access.log -f /var/log/apache2/error.log
2 Stop Apache sudo service apache2 stop
3 Restart Apache sudo service apache2 restart

Preview URL

localhost:$mappedPort/$projectName

DB access

To access database, run env | grep MYSQL in the terminal. You will get MySQL user, password and database. root user is passwordless.

Releases

No releases published

Packages

No packages published

Languages