You are here: Re: Apache 2.0, php 5 and mysql + win xp « PHP Programming Language « IT news, forums, messages
Re: Apache 2.0, php 5 and mysql + win xp

Posted by Robert Ionescu on 03/09/06 01:40

genenamg@yahoo.com wrote:
> I have named the folder html_files and
> have changed the DocumentRoot "C:/html_files" and <Directory
> "C:/html_files/htdocs">

If you set your DocumentRoot to C:/html_files but the directory section
for the htdocs folder (which permits access via "allow from all") to a
sub directory, this won't work of course.

So either use
DocumentRoot "C:/html_files/htdocs" or change the directory section to
what you have set the DocumentRoot:

<Directory "C:/html_files">

> Also I have installed and configured php 5, renamed Rename
> e:\php\php.ini-dist it to php.ini

Why e:\? Is this just a typo?

> LoadModule php5_module "c:/php/php5apache2.dll"
> AddType application/x-httpd-php .php
> PHPIniDir "c:/php"

That looks correct. Did you check the windows event logging for any
error messages? If you find there an error message like "Cannot load
module...", may be some DLLs are missing. You can use a tool called
FileMon [1] which can show you the dll files apache is looking for.

[1] http://www.sysinternals.com/ntw2k/source/filemon.shtml

--
Robert

 

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

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