
Originally Posted by
mdskinner
Yea, I'm set for short tags but if I try to open the test.php (phpinfo file) in a web browser, it just wants to open it in a text editor. It's like that for all php files.
fist, did you install the package apache2-mod_php5 ?
if no, the let me tell you that installing the package php will only install a cli version of php while the above package is the apache integration.
if yes, can you confirm that there is a file /etc/apache2/conf.d/php5.conf with the following content?
Code:
<IfModule mod_php5.c>
AddHandler application/x-httpd-php .php4
AddHandler application/x-httpd-php .php5
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .php4s
AddHandler application/x-httpd-php-source .php5s
AddHandler application/x-httpd-php-source .phps
DirectoryIndex index.php4
DirectoryIndex index.php5
DirectoryIndex index.php
</IfModule>
if not, add it.
Bookmarks