Blog
Gallery
Projects
About
Backtrack:
Blog
›
php_flag vs. php_value
›
Comments
Comments
php_flag vs. php_value
posted on April 1st 2010, at 15:14
by
lunarg
Had an issue where I was not able to change the post_max_size and upload_max_filesize through the Apache2 configuration.
After googling around, I finally found what was wrong: apparently, aside of php_flag, there's also a php_value flag to set configuration variables. The difference?
Use php_flag only when setting boolean values like 0 | 1, off | on.Use php_value to actually set values other than boolean (like the filesizes of post_max_size and upload_max_filesize).
Thus, a working example looks like:
<Directory /var/www/> <IfModule mod_php5.c> php_flag register_globals o
...
read more
Add a new comment
Your name:
Your e-mail:
Your comment:
Basic BBcode is supported.
Captcha:
Type the letters and numbers as shown.
Not readable?
Get another
.
Tags
computer
windows
software
linux
news
home
hardware
soaring
events
mac
network
msoffice
myhw
virtualization
internet
review
mail
fun
server
multimedia
gentoo
games
terminalserver
exchange
howto
site
vmware
sbs
antivirus
travel
Archive
«
‹
May 2012
›
»
Sun
Mon
Tue
Wed
Thu
Fri
Sat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Links
-
Soaring Club Albatros (BE)
-
Soaring stage 2010 (BE)
-
Wil's Photos
-
Heidi's Blog
-
ElectroMarket
Quote
«
If the world were to be drugs-free, people would find other ways to get high.
»
one of Chris Rock's comedy shows
Contact
© 2009 Black Manticore – all rights reserved
code by Jelle Hillen, design by Evelynn Verdyck, hosted at Cats&Dogs