You are here: Re: PHP is looking for php.ini file in c:\windows « PHP Programming Language « IT news, forums, messages
Re: PHP is looking for php.ini file in c:\windows

Posted by Peter van Schie on 07/11/06 22:03

Hi John,


> Well there is no php.ini file in my windows directory, so I'm not sure
> where it's getting it's configuration settings from... unless I suppose
> they're built into the executable somewhere if no php.ini file is
> found. My questions is - why php is not locating my php.ini file that
> is located in the c:\php directory? I'd rather not move it to the
> windows directory so I can keep everything nice and tidy like the
> installation file suggests.

There are a few options to accomplish this. I usually use the
environment variable PHPRC. Set it to the folder where your php.ini
resides (C:\PHP in your case).
For other options see: http://nl3.php.net/manual/en/configuration.php


HTH.
Peter.
--
http://www.phpforums.nl

 

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

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