Gentoo Archives: gentoo-user

From: Naira Kaieski <naira@××××××.br>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Problem with php_value in apache
Date: Mon, 19 Sep 2011 19:18:36
Message-Id: 4E779525.3030504@faccat.br
1 Hi,
2
3 Since my last gentoo update, my directives php_value and php_admin_value
4 in Apache configuration file don't work.
5
6 I has
7
8 www-servers/apache-2.2.20 [2.2.17]
9 dev-lang/php-5.3.8 [5.3.6]
10
11 In some of my virtual host i have a especific configuration for charset
12 of php and charset of my conection with the database.
13
14 Example:
15 <VirtualHost *:80>
16 ServerAdmin contact@dmain
17 ServerName domain
18 DocumentRoot /var/www/domain/htdocs
19 ErrorLog /var/log/apache2/domain/error_log
20 CustomLog /var/log/apache2/domain/access_log combined
21 AddDefaultCharset UTF-8
22 RewriteEngine on
23 php_value default_charset "UTF-8"
24 php_admin_value mysql.connect_charset "utf8"
25 php_admin_value mysqli.connect_charset "utf8"
26 php_admin_value pdo_mysql.connect_charset "utf8"
27 php_flag log_errors on
28 php_value error_log /var/log/apache2/errorsPHP.log
29
30 <Directory "/var/www/domain/htdocs">
31 Options FollowSymLinks -Indexes
32 AllowOverride All
33 Order allow,deny
34 Allow from all
35 </Directory>
36
37 </VirtualHost>
38
39 I have a backup of directory /etc before update of gentoo and with diff
40 command of the files i don't find any changes in configuration file of
41 php or apache.
42
43 Somebody has the same problem? or can help me?
44
45 Thanks,
46
47 --
48 Naira Kaieski
49 Linux Professional Institute - LPI ID: 000223834

Replies

Subject Author
Re: [gentoo-user] Problem with php_value in apache Alan McKinnon <alan.mckinnon@×××××.com>