By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,996 Members | 1,180 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,996 IT Pros & Developers. It's quick & easy.

PHPIniDir directive

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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
Jul 17 '05 #2

P: n/a
On Sun, 22 Aug 2004 09:18:42 GMT, Rainbow News Service
<ne**@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 / <an**@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
Jul 17 '05 #3

P: n/a
red
Andy Hassall wrote:
On Sun, 22 Aug 2004 09:18:42 GMT, Rainbow News Service
<ne**@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
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.