Apache 2.0.52 / PHP 4.3.10 Integration Question...

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

 



Hi.

I am trying to get Apache 2.0.52 / PHP 4.3.10 working with some scripts I am using.

I have a file named /www/projects which is a php script.
When I type the url: www.site/projects/variable

I want variable passed to the script "projects"

I have the the http.conf set up as:

<Files projects>
  SetInputFilter  PHP
  SetOutputFilter PHP
  AcceptPathInfo  On
</Files>

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.

Any thoughts? I poked around on google, and saw at http://dan.drydog.com/apache2php.html

"However, SetOutputFilter / SetInputFilter no longer works for me. It used to work with an earlier PHP 4.x or Apache 2 version, but not with Apache 2.0.47/PHP 4.3.3. I understand this (PHP as an Apache 2 filter) is experimental, so I don't use it anymore"

I tried things like:
  AddType text/html       php

But I keep getting the same thing in my browser:

<?php
/**
 * Projects Redirector
 *
---snip---
?>

Any thoughts? Thanks in advanced.

-Robin

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