Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113165 - php.ini and apache php directives are completely ignored (using mod_php 4.4.0-r9)
Summary: php.ini and apache php directives are completely ignored (using mod_php 4.4.0...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-21 07:22 UTC by lxg
Modified: 2005-11-21 10:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lxg 2005-11-21 07:22:44 UTC
I'm using mod_php 4.4.0-r9 with apache-2.0.55 on a Gentoo Linux 
2.6.11-hardened-r15.     
When I'm giving directions the php interpreter, it completely ignores them.     
It ignores all directives from /etc/php/apache2-php4/php.ini and it also 
ignores them when put into an apache config file (via "php_admin_value").     
     
PHP is able to read the file, just for fun I let it be included and put out     
with "file_get_contents();" (as open_basedir doesn't work either ;-)). Also 
I'm sure that the above is the correct path, as it is the one given by "echo 
get_cfg_var('cfg_file_path');" and "phpinfo();".   
   
btw, even if I do "emerge -C dev-php/php mod_php" I can use PHP scripts :-/.  

Reproducible: Always
Steps to Reproduce:
 



Portage 2.0.53_rc7 (hardened/x86/2.6, gcc-3.3.6, glibc-2.3.5-r3, 
2.6.11-hardened-r15 i686) 
================================================================= 
System uname: 2.6.11-hardened-r15 i686 AMD Athlon(tm) XP 3000+ 
Gentoo Base System version 1.12.0_pre10 
dev-lang/python:     2.3.5, 2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r3 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i386-pc-linux-gnu" 
CFLAGS="-march=athlon-xp -pipe -O2" 
CHOST="i386-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -pipe -O2" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://distfiles.gentoo.org 
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
LINGUAS="en de" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage//packages/x86/" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage/" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="acpi apache2 berkdb bzip2 clamav crypt curl dlloader expat gd gmp 
hardened hardenedphp idn imap jpeg libwww maildir mhash mysql ncurses nls pam 
pam-mysql pcre perl php4 pic png python readline sasl ssl tcpd userlocales 
vhosts x86 xml2 zlib linguas_en linguas_de userland_GNU kernel_linux 
elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 lxg 2005-11-21 10:42:01 UTC
Well, seems the problem is kinda different one. It turned out to be an error in 
the apache2 init script (or something dealing with that). However, this one has 
been "solved" with re-emerging mod_php and dev-php/php. 
 
Sorry for bothering.