Last active
August 11, 2023 09:23
-
-
Save amnuts/5d56dee5a7bfc9f826ab to your computer and use it in GitHub Desktop.
Dreamhost PHP 5.6 phprc file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
date.timezone = "Europe/London" | |
expose_php = 0 | |
extension = phar.so | |
extension = fileinfo.so | |
extension = intl.so | |
suhosin.executor.include.whitelist = phar | |
[opcache] | |
zend_extension=opcache.so | |
opcache.enable=1 | |
opcache.memory_consumption=32 | |
opcache.interned_strings_buffer=4 | |
opcache.save_comments=0 | |
opcache.load_comments=0 | |
opcache.revalidate_path=1 | |
opcache.enable_file_override=1 | |
opcache.validate_timestamps=0 | |
opcache.revalidate_freq=300 | |
opcache.max_file_size=2097152 | |
opcache.fast_shutdown=1 | |
opcache.max_accelerated_files=3907 |
is this still valid now or you no longer play with dreamhost ?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is for Dreamhost shared hosting and allows you to over-ride PHP ini settings.
Put the file in ~/.php/5.6/phprc
(adjust directory for other versions of PHP)
If changes are not reflected, run killall php56.cgi from cli (substitute 56 for whatever version of PHP it is)