httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: automagical support for PHP scripts in Apache-Test
Date Wed, 20 Oct 2004 11:04:17 GMT
On Mon, Oct 18, 2004 at 04:13:02PM -0400, Geoffrey Young wrote:
...
> you're on your way to writing Test::Harness compatible php scripts via
> Apache-Test.  whee!

Cool stuff!

> the missing parts are important parts of Aapche::Test and Apache::TestUtil
> implemented in php.  but if we just focused on adding plan(), ok() and
> t_cmp() I think we would have enough to ship.  andy lester started some of
> this here:
> 
>  http://use.perl.org/~petdance/journal/14227
> 
> so I just need a clue on how to load a library in php and how to adjust
> httpd.conf so that that the library is picked up, then we can port andy's
> code over and...

If by "library" you mean "file containing PHP code" you just have the
include() and require() statements AFAIK, there's no way to this
globally from php.ini/httpd.conf, again, AFAIK.

__DATA__ emulation in PHP sounds... difficult ;)

joe

Mime
View raw message