1 |
On Mon, 19 Sep 2011 16:16:53 -0300 |
2 |
Naira Kaieski <naira@××××××.br> wrote: |
3 |
|
4 |
> Hi, |
5 |
> |
6 |
> Since my last gentoo update, my directives php_value and |
7 |
> php_admin_value in Apache configuration file don't work. |
8 |
> |
9 |
> I has |
10 |
> |
11 |
> www-servers/apache-2.2.20 [2.2.17] |
12 |
> dev-lang/php-5.3.8 [5.3.6] |
13 |
> |
14 |
> In some of my virtual host i have a especific configuration for |
15 |
> charset of php and charset of my conection with the database. |
16 |
> |
17 |
> Example: |
18 |
> <VirtualHost *:80> |
19 |
> ServerAdmin contact@dmain |
20 |
> ServerName domain |
21 |
> DocumentRoot /var/www/domain/htdocs |
22 |
> ErrorLog /var/log/apache2/domain/error_log |
23 |
> CustomLog /var/log/apache2/domain/access_log combined |
24 |
> AddDefaultCharset UTF-8 |
25 |
> RewriteEngine on |
26 |
> php_value default_charset "UTF-8" |
27 |
> php_admin_value mysql.connect_charset "utf8" |
28 |
> php_admin_value mysqli.connect_charset "utf8" |
29 |
> php_admin_value pdo_mysql.connect_charset "utf8" |
30 |
> php_flag log_errors on |
31 |
> php_value error_log /var/log/apache2/errorsPHP.log |
32 |
> |
33 |
> <Directory "/var/www/domain/htdocs"> |
34 |
> Options FollowSymLinks -Indexes |
35 |
> AllowOverride All |
36 |
> Order allow,deny |
37 |
> Allow from all |
38 |
> </Directory> |
39 |
> |
40 |
> </VirtualHost> |
41 |
> |
42 |
> I have a backup of directory /etc before update of gentoo and with |
43 |
> diff command of the files i don't find any changes in configuration |
44 |
> file of php or apache. |
45 |
> |
46 |
> Somebody has the same problem? or can help me? |
47 |
|
48 |
|
49 |
ISTR a rather large elog message with the most recent Apache update. |
50 |
I've since deleted mine, so don't have it anymore. |
51 |
|
52 |
What do your elogs say? The solution to such things is often in those |
53 |
messages. |
54 |
|
55 |
|
56 |
|
57 |
-- |
58 |
Alan McKinnnon |
59 |
alan.mckinnon@×××××.com |