Softaculous


Topic : PHP files not executed on some urls


Posted By: stoickov on March 9, 2018, 5:03 am
I develop WordPress, and most pages works normally, but some addresses (including homepage) forces Firefox to download a file (random name, no extension) instead of executing php.

My guess is - it has something to do with .htaccess changes I've made (and reversed). I've added:
Code
<FilesMatch ".php">
SetHandler application/x-httpd-php7
</FilesMatch>

and removed it later. I don't know if it's related, but it's my only idea.

How to stop server to try to serve me files instead of executing them?

Posted By: stoickov on March 9, 2018, 5:11 pm | Post: 1
OK, the solutions was rather trivial: clear cache in browser.

Posted By: Brijesh on March 10, 2018, 8:53 am | Post: 2
Hi,

Glad to know your issue was resolved.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.