Skip to main content
Inspiring
August 14, 2008
Question

Where do I store my php files then?

  • August 14, 2008
  • 2 replies
  • 408 views
I normally build asp and keep the files in my wwwroot folder because that is where the IIS can process the asp content. Do I still build and store PHP files in the wwwroot folder, or do I have them elsewhere? If so, where?

Thanks

Mat
This topic has been closed for replies.

2 replies

Inspiring
August 15, 2008
Mat,

If you've got Apache loaded on the same machine (according to your more
recent post), you would put your PHP files in the htdocs subdirectory under
the Apache Server directory in Program Files. For example,

C:\Program Files\Apache Software Foundation\Apache2.2\htdocs is logically
equivalent to c:\inetpub\wwwroot in IIS.

You've probably already figured out that the Apache server needs to be on a
different port number...

HTH

Steve

"matthew stuart" <webforumsuser@macromedia.com> wrote in message
news:g81js6$iv5$1@forums.macromedia.com...
>I normally build asp and keep the files in my wwwroot folder because that
>is
> where the IIS can process the asp content. Do I still build and store PHP
> files
> in the wwwroot folder, or do I have them elsewhere? If so, where?
>
> Thanks
>
> Mat
>


Inspiring
August 14, 2008
you can store .php files in the root folder or subdirectories.

.php is processed whenever a function is called so you can store them wherever the browser has access to - dead simple and good for organising.

I believe one limitation is your connection file, which should be store in the Connections folder in root.