Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

SiteGround Documentation Correction/Suggestion

Started by Muut Archive 12 years ago · 1 replies · 358 views
12 years ago

Hey cool people,

I'm working through GRAV install issues (I'll save that for another thread) and I found the SiteGround Install Doc. Just a small note when enabling zend_extension=opcache.so in a php.ini:

Putting the php.ini in your ~/public_html dir will not necessarily enable it (at least in my case) if you have multiple domains (web roots) registered.

SiteGround calls them "addon domains". When you register a domain beyond the initial one you created when signing up, you have to add it as an "addon domain" in cPanel and point it to a dir that is it's web root. I would suspect in most cases, such as I did, that people would change their default web root to be something like:

~/public_html/myinitialdomain.com instead of ~/public_html/

and any addon domains as:

~/public_html/myaddondomain.com/

I've found that I must put the php.ini in each new web root dir under ~/public_html/ where I want it to be active.

-Ritchie

12 years ago

Thanks. I'll udate the doc with the info you provided.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2528 9 years ago
Archive · by Muut Archive, 9 years ago
2 1664 9 years ago
Archive · by Muut Archive, 9 years ago
2 4943 9 years ago
Archive · by Muut Archive, 9 years ago
1 3768 9 years ago
Archive · by Muut Archive, 9 years ago
3 1779 9 years ago