Do local php hosters allow you to install frameworks?

smb3

Senior Member
Joined
Mar 28, 2006
Messages
894
I wanted to know whether the hosting locally allows for using custom php frameworks e.g. slim??

I want to host a simple php rest API for hobbyist purposes but not sure whether the cheapo hosting options allow this?
 

neo_

Well-Known Member
Joined
May 20, 2015
Messages
453
Of course they do - hosting would not be hosting without it. Some hosts don't allow access above the document root, however, and so you'd need to use a few rewrite rules (htaccess) for frameworks that require their files to be stored above the doc-root. Laravel is one such example. Slim, however, does not dictate your directory structure - it is a micro-framework, and not full-stack.
 

smb3

Senior Member
Joined
Mar 28, 2006
Messages
894
Of course they do - hosting would not be hosting without it. Some hosts don't allow access above the document root, however, and so you'd need to use a few rewrite rules (htaccess) for frameworks that require their files to be stored above the doc-root. Laravel is one such example. Slim, however, does not dictate your directory structure - it is a micro-framework, and not full-stack.

Thanks for this :)
 
Top