Re: PHP programs only work in one folder
| From: | Peter Hodge | Date: | Thu, 28 Sep 2006 01:01:37 +0000 |
| Subject: | Re: PHP programs only work in one folder | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17663@lists.php.net to get a copy of this message | ||
--- RR-News <dforeman@stny.rr.com> wrote:
> I have installed the BLOGCMS+PunBB facility under PHP 5 and Apache 2 in my
> "BB" folder and they work great, but I have another folder with PHP programs
> and the PHP code in the .HTML and .PHP files never runs. The HTML works
> fine, but no PHP execution. BOTH folders are in my Apache .CONF with
> identical settings. Both folders are in the same web root. I am trying to
> launch those programs in IE via File/Open/Browse and clicking onthe html or
> PHP file.
Please note the subtle difference between opening a PHP script in Internet
Explorer (or any other program) and opening Apache's processed output of the
same PHP script in Internet Explorer (or any other program). That is, opening
'file://c:\webroot\index.php' is _not_ the same as opening
'http://www.webroot.com/index.php'.
Let me know if I can assist further.
regards,
Peter
____________________________________________________
On Yahoo!7
Answers: 25 million answers and counting. Learn something new today
http://www.yahoo7.com.au/answers