Skip to content
This repository was archived by the owner on May 9, 2023. It is now read-only.

Server & Local Environment Tips

Rudy Affandi edited this page Nov 15, 2015 · 13 revisions

For all environments

  • make sure you have all the necessary requirements met. See Here for a list of them.
  • When in doubt, try going to yoursite.dev/check.php and double check.

On Local

Having an accurate local set up is key to developing sites that go live with ease. Nothing is more frustrating than months of work preparing to launch, and then having it go terribly wrong because of one or two small discrepancies in the set up. Here's what we know about these common set ups:

MAMP/MAMP PRO

no notes at this time

Vagrant

no notes at this time

Homestead

no notes at this time

AMP

for folks using XAMMP, WAMP etc
no notes at this time

On Server

Ah - the lovely set of hardware that apparently makes our world go round... the server. Knowing what's going on under the hood can help ensure you get the best performance out of your Statamic site. Here's what we know:

Microsoft IIS

The V2 Public beta has not been thoroughly tested for use on Microsoft IIS. Please check back with us at a later date for more information, if you get stuck.

Apache

To enable static page caching, uncomment the following lines in your .htaccess

    # Check the static page cache
    RewriteCond %{REQUEST_FILENAME}   !-f
    RewriteRule ^(.*) static/$1/index.html

Nginx

no notes at this time

Clone this wiki locally