PHPIniDir directive

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Rainbow News Service

    PHPIniDir directive

    http://www.php.net/manual/en/install.windows.manual.php says:

    Copy your chosen ini-file to a directory that PHP is able to find and
    rename it to php.ini. PHP searches for php.ini in the following
    locations (in order):

    *

    PHPIniDir directive (Apache 2 module only)

    I know what a directory is, but what in the world is a location called a
    directive ?


    red
  • red

    #2
    Re: PHPIniDir directive

    http://www.php.net/manual/en/install.windows.manual.php says:

    Copy your chosen ini-file to a directory that PHP is able to find and
    rename it to php.ini. PHP searches for php.ini in the following
    locations (in order):

    *

    PHPIniDir directive (Apache 2 module only)

    I know what a directory is, but what in the world is a location called a
    directive ?


    Then, later, the manual says: " If you are running Apache 2, the simpler
    option is to use the PHPIniDir directive (read the installation on
    Apache 2 page),"

    when I go to Apache 2 installation page, there is nothing there about
    PHPIniDir.



    red

    Comment

    • Andy Hassall

      #3
      Re: PHPIniDir directive

      On Sun, 22 Aug 2004 09:18:42 GMT, Rainbow News Service
      <news@rainbowfa mily.info> wrote:
      [color=blue]
      >http://www.php.net/manual/en/install.windows.manual.php says:
      >
      > Copy your chosen ini-file to a directory that PHP is able to find and
      >rename it to php.ini. PHP searches for php.ini in the following
      >locations (in order):
      >
      > *
      >
      > PHPIniDir directive (Apache 2 module only)
      >
      >I know what a directory is, but what in the world is a location called a
      >directive ?[/color]

      Goes in httpd.conf, the Apache configuration file, for example:

      PHPINIDir D:/php-5.0.1-Win32
      LoadModule php5_module "D:/php-5.0.1-Win32/php5apache2.dll "
      AddType application/x-httpd-php .php

      --
      Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
      <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

      Comment

      • red

        #4
        Re: PHPIniDir directive

        Andy Hassall wrote:[color=blue]
        > On Sun, 22 Aug 2004 09:18:42 GMT, Rainbow News Service
        > <news@rainbowfa mily.info> wrote:
        >
        >[color=green]
        >>http://www.php.net/manual/en/install.windows.manual.php says:
        >>
        >> Copy your chosen ini-file to a directory that PHP is able to find and
        >>rename it to php.ini. PHP searches for php.ini in the following
        >>locations (in order):
        >>
        >> *
        >>
        >> PHPIniDir directive (Apache 2 module only)
        >>
        >>I know what a directory is, but what in the world is a location called a
        >>directive ?[/color]
        >
        >
        > Goes in httpd.conf, the Apache configuration file, for example:
        >
        > PHPINIDir D:/php-5.0.1-Win32
        > LoadModule php5_module "D:/php-5.0.1-Win32/php5apache2.dll "
        > AddType application/x-httpd-php .php
        >[/color]
        OK sorry, There IS something about PHPIniDir on the " installation on
        Apache 2 page" where it says
        \# configure the path to php.ini
        PHPIniDir "C:/php"

        red

        Comment

        Working...