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

Re: PHP page getting download in web browser

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-10-09 14:24:55 CEST

On 10/9/07, Deepan R Venkatesh <deepan.deepan@gmail.com> wrote:
> Hi,
>
> I had setted up a svn server with the basic configuration. While I try to
> view a web page developed in php from a windows XP machine, the source page
> is completely getting download. I dont know whats the problem. Before it was
> working fine without any issues. I need to view the pages, I dont want to
> download the source page. I am accessing the php files from the svn server.
> I can explain more with an example.
>
> For example, If I provide the URL in web page http://192.168.1.4/pjct/
> (192.168.1.4 is my svn server), I'll be displayed some folders. Getting into
> those folders, If I click on index.php file its popping up a window to store
> that page. I need to display that index.php in the browser.
>
> Kindly help me to solve this issue and to work with svn. Please let me
> know If you need any other clarification on this.

This is at least the third place you've posted this question, and I'm
afraid the answer hasn't changed. You should not (I don't even think
it's possible) serve your PHP scripts directly out of the repository.
Period. You need to have a SEPARATE copy of the PHP code on the
server, appropriately configured to be executed when a browser
requests it.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 9 14:25:20 2007

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.