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 ##SFTP_PORT ##SFTP_DOMAIN:public/