I am using XAMPP for Linux, but when I try to open a PHP file saved in a folder saved in home directory, the browser downloads the PHP file instead of displaying it. What could be the problem?
XAMPP Status is:
Component Status Hint
MySQL database ACTIVATED
PHP ACTIVATED
Perl ACTIVATED
Common Gateway Interface (CGI) ACTIVATED
Server Side Includes (SSI) ACTIVATED
PHP extension »OPcache« DEACTIVATED See FAQ
PHP extension »OCI8/Oracle« ACTIVATED
Some changes to the configuration sometime may cause false negative status reports.
What could be a possible solution?