Cloudron LAMP App


MySQL credentials

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

getenv("MYSQL_HOST")
getenv("MYSQL_PORT")
getenv("MYSQL_USERNAME")
getenv("MYSQL_PASSWORD")
getenv("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