3 ms·
> When PHP became common and cheap most people moved to server-side inclusions. You don't (and didn't) need PHP for server-side includes. Apache has had them f
by perilunar 4y ago
> When PHP became common and cheap most people moved to server-side inclusions.
You don't (and didn't) need PHP for server-side includes. Apache has had them forever. A lot of cheap hosting is LAMP stack, so has PHP available, but you don't need to use it to get SSI.
https://httpd.apache.org/docs/current/howto/ssi.html https://httpd.apache.org/docs/current/howto/ssi.html
- p_l 4y agoAt least from my experience it was easier to get PHP than SSI - often if you were getting SSI, it was in conjunction with basic PHP support. Mind you, I'm talking about cheapest hosting possible, where 20 MB was a "step up" option.
- dspillett 4y agoFrom my experience SSI was not enabled on many hosts. If it was you usually had CGI or PHP too. Or maybe even mod_perl. SSI was commonly enabled on university web servers IIRC, but not commercial hosts.
- WorldMaker 4y agoI did use SSI some. My impression at the time was that cheap hosts that rolled out Apache services and had SSI enabled also generally had PHP enabled and PHP was the "better" choice at that point because it was both more powerful and more portable given Apache's SSI was unique to it and not supported by other hosts (then or now).