Re php.ini file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Simon

    Re php.ini file

    How can I access my php.ini file with webhosting at yahoo. it does not
    show in my file manager or MyAdmin directory.
  • Robert Peake

    #2
    Re: Re php.ini file

    On 4/18/04 7:10 AM, in article
    5b2fea4f.040418 0610.3e8fd8cc@p osting.google.c om, "Simon"
    <deltacue2003@y ahoo.com> wrote:
    [color=blue]
    > How can I access my php.ini file with webhosting at yahoo. it does not
    > show in my file manager or MyAdmin directory.[/color]

    Then you probably can't access php.ini. The most common location is
    /etc/php.ini but I doubt they'll let you access /etc unless this is a
    virtual server setup.

    Try using .htaccess (if they'll let you) or php_ini_set(). Note the caveats
    about php_ini_set() - it doesn't execute at the very beginning so some ini
    values' results can't be effectively reversed using this approach.

    Cheers,
    Robert
    --
    Robert Peake | Peake Professional Consulting
    Robert@PeakePro .com | http://www.peakepro.com/

    Comment

    • Simon

      #3
      Re: Re php.ini file

      Robert Peake <robert@peakepr o.com> wrote in message news:<BCA81BA6. 6133%robert@pea kepro.com>...[color=blue]
      > On 4/18/04 7:10 AM, in article
      > 5b2fea4f.040418 0610.3e8fd8cc@p osting.google.c om, "Simon"
      > <deltacue2003@y ahoo.com> wrote:
      >[color=green]
      > > How can I access my php.ini file with webhosting at yahoo. it does not
      > > show in my file manager or MyAdmin directory.[/color]
      >
      > Then you probably can't access php.ini. The most common location is
      > /etc/php.ini but I doubt they'll let you access /etc unless this is a
      > virtual server setup.
      >
      > Try using .htaccess (if they'll let you) or php_ini_set(). Note the caveats
      > about php_ini_set() - it doesn't execute at the very beginning so some ini
      > values' results can't be effectively reversed using this approach.
      >
      > Cheers,
      > Robert[/color]

      Thanks for your reply Robert

      I have since found that Yahoo webhosting do not give a php.ini to
      configure but I ran phpinfo and found the settings were ok.
      Thanks.

      Comment

      Working...