Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53982

Summary: cli build of php uses apache2 php.ini
Product: Gentoo Linux Reporter: johnny
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description johnny 2004-06-15 08:21:31 UTC
the cli build of php is using the php.ini in /etc/php/apache2-php4/php.ini

instead of /etc/php/cli-php4/php.ini

Reproducible: Always
Steps to Reproduce:
1. create test php file
   add this code <?php phpinfo(); ?>
2. run the command 
  # php test.php | grep ini
3. notice that it's using the wrong file
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-15 18:21:58 UTC

*** This bug has been marked as a duplicate of 50908 ***