/web-php-simple

A hello world PHP script

Primary LanguagePHPEclipse Public License 2.0EPL-2.0

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.