I've used laravel 5 to create an API locally which works alright.
I've tested it on my own server using hostgator and at first it didn't work.
After adding AddHandler application/x-httpd-php55 .php
to my .htaccess
file it worked.
Exact same thing happened on my client's server(which I only have ftp access to). After adding the line to the .htaccess
file, Im getting the text of the index.php instead of the response.
Thoughts?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community