|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
All php modules and lib files are in the proper location (/usr/lib/apache/) and referred to in the conf file.
php4, apache 1.3.9 I will post snippets of the httpd.conf file if needed. Anything else known to cause this to happen? |
|
#2
|
|||
|
|||
|
From the httpd.conf file:
Code:
LoadModule php4_module modules/libphp4.so AddModule mod_php4.c <IfModule mod_php4.c> AddType application/x-httpd-php4 .php AddType application/x-httpd-php4 .php3 AddType application/x-httpd-php4 .phtml AddType application/x-httpd-php4-source .phps </IfModule> I discovered that .php files are being parsed properly; in other words info.php displays the php info() screen just fine. |
|
#3
|
|||
|
|||
|
Problem was solved by commenting out the entire IfModule section and using a single line like:
AddType application/x-httpd-php4 .php .phtml .php3 |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Why are my php files prompting to download? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|