phprc

From IndieWeb


phprc is what Dreamhost calls their php.ini config file, and an essential part of running an H2VX service on a site hosted by Dreamhost.

Documentation:

tidy

If you want to use the 'tidy' extension (like to clean-up malformed HTML before parsing it for microformats for typical IndieWeb use-cases) in your PHP code that runs on DreamHost, you have to add extension = tidy.so explicitly to your phprc file which is inside a nested series of PHP and version number folders in your home directory, e.g. ~/.php/8.1/phprc

Make sure there is a line like this by itself in your phprc file (e.g. at the start)

extension = tidy.so

See Also