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

phpinfo() - Configuration File (php.ini) Path

Win
Not really an important question, but does anyone happen to know how to
modify the path displayed in the [Configuration File (php.ini) Path]
section from phpinfo()?

I was referred to the following URL, but that doesn't seem to do it:
http://us3.php.net/manual/en/configuration.php

Jul 17 '05 #1
6 9511
Win wrote:
Not really an important question, but does anyone happen to know how to
modify the path displayed in the [Configuration File (php.ini) Path]
section from phpinfo()?

I was referred to the following URL, but that doesn't seem to do it:
http://us3.php.net/manual/en/configuration.php


What did you do? What OS are you running? What webserver? are you running
PHP as a module or as CGI?

IIRC if you want to change the default path you need to build the binaries -
specify --with-config-file-path=... when you run configure.

C.
Jul 17 '05 #2
Win
My apologies for the lack of info.

Win2k Srv IIS. PHP5 as a module.

Jul 17 '05 #3
Set the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath

Jul 17 '05 #4
Win
Thanks for the input Philip, but that key does not exist. Any other
ideas?

Jul 17 '05 #5
Set the system PHPRC environment variable on your system.

Jul 17 '05 #6
Btw, you can create the key. I don't know much about Windows or its
registry but you can create registry keys...

Jul 17 '05 #7

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

Similar topics

4
by: lawrence | last post by:
I wanted to use the AddType directive in an .htaccess file. So I used phpinfo() to get the path info for PHP. I found this line: PATH /bin:/usr/bin So I tried this, but it did not work:...
2
by: John Drako | last post by:
I just updated my server to apache 1.3.33 and php 5.0.3 from apache 1.3.31 and php 4.3.9. It's running RedHat and MySQL 4.0.20. All the code that I created myself in PHP is working as it should...
10
by: lorenzdominic_ | last post by:
Hi I am running Php5.0 on Windows XP. When I run phpinfo script it tells me that the configuration file php.ini is located in C:\Windows. This seems odd as I have put the PATH to php as D:\php...
7
by: Famille Delorme | last post by:
Sorry if this discussion are already submited, but I don't find anything really interresting for me. And sorry for my bad english, it is not my native language. I wrote a program in Python for a...
6
by: Brian Huether | last post by:
When I run phpinfo, it diaplays the same thing regardless of changes I make to php.ini. For instance, php.ini shows register globals on max upload filesize of 16M. etc, etc. But phpinfo always...
2
by: gerrymcc | last post by:
I'm wondering why, after fixing the path in php.ini and removing the ; from infront of the extension=php_mysql.dll the "Additional Modules" on the page returned by phpinfo() doesn't show anything....
1
by: Phil Latio | last post by:
I was trying to follow some instructions on installing Smarty and suddenly found php.ini is not where phpinfo lists it to be. 1. Is /usr/local/lib the default location for the php.ini 2. In old...
7
by: eholz1 | last post by:
Hello All, I have reviewed various posts in regard to Oracle and PHP. I am running Apache 2.0.59, on Windows XP, with PHP 5.2. I would like to connect using PHP to a remote oracle db (ver. 7)...
3
by: gamereality | last post by:
Hello, this is my first post here. W00T. (Forgive me for using leet speak, it's not my fault.) Here's the rundown: I have MySQL. I have configured the PHP.INI to the correct settings,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.