473,387 Members | 1,757 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,387 software developers and data experts.

There is no PHP.ini

Hi all,

I've a fresh install of php 4.1.10 on my XP machine and there is no php.ini
file.

I've removed any from system directory, so wich one it is using ? as they
are no other php.ini file than in the Backup directory of the php install
dir.

Bob
Jul 17 '05 #1
5 2158
Bob Bedford wrote:
Hi all,

I've a fresh install of php 4.1.10 on my XP machine and there is no
php.ini file.

I've removed any from system directory, so wich one it is using ? as
they are no other php.ini file than in the Backup directory of the php
install dir.


running phpinfo() function will tell you. If there is not file, then
it will use the default values.

/Marcin
Jul 17 '05 #2

"Marcin Dobrucki" <Ma*************@TAKETHISAWAY.nokia.com> a écrit dans le
message de news: Tm*******************@news1.nokia.com...
Bob Bedford wrote:
Hi all,

I've a fresh install of php 4.1.10 on my XP machine and there is no
php.ini file.

I've removed any from system directory, so wich one it is using ? as they
are no other php.ini file than in the Backup directory of the php install
dir.


running phpinfo() function will tell you. If there is not file, then it
will use the default values.

/Marcin

Thanks for replying Marcin,

I've this in phpinfo():
Jul 17 '05 #3

"Marcin Dobrucki" <Ma*************@TAKETHISAWAY.nokia.com> a écrit dans le
message de news: Tm*******************@news1.nokia.com...
Bob Bedford wrote:
Hi all,

I've a fresh install of php 4.1.10 on my XP machine and there is no
php.ini file.

I've removed any from system directory, so wich one it is using ? as they
are no other php.ini file than in the Backup directory of the php install
dir.


running phpinfo() function will tell you. If there is not file, then it
will use the default values.

/Marcin

will try again....
Configuration File (php.ini) Path C:\WINDOWS

But I've no php.ini file in this directory and it probably takes default
values.

How to change this path ? I'like it points in the PHP's install dir
(c:\program files\php)

Bob
Jul 17 '05 #4
On Thu, 24 Feb 2005 16:09:28 +0100, "Bob Bedford"
<be******@notforspammershotmail.com> wrote:
"Marcin Dobrucki" <Ma*************@TAKETHISAWAY.nokia.com> a écrit dans le
message de news: Tm*******************@news1.nokia.com...

will try again....
Configuration File (php.ini) Path C:\WINDOWS

But I've no php.ini file in this directory and it probably takes default
values.

How to change this path ? I'like it points in the PHP's install dir
(c:\program files\php)


Set the PHPRC environment variable.

http://uk.php.net/configuration

Having PHP and the config file in a directory whose path contains a space is
probably a recipe for pain, but that's up to you - it can probably be persuaded
to work.

--
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 #5
On Thu, 24 Feb 2005 16:09:28 +0100, "Bob Bedford"
<be******@notforspammershotmail.com> wrote:
will try again....
Configuration File (php.ini) Path C:\WINDOWS

But I've no php.ini file in this directory and it probably takes default
values.

How to change this path ? I'like it points in the PHP's install dir
(c:\program files\php)
Assuming you use Apache, you can use the PHPIniDir directive:

PHPIniDir E:/bin/inet/Apache2/conf"

I store php.ini in disk:/<ApacheInstallPath>/conf, which is the
same directory as where httpd.conf resides.
Bob


Hope this helps,

--
) Kees Nuyt
(
c[_]
Jul 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

36
by: Andrea Griffini | last post by:
I did it. I proposed python as the main language for our next CAD/CAM software because I think that it has all the potential needed for it. I'm not sure yet if the decision will get through, but...
2
by: Sreedharan | last post by:
Hi, I am using C#. Is there no Join method (in thread class)for Smart device application? And Also i noticed that Name property isn't there(got compiler error when trying to use them) Is this...
43
by: Rob R. Ainscough | last post by:
I realize I'm learning web development and there is a STEEP learning curve, but so far I've had to learn: HTML XML JavaScript ASP.NET using VB.NET ..NET Framework ADO.NET SSL
4
by: Hans Merkl | last post by:
Hi, Is there a way to show the column headers of a GridView control even if there is no data? The only thing I see is the EmptyDataTemplate but I would also like to display the column headers. ...
210
by: Christoph Zwerschke | last post by:
This is probably a FAQ, but I dare to ask it nevertheless since I haven't found a satisfying answer yet: Why isn't there an "ordered dictionary" class at least in the standard list? Time and again...
44
by: Tolga | last post by:
As far as I know, Perl is known as "there are many ways to do something" and Python is known as "there is only one way". Could you please explain this? How is this possible and is it *really* a...
5
by: B1ackwater | last post by:
We've fooled around with Access a bit, but only using the single-user store-bought version. It seems to be a good database - versatile and infinitely programmable - and can apparently be used as a...
28
by: H J van Rooyen | last post by:
Hi, I want to write a small system that is transaction based. I want to split the GUI front end data entry away from the file handling and record keeping. Now it seems almost trivially easy...
13
by: andrewanderson | last post by:
hi all, i'm wondering is there any other alternative to do a timestamp which consists of date and time!! below is a program i've created but its too long and to large i would like to know other...
6
by: Richard Maher | last post by:
Hi, Now that I am aware that JS on a page in Frame A can directly call a function on a page in Frame B, I no longer have to continue with my frameB.location.reload() fudge in order to get some...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.