public folder downloads php file instead of rendering them

Posted 2 months ago by lararocks

When I type mysitename.com/test.php it works perfectly with no issues. But when I type mysitename.com/public it downloads the php file instead of rendering it.

I just moved my site to another server and it supports php7 same as the old server.

Any idea guys? Thanks

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.