CKD_Graywolf Posted July 23, 2016 Share Posted July 23, 2016 Hello, I'm testing 1.7.0.0 on HostGator and trying to enable OPcache on my live server, but i dont have no access to the PHP.ini config file. Called HostGator they told me it was above their scope of services, my only option is use htaccess to enable OPcache on my live server. Im totally lost, on how to rewrite these the setting for htaccess: opcache.memory_consumption=128 opcache.interned_strings_buffer=8opcache.max_accelerated_files=4000opcache.revalidate_freq=60opcache.fast_shutdown=1opcache.enable_cli=1 opcache.enable=1 & extension=php_gd2.dll zend_extension=php_opcache.dll Link to comment Share on other sites More sharing options...
selectshop.at Posted July 23, 2016 Share Posted July 23, 2016 What hostgator wants to tell you is: add a php.ini to your root. Or if you have server administrator rights you can change server settings by yourself with SSH. From what you are telling I suppose that it is the first one. Add a php.ini to your root webspace with the lines they gave you, for to configure opCache. Link to comment Share on other sites More sharing options...
CKD_Graywolf Posted July 23, 2016 Author Share Posted July 23, 2016 How do I check to see it "php_gd2.dll" & php_opcache.dll" in the rigth location on Host Gator Link to comment Share on other sites More sharing options...
selectshop.at Posted July 24, 2016 Share Posted July 24, 2016 SSH connection and server root administration rights. If not available, only by asking provider for help. phpinfo.php should show you if the settings are applying. If tutorial needed: https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page Link to comment Share on other sites More sharing options...
CKD_Graywolf Posted July 26, 2016 Author Share Posted July 26, 2016 (edited) SSH connection and server root administration rights. If not available, only by asking provider for help. phpinfo.php should show you if the settings are applying. If tutorial needed: https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page Thanks man for helping me. Called my hosting company and I looked over a few articles. HostGator doesn't allow Opcache on a shared server. Im now stuck only using PEAR Package to preform caching but it not as good as OPcache. Edited July 26, 2016 by CKD_Graywolf (see edit history) Link to comment Share on other sites More sharing options...
selectshop.at Posted July 27, 2016 Share Posted July 27, 2016 You shuold consider to use another hosting package in this case. 1 Link to comment Share on other sites More sharing options...
CKD_Graywolf Posted July 27, 2016 Author Share Posted July 27, 2016 do you know of any other options that work? Link to comment Share on other sites More sharing options...
selectshop.at Posted July 27, 2016 Share Posted July 27, 2016 Not for PS 1.7- For older versions you can downgrade php-version and use APC or xCache. PHP version 5.4. lower still support the use of these cache modules. php 5.4.14 (I think) are having opCache on board as standard. In this case the sever should be configured accordingly. Move to another hosting package or to forget OS 1.7. are the only two options. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now