PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
FaxWave - Free Trial.
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old July 30th, 2007, 07:37 PM
gforce8856 gforce8856 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 69 gforce8856 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 54 m 54 sec
Reputation Power: 2
PHP.INI which one.

I hope this is the last simple problem I have. I am having trouble finding out which php.ini is used. I put one in the c:\windows directory (but PHPINFO() said it was using that even when there was none there). I also have copies in the c:\php and c:\php-gtk2 directories.

If anyone can shed some light on this I would be grateful. TIA

Reply With Quote
  #2  
Old July 30th, 2007, 08:01 PM
cwf's Avatar
cwf cwf is online now
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 343 cwf User rank is Private First Class (20 - 50 Reputation Level)cwf User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 8 m 33 sec
Reputation Power: 2
The Configuration File (php.ini) Path in the phpinfo() output is just the default location where php looks.

The Loaded Configuration File is where php.ini is actually loaded from (if any.) If there is no php.ini found, none is loaded, and all the default values are used. I think but don't know if this line in the phpinfo() output is blank in that case.

Reply With Quote
  #3  
Old July 31st, 2007, 05:50 PM
Andrew's Avatar
Andrew Andrew is offline
Moderator
Click here for more information
 
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,933 Andrew User rank is Private First Class (20 - 50 Reputation Level)Andrew User rank is Private First Class (20 - 50 Reputation Level)  Folding Points: 2429 Folding Title: Novice Folder
Time spent in forums: 3 Days 23 h 49 m 33 sec
Reputation Power: 3
Orkut
try the one in c:\php just a guess. The easiest way would be to change a setting in one of the files, restart apache (make sure you do this or the settings may not change), then look to see if the setting you change shows up correctly in phpinfo(), if this is the case the you have found your php.ini
__________________
Ubuntu User #13389

Reply With Quote
  #4  
Old July 31st, 2007, 09:36 PM
gforce8856 gforce8856 is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 69 gforce8856 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 h 54 m 54 sec
Reputation Power: 2
Quote:
Originally Posted by Andrew
try the one in c:\php just a guess. The easiest way would be to change a setting in one of the files, restart apache (make sure you do this or the settings may not change), then look to see if the setting you change shows up correctly in phpinfo(), if this is the case the you have found your php.ini


Finally fixed my problem by moving my php.ini to the c:\windows
directory. And renaming the others. At first it did not work, but after a re-start it did. I don't know if windows or something else is caching directories, but I'm up for now.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > PHP.INI which one.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway