WP Engine does not allow any changes to file or directory permissions

My WP Engine experience is related to a job I’ve been working on for the last week. I wanted to use wkhtmltopdf to generate some PDFs via PHP. Since wkhtmltopdf is an executable file, it would need to allow executable permissions for www-data (or whatever WP Engine’s user name is for apache). I tried to change permissions via FileZilla, but it couldn’t be done.

Continue reading

My PHP MySQL SSH tunneling experience

First, little background on why I’m writing this blog post… I have a client that has a “semi-dedicated” hosting account. In most respects, this account is just a fancy shared hosting account, but they say there are less accounts on the server. The client’s website is on that hosting account. The client also has a server at another location. I have root access to that server, and the client wants to be able to have that server do direct MySQL queries on the website’s database.

Continue reading