#22174 [Fbk->Csd]: php.ini being ignored - only in release version
| From: | marcus at synchromedia dot co dot uk | Date: | Tue, 18 Feb 2003 10:23:02 +0000 |
| Subject: | #22174 [Fbk->Csd]: php.ini being ignored - only in release version | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-33394@lists.php.net to get a copy of this message | ||
ID: 22174
User updated by: marcus at synchromedia dot co dot uk
Reported By: marcus at synchromedia dot co dot uk
-Status: Feedback
+Status: Closed
Bug Type: PHP options/info functions
Operating System: OpenBSD 3.1-stable
-PHP Version: 4.3.1-dev
+PHP Version: 4.3.2-dev
New Comment:
Now that I have finally got PHP-cvs compiling again, I'm happy to
report that it's picking up my php.ini from the compiled in location.
4.3.0-release still does not, so I guess whatever the probem is, it's
been fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[2003-02-12 22:07:47] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
(does anything work in openbsd? :)
------------------------------------------------------------------------
[2003-02-12 04:24:24] marcus at synchromedia dot co dot uk
Unfortunately there doesn't seem to be a working strace for OpenBSD, I
can't get it to compile (reports unsupported OS) and it won't compile
as FreeBSD on my system.
PHP CLI works correctly if I specify -c and point to the ini file, but
it too does not pick up the ini from the compiled-in location (and as
noted elsewhere, it doesn't look in /php.ini either).
Probably best to leave this bug open/feedback until I can get the CVS
version working again (It's still broken for me today, so I'm reporting
it now).
------------------------------------------------------------------------
[2003-02-11 20:37:27] sniper@php.net
Assuming you're using the PHP_4_3 branch, updated version.
Did you mean 'm4' outputs errors? Check your m4 version,
and if it's anything else than 1.4, update it.
If the error comes within configure, you might have
to rebuild your autoconf also with the new m4..
------------------------------------------------------------------------
[2003-02-11 17:43:58] iliaa@php.net
If you have an strace utility try to strace the cli binary and see if
it tries to open any ini files and if it successful openning any of
them.
This can be done using the following command:
strace php -h 2>&1 | grep ".ini"
------------------------------------------------------------------------
[2003-02-11 16:46:59] marcus at synchromedia dot co dot uk
I'm already using libtool 1.4.3, so it's not that.
I last rebuilt PHP from CVS yesterday morning and it was all ok. Up
until switching to 4.3 release, I had never seen a problem with my ini
file. Very strange I know...
The compile problem seems to be something to do with gm4? It dumps lots
of pages relating to bison? I'll do a more accurate bug report if it's
still there tomorrow.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/22174
--
Edit this bug report at http://bugs.php.net/?id=22174&edit=1