You are here: Re: Edit php.ini file on windows « PHP Language « IT news, forums, messages
Re: Edit php.ini file on windows

Posted by Jonathan on 04/22/07 18:40

cluthz wrote:
> Hi there,
>
> Further to a previous positing I need to disable error notifications on a
> shared server in the php.ini file.
>
> I know I can achieve this within a particular script using
> error_reporting(E_ALL ^ E_NOTICE);
>
> but lets say I want to change the php.ini file so that is always has this
> value and notices are suppressed.
>
> How, on a Windows server box with shared hosting do I change the php.ini
> value so I do not need to write the above line into each script.

The php.ini file holds general configuration settings and can not be
tweeked on a directory/share base.

If your shared server is an Apache server you could use
php_admin_value/flag keywords to specify directives also defined in the
php.ini file in the configuration directive of your domain in the
httpd.conf file, you can find more information here:
http://www.php.net/configuration.changes .

I have no experience with IIS or other webservers on Windows.

Jonathan

 

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

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