Re: Apache 2.0.52 / PHP 4.3.10 Integration Question...

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

 



On Fri, 31 Dec 2004 11:39:51 -0800, Robin Getz
<rgetz@xxxxxxxxxxxxxxxxxxxx> wrote:
> Hi.
> 
> I am trying to get Apache 2.0.52 / PHP 4.3.10 working with some scripts I
> am using.
> 
> 
> Which used to work with apache 2.0.40 and php 4.2.3 - but what happens now,
> is I actually get passed the php script back as text to the browser.
> 


Robin, I had the same problem with my latest PHP install on Apache 2. 
I had to add this line to my httpd.conf:

AddType application/x-httpd-php .php

I had a custom compiled PHP 5.0.2, which added the LoadModule line,
but not the AddType.  You may also want to include index.php in your
DirectoryIndex.  Let me know if this works for you.

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