Saturday, December 29, 2018

New comment by withinboredom in "Serverless: From a PHP Developer"

> Upload the WordPress files to the desired location on your web server

Yes, this is how you'd generally install /anything/ on a server. Whether it's Java/Ruby/Go/etc. You copy/install the files where they need to go so that the server can execute them. Sometimes an installer will do this for you (ie, `go get`), but sometimes you have to do it yourself even then, just because you have a non-standard install.

> there is still a ton of existing PHP apps which rely on being able to modify their own code.

Yes, WordPress is very stateful. It's pretty annoying. However, simply revoking write permissions to the filesystem is pretty straightforward. This (generally) will keep you amazingly safe from most simple exploits. Running WordPress in a stateless way is not that difficult.



from Hacker News - New Comments: "WordPress" http://bit.ly/2SsvZc3
via IFTTT

No comments:

Post a Comment

Show HN: Ridiculously simple way to generate a well-researched blog article

Most of us are busy building. I am too. But your website deserves a blog article. In fact, it needs one. So please generate one for free fro...