Cloudron LAMP App


MySQL credentials

Use the following environment variables in the PHP code to access MySQL:

$_ENV["MYSQL_HOST"]
$_ENV["MYSQL_PORT"]
$_ENV["MYSQL_USERNAME"]
$_ENV["MYSQL_PASSWORD"]
$_ENV["MYSQL_DATABASE"]

Logs

Apache logs can be viewed using the cloudron commandline tool.

cloudron logs -f

SFTP Transfer

You can SFTP files to the public folder using Cyberduck, FileZilla or gFTP (use your cloudron credentials to authenticate).

sftp -P 2222 surfer.nebulon.info:public/

Addons

The app is configured to have access to the following Cloudron addons:

Read more about Cloudron addons and how to use them here.


PHP Setup