Need explaination of custom ini files

This is a discussion on Need explaination of custom ini files within the PHP Language forums, part of the PHP Programming Forums category; Hello All, I have an account on a hosted (windows) server. I was told that I could create a custom ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-23-2007
forbes
 
Posts: n/a
Default Need explaination of custom ini files


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

Reply With Quote
  #2 (permalink)  
Old 03-26-2007
delishus
 
Posts: n/a
Default Re: Need explaination of custom ini files

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.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:19 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0