473,320 Members | 1,848 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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
Jul 17 '05 #1
3 49953
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

111
by: Retlak | last post by:
The recommended (on dozens of websites) and effective (works in Netscape, MSIE, Mozilla, probably others) way to detect if a browser has Javascript turned off is to put this in the <head>: ...
0
by: jbeerni | last post by:
In .NET, you can mark methods and accessors as obsolete by using the directive. I've found some interesting behavior with the directive when used in a class which is referenced as a return type...
2
by: Mantorok Redgormor | last post by:
what is the purpose of the #line directive? how is it suppose to be used? I didn't see it mentioned in the faq and I can't make any sense of it from the standard. -- nethlek
5
by: Jim Heavey | last post by:
Is the Page directive only go on ".aspx" pages? I think the answer is yes, but I am not positive. I am trying to figure out why a called class can not be found and I was wondering if I should...
2
by: rjack | last post by:
I'm using VS 2005 Beta 2. In VS 2003, the Page directive in an aspx page has Language and CodeBehind attributes. You can have the language be different than the code behind file language. For...
1
by: Poppy | last post by:
I opened an asp page in VS.net 2002 and then saved it as an aspx page. I was prompted if I wanted to create the class file for the page and clicked yes. Now when I try and open the page I get...
1
by: forrie | last post by:
We're running multiple vhosts in an apache-2.x configuration for which we would like to provide separate php.ini files (for different reasons). At the moment, we're unable to do this - the error...
5
by: Francois Grieu | last post by:
One of the C compiler that I use <OT>(Keil's CX51)</OTbarks at #define a(b) b int main(void){return a( #if 0 #endif 0);} More generally, this compiler seems confused by any preprocessing...
2
by: aleemakhtar1 | last post by:
wat is use of pragma directive in embedded sys ??
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.