This is a discussion on PHPIniDir directive within the PHP Language forums, part of the PHP Programming Forums category; http://www.php.net/manual/en/install.windows.manual.php says: Copy your chosen ini-file to a directory that ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
On Sun, 22 Aug 2004 09:18:42 GMT, Rainbow News Service
<news@rainbowfamily.info> wrote: >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 ? 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.andyhsoftware.co.uk/space> Space: disk usage analysis tool |
|
|||
|
Andy Hassall wrote:
> On Sun, 22 Aug 2004 09:18:42 GMT, Rainbow News Service > <news@rainbowfamily.info> wrote: > > >>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 ? > > > 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 > 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 |