|
Posted by Andy Hassall on 09/06/05 21:41
On 6 Sep 2005 11:23:14 -0700, "XxLicherxX" <goldhors64@aol.com> wrote:
>I am having a problem getting PHP to work. I have an internal website
>(company intranet) for which I need PHP available throughout.
>
>I followed the directions on http://www.visualwin.com/PHP, except where
>the configured PHP for just a directory, I configured it for my entire
>intranet site.
The directions you link to aren't particularly good; they're for setting up as
CGI rather than a module, and miss out several of the possible additional bits
of configuration you may have to do.
Try the instructions from the manual and see if you have more luck with them:
http://www.php.net/manual/en/install.windows.iis.php
>Everytime I try to access a .php, the PHP code portion does not work. I
>have a simple test page - " <? Print("This is a test") ?>. This page
>shows up blank. When I view source it, I see the PHP source code. Other
>pages, the non-php stuff shows up just fine.
It may even be that you have PHP running but it has short_open_tags disabled;
depends whether you changed the config.
<?php phpinfo(); ?>
... is a useful snippet to use whilst testing, as it dumps out all the PHP
configuration information if PHP is working.
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|