php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42433 Apache server is loading php, but not using MY php.ini settings
Submitted: 2007-08-27 01:16 UTC Modified: 2007-09-03 12:11 UTC
From: CDeLorme at gmail dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 5.2.3 OS: Windows XP 64 Pro
Private report: No CVE-ID: None
 [2007-08-27 01:16 UTC] CDeLorme at gmail dot com
Description:
------------
I cannot reproduce the code here or on a seperate link.  The issue is simple but I am having trouble location posts about it elsewhere.  I setup apache 2_2x etc or w/e on my machine with the php as I selected above.  When I check phpinfo() in a document, it loads just fine, php SHOWS as running & general php scripts work.  However the settings shown do NOT reflect any changes I tried making in my own php.ini file located in C:/windows directory.  I don't know how this works exactly, but after much frustration I still can't seem to get it functioning by my own settings.

Settings I adjusted:
max_execution_time, defaults to 30 I set it to 300, no change.
Added mysql, it doesn't show up... anywhere!
extention directory, it shows C:/php5, no such folder even exists!  I have it in c:/php...

Any help with this problem would be greatly appreciated.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-08-27 01:17 UTC] cdelorme at gmail dot com
I forgot to mention, I DID restart the apache server as well as my entire machine, multiple times.  This has had no effect on the situation.
 [2007-08-27 08:40 UTC] jani@php.net
In phpinfo() output there is a section where PHP tries to look for the ini file and exactly what file it DID use. This is not any bug.
 [2007-08-29 19:19 UTC] CDeLorme at gmail dot com
Sorry to cause a ruckus, the problem is solved.  Apparently I hadn't edited the directories in apache properly to find the php.ini file.  It was loading defaults I guess, and I had no clue it had a default built it so I was a bit confused as to why it was still running.
 [2007-09-03 12:11 UTC] jani@php.net
User error -> bogus.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 07:01:30 2024 UTC