Hello Paul,
 Your problem lies with your Webserver .conf file (apache?)
If Apache, it's called httpd.conf. The line(s) you will need to add are:

 # AddType allows you to tweak mime.types without actually editing it,
 # or to
 # make certain files to be certain types.
 #
 # For example, the PHP 3.x module (not part of the Apache distribution -
 # see
 # http://www.php.net) will typically use:
 #
   
   AddType application/x-httpd-php3 .php3
   AddType application/x-httpd-php3-source .phps

 #
 # And for PHP 4.x, use:
 #

   AddType application/x-httpd-php .php
   AddType application/x-httpd-php .php4
   AddType application/x-httpd-php-source .phps

 # For *your* needs Paul add the following:

   AddType application/x-httpd-php .phtml


 That *should* do it for ya. :-)

Best wishes,
 Chris



> I have PHP4.0 installed on my webserver in Linux by my provider.
> 
> I can run *.php scripts but I am use to creating web sights with
> *.phtml file extension.
> When I run the *.phtml file the web server can not seem to parse the
> file and it just displays the code.
> 
> The tech people gave me the php.ini file to modifiy so that php can
> parse *.phtml files.
> 
> There is one problem the tech people can not help me with configuring
> the php.ini file so  have been researching in
> the php web page but to no luck..
> so if someone knows how I can get to where my *.phtml files can be work
> that will be great
> 
> thank you -paul
> 
> 
> 
> -- 
> 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]


-- 
end


............................................
This email was sent using DNSWATCH WebMail.
   "Get an account today!"
http://www.dnswatch.com/dnswm112/



-- 
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