PHPIniDir directive

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-22-2004
Rainbow News Service
 
Posts: n/a
Default 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
Reply With Quote
  #2 (permalink)  
Old 08-22-2004
red
 
Posts: n/a
Default 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
Reply With Quote
  #3 (permalink)  
Old 08-22-2004
Andy Hassall
 
Posts: n/a
Default Re: PHPIniDir directive

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
Reply With Quote
  #4 (permalink)  
Old 08-22-2004
red
 
Posts: n/a
Default Re: PHPIniDir directive

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
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 09:01 AM.


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