Re: New Install Question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Never mind, I answered my own question.  I added "AddType
application/x-httpd-php .php" to the bottom of php.conf and that fixed
the problem.  We did not have that with our old system running php4.


php@xxxxxxxxxxxx wrote on 07/14/2005, 12:40:02 AM:
> 
> We just set up a new webserver using Apache 2 and PHP5. When I
> transferred all the files over from my old server, I saw that none of
> the PHP files are being rendered (i.e. I see the PHP source instead of
> the resulting HTML).  
> 
> Here is the PHP.conf file we are using:
> #
> # PHP is an HTML-embedded scripting language which attempts to make it
> # easy for developers to write dynamically generated webpages.
> #
>                                                                         
>                               
> LoadModule php5_module modules/libphp5.so
>                                                                         
>                               
> #
> # Cause the PHP interpreter handle files with a .php extension.
> #
> 
>     SetOutputFilter PHP
>     SetInputFilter PHP
>     LimitRequestBody 524288
> 
>                                                                         
>                               
> #
> # Add index.php to the list of files that will be served as directory
> # indexes.
> #
> DirectoryIndex index.php
> 
> 
> What am I doing wrong?  Or there another setting I need to set
> somewhere?
> 
> Thanks,
> Robbert van Andel
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux