Reply to Re: PHP is looking for php.ini file in c:\windows

Your name:

Reply:


Posted by Chung Leong on 07/12/06 04:33

Andy Hassall wrote:
> That user contributed note could be much better worded. It's saying that
> SetEnv in httpd.conf won't have any effect on PHP as an Apache module, because
> SetEnv in httpd.conf only affects subprocesses spawned by Apache - i.e. CGI.
>
> PHPRC works fine for PHP as Apache module when you set it as an environment
> variable for the Apache process itself, i.e. you set it before Apache starts
> up.
>

But now you have to restart the machine in order to change the path,
since services get their environment from the service manager. A typo?
Another restart.

Really, just stick the file into C:\Windows. People have doing been
this since PHP 3.

[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

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