this line is necessary

   AddType application/x-httpd-php .php

then you should also load the module, otherwise apache doesn't recognize
your scripts as php-scripts and simply displays the text....

Read the docs for that purpose....

regards,
Chris

-----Original Message-----
From: Mojgan Kazemi [mailto:[EMAIL PROTECTED]]
Sent: 21. ledna 2002 8:06
To: [EMAIL PROTECTED]
Subject: [PHP-INST] help!



Hi;
  I have freebsd 4.4 with apache 1.3.22 and Posgresql7.3.1
  i have installed php4.1.1 .
  when i run a php file under htdocs with browser ,it shows me 
the source ,what's the problem? there is AddType for php4 in it 
also. please help me
 
 --regards



-----------------------------------------
This message was sent using IOL Web Mail.
http://www.iol.co.ir/



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to