Reply to Re: Why won't PHP work? IIS problems

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация