Using Cache Storage in Gigarank

seliol

New member
Does anyone know if it's possible to enable any sort of cache for our hosted sites? Or what are the necessary steps to do so?

Heard Memcached is a free distributed memory object caching system:
An open-source Apache module which automatically applies web performance best practices to pages, and associated assets (CSS, JavaScript, images) without requiring that you modify your existing content or workflow.
Using this, or any other caching system would improve the loading time, especially for database driven websites.

In their site they say it's needed to install the Memcache PECL extension, in order to use the system.
Also I understood that this is somehow PHP related.

The other option I found is eAccelerator, also a free service. Both guides say I need to ask my hosting provider to activate them, so I'm not sure if it's anything I can do through CPanel, or if it is even a possibility.
 

seliol

New member
Update 1:
Ok, so far I see that I need to install the Memcached package. I have downloaded an already compiled version in .tar and .dll
Memcached is a PECL extension. PECL is an extension repository available through PEAR.
In our PEAR software, I've only found so far CodeGen_PECL (1.1.3) Tool to generate PECL extensions from an XML description

Trying that out now. I've just found an xml file that might be what I need.
That is, if the PECL tool works.

Update 2:
No, I can't even seem to find the tool, and documentation says it isn't maintained anymore. Plus I wouldn't know how to integrate the extension anyway.

Conclusion:
Our PHP PEAR software points out:
Using Your PHP Extension(s) and Application(s)
You will need to add /home/user/php to the include path. You can do this by adding the following code to your script:

ini_set("include_path", '/home/user/php:' . ini_get("include_path") );

I would appreciate some assistance, as to which file to add the code in, and where to find it at. :undecided:
(And which file type the PHP extension is meant to be in so our PHP PEAR reads it)

Many thanks in advance!
 

seliol

New member
I don't seem to have shell access:
"shell access is not enabled on your account"

Don't know where else to get to command line, that' why I was trying to use our CPanel GUI apps to install the module.
 

Apolloneos

New member
How can we use opcache? I enable it in cpanel, but it is not shown in the settings of my joomla/wp sites.
 

GigaGreg

Moderator
Staff member
Mostly because you need some 3rd party plugin to make it working with joomla/wp site.
 

Apolloneos

New member
Joomla's core mechanism normally recognize the server's active cache modules.
So, what can I do to activate it as an option in joomla settings?