You should install the PHP 5 library for Apache.
For Debian and Ubuntu:
apt-get install libapache2-mod-php5
And restart the Apache:
service apache2 restart
More Related Contents:
- UTF-8 all the way through
- What is the difference between HTTP_HOST and SERVER_NAME in PHP?
- Does PHP have threading?
- deny direct access to a folder and file by htaccess
- How to check if mod_rewrite is enabled in php?
- Run process with realtime output in PHP
- Server not parsing .html as PHP
- PHP code is not being executed, but the code shows in the browser source code
- How to check what user php is running as?
- Best way to manage long-running php script?
- PHP Fatal error: Call to undefined function json_decode()
- how to create virtual host on XAMPP [duplicate]
- WampServer orange icon
- Switch php versions on commandline ubuntu 16.04
- Only variable references should be returned by reference – Codeigniter
- Executing a shell script from a PHP script
- php return 500 error but no error log
- Fatal Error – ‘Mongo’ class not found
- How to run Laravel without Artisan?
- %2F in URL breaks and does not reference to the .php file required [duplicate]
- Set an environment variable in .htaccess and retrieve it in PHP
- How to enable gzip?
- Deny ajax file access using htaccess
- Installing mcrypt extension for PHP on OSX Mountain Lion
- $PATH environment variable for apache2 on mac
- PHP Warning: Unknown: failed to open stream
- Reopening a session in PHP
- Routing URLs in PHP
- Tell SELinux to Give Apache Execute Access to PHP Files Outside Document Root
- using mod_rewrite with XAMPP and windows 7 – 64 bit?