ExpressionEngine-User-Guide
ExpressionEngine-User-Guide copied to clipboard
Dreamhost PHP
Suggested Change Dreamhost automatically add a .php file with a latest version PHP folder which includes a phprc file, however you need to manually insert the "extension = fileinfo.so" into the file above and outside the brackets that Dreamhost inserts automatically, otherwise it gets overwritten with any updates, they will not do it for you so I was told.
Reasoning Just saves a lot of digging aroung on the Dreamhost Wiki to find out why the file info does not work and clients cannot upload images after a PHP version update
Additional context
Can you provide a link to Dreamhost's page that describes the change necessary to restore File Info support?
https://help.dreamhost.com/hc/en-us/articles/214894037-How-do-I-create-a-phprc-file-via-FTP-
https://help.dreamhost.com/hc/en-us/articles/214205858
In whatever version of PHP you’re using you need to alter the automated Dreamhost code in the .php folder
Just add: extension = fileinfo.so
above this: ; {{{ The following lines were automatically added by DreamHost zend_extension=opcache.so ; }}} That's all from DreamHost
You may need to login to your Dreamhost account to click change settings.
in ee the file info window should then display
After I did this I had no problems uploading files to my site,
however you may need to repeat the above if Dreamhost updates the PHP version
Gary
Gary Braid 01625 560065 07798 743208