I have custom compiled Apache, PHP as DSO. However, phpinfo page shows the output as text page:
If I access http://domain.com/info.php , the output is:
<?php
phpinfo();
?>
This is because correct handler is not added in apache configuration file as below:
-----------
AddType application/x-httpd-php .php
-----------
Here application/x-httpd-php is the mime type.
If I access http://domain.com/info.php , the output is:
<?php
phpinfo();
?>
This is because correct handler is not added in apache configuration file as below:
-----------
AddType application/x-httpd-php .php
-----------
Here application/x-httpd-php is the mime type.