Apache 2.0.52 / PHP 4.3.10 Integration Question...
| From: | Robin Getz | Date: | Fri, 31 Dec 2004 19:39:51 +0000 |
| Subject: | Apache 2.0.52 / PHP 4.3.10 Integration Question... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-205421@lists.php.net to get a copy of this message | ||
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 phpBut I keep getting the same thing in my browser: <?php /** * Projects Redirector * ---snip--- ?> Any thoughts? Thanks in advanced. -Robin