473,419 Members | 1,704 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,419 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 49981
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.