You are here: Re: Need explaination of custom ini files « PHP Programming Language « IT news, forums, messages
Re: Need explaination of custom ini files

Posted by delishus on 03/26/07 14:45

On Mar 23, 11:03 am, "forbes" <kim.for...@tch.harvard.edu> wrote:
> Hello All,
>
> I have an account on a hosted (windows) server. I was told that I
> could create a custom ini file and load it to my root folder. The
> php.ini would then inherit to all subfolders of the root folder. I did
> that and got a 400 Bad Request --Malformed headers error message. I
> moved the php.ini folder to the subfolder that contained the php
> scripts and I didn't get an error, but when I ran phpinfo(); I saw
> that it was still pointing to the ini file on the server and not the
> one in my folder.
>
> Can somebody explain this to me?
>
> Thanks
>
> KF

With most hosts you only add items to your custom php.ini that you
need to change, don't upload a whole php.ini - so if you wanted to set
register_globals = On, the that would be the only line in your php.ini
file. This way you don't mess with the basic config on the server,
you only tweak the items you need changed.

 

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

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