Skip to content

Instantly share code, notes, and snippets.

@amnuts amnuts/phprc
Last active May 10, 2018

Embed
What would you like to do?
Dreamhost PHP 5.6 phprc file
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
@amnuts

This comment has been minimized.

Copy link
Owner Author

amnuts commented Jan 22, 2016

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)

@JohnMica

This comment has been minimized.

Copy link

JohnMica commented May 10, 2018

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
You can’t perform that action at this time.