[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Executing PHP from SVN

From: Patrick Krekelberg <patrick_at_bellapk.com>
Date: Tue, 8 Jul 2008 21:02:57 -0500

I agree it's the wrong thing to do, I am using another vhost as a
server-side working copy. It was more of a curiosity than anything.
Thanks for your help.

On Jul 8, 2008, at 8:42 PM, Mark K wrote:

> You are trying to execute php files directly from the repository or
> from
> a working copy? I am guessing you are trying to run them straight
> from
> the repository (through DAV).
>
> AFAIK, that is "the wrong thing to do." Check them out into a working
> copy where they will be normal files and point your web server to
> that.
>
> On Tue, 8 Jul 2008 16:49:40 -0500
> Patrick Krekelberg <patrick_at_bellapk.com> wrote:
>
>> I have some secure SVN repositories viewable via the web. I want to
>> be able to place PHP in the repositories which will be executed
>> properly by Apache in order to allow simple web applications to run.
>> I am using Subversion auto-props to set up the correct mime types for
>> HTML, etc. but I cannot get it to work for PHP.
>>
>> My Apache installation has the line:
>> AddHandler application/x-httpd-php .php
>>
>> However, if I set the mime type of PHP files to application/x-httpd-
>> php in auto-props they do not run in the browser. What am I missing?
>> What mime type should I be setting the PHP files to in my auto-props?
>>
>> thanks,
>> -Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-09 04:03:24 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.