By leeppolis
I’m trying to configure my first Dokku container and I am a little bit confused. My PHP app that works perfectly on another server returns some error, but I don’t know where I can find the error description. From my browser, I only see “505 Internal Server Error”. I suppose that the cause can be a wrong connection to the DB server, or maybe something wrong in the .htaccess file (this will be the topic of another question), but without having access to the error logs it is very hard for me to understand what I did wrong. Where are Apache’s error log in my Dokku PHP container? There is a better way to debug this kind of errors? Thank you in advance, Simone
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Using the command dokku logs apache should show the logs you’re looking for. You can also say dokku logs apache -t to get a live tail.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.