You are here: Re: Apache 2.2.4 ignores PHP 5.2.4 scripts on Win2K3 « PHP Programming Language « IT news, forums, messages
Re: Apache 2.2.4 ignores PHP 5.2.4 scripts on Win2K3

Posted by Vince Morgan on 09/15/07 00:01

"AlterEgo" <someone@dslextreme.com> wrote in message
news:13em57122h92h15@corp.supernews.com...
> Hi all PHP newbie here,
>
> 1) I disabled IIS.
> 2) Loaded Apache 2.2.4 on Win2K3.
> 3) Loaded PHP 5.2.4 pretty much bare bones, but included MySQL, SMTP, SOAP
> and ZIP extensions.
>
> Installers:
> apache_2.2.4-win32-x86-openssl-0.9.8d.msi
> php-5.2.4-win32-installer.msi
>
> Installer changed the httpd.conf file and added the following:
> PHPIniDir "C:/Program Files/PHP/"
> LoadModule php5_module "C:/Program Files/PHP/php5apache2_2.dll"
> AddType application/x-httpd-php .php
>
> Error log shows that PHP was configured:
> ...
> [Fri Sep 14 16:07:49 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.4
> configured -- resuming normal operations
> [Fri Sep 14 16:07:49 2007] [notice] Server built: Jan 9 2007 23:17:20
> ...
>
> If I add any PHP code to the index.html file it is ignored:

Unless you want php tp process all html files, that's what should have
happened. Try giving the file a .php extension.

>
> <?php print "My Test"; ?>
> or
> <?php phpinfo(); ?>
>
> Any ideas?
>
> -- thanks, bill

HTH
Vince

 

Navigation:

[Reply to this 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

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