What are common issues when installing PHP with Apache 2 according to the PHP manual?
One common issue when installing PHP with Apache 2 is the PHP code not being executed by the server, resulting in the browser displaying the PHP code as plain text. This can be solved by ensuring that the PHP module is correctly loaded in the Apache configuration file. To fix this issue, you can add the following line to your Apache configuration file (httpd.conf or apache2.conf): ``` LoadModule php7_module /path/to/php7_module.so ``` Make sure to replace "/path/to/php7_module.so" with the actual path to the PHP module on your system. After adding this line, restart Apache for the changes to take effect.