The recent post about what people are using for webmail got me thinking about a perhaps irrational policy I have with my own self-hosted software: I donā€™t install anything written in PHP, because I have this vague notion that PHP software is often insecure. I think I probably got this idea because years ago I saw all the vulnerabilities in PHP webmail clients and PHP software like Wordpress and decided that it was the languageā€™s faultā€”or at least a contributing factor.

Maybe this isnā€™t fair. Maybe PHP is just more accessible to new devs and so theyā€™re more likely to gravitate to it and make security mistakes. Maybe my perception isnā€™t even accurate, and webmail / blog software written in other languages is just as badā€”but PHP gets all the the negative attention because itā€™s so prevalent for web apps. Maybe my policy was a good idea, years ago, but now itā€™s just out of date.

To be clear, Iā€™m not trying to stoke the flames of a language holy war here or anything. Iā€™m honestly asking: Is it maybe time to revisit my anti-PHP policy? Iā€™m looking longingly at some federated software like Pixelfed and wondering if maybe Iā€™m just being a little too close-minded.

So Iā€™m interested in your own experiences and polices here. Where do you draw the security line for what you will or wonā€™t host, and what made you make that choice?

You are viewing a single thread.
View all comments View context
3 points

Easy solvable. Develop in strict mode with all notices enabled. Should be the default for any developer.

permalink
report
parent
reply

Selfhosted

!selfhosted@lemmy.world

Create post

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you donā€™t control.

Rules:

  1. Be civil: weā€™re here to support and learn from one another. Insults wonā€™t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If itā€™s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Donā€™t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (donā€™t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

Community stats

  • 4.9K

    Monthly active users

  • 3.5K

    Posts

  • 75K

    Comments