ID:               40963
 Updated by:       [EMAIL PROTECTED]
 Reported By:      spam at 2xlp dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         *Compile Issues
 Operating System: Mac OSX 10.4.9
 PHP Version:      5.2.1
 New Comment:

Having had the same "bug" myself, I can assure you it's not a bug.
Notice the name of the configure option, especially the last word:
 
  --with-config-file-path

PATH is not same as full-path. Using option

  --with-config-file-path=/usr/local/lib/php5.2.0.ini 

will result in setting the ini-PATH to: /usr/local/lib/php5.2.0.ini/



Previous Comments:
------------------------------------------------------------------------

[2007-03-30 20:23:27] spam at 2xlp dot com

Description:
------------
on osx 10.4.x and php 5.1.x > 5.2.x

--with-config-file-path results in a binary that lists the custom path

in phpinfo(), but does not actually read the custom path. nor does it 
seem to read the default config file path either -- it effectively 
disables the config file 

Reproduce code:
---------------
1) ./configure --with-config-file-path=/usr/local/lib/php5.2.0.ini 

2) view phpinfo(), note that '/usr/local/lib/php5.2.0.ini' appears as
the config file path

3) load modules or disable php in /usr/local/lib/php5.2.0.ini , restart
apache/fcgi ,  note that nothing in the ini is respected 

4) rename /usr/local/lib/php5.2.0.ini to /usr/local/lib/php.ini ,
restart apache/fcgi ,  note that nothing in the ini is respected



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=40963&edit=1

Reply via email to