Editing php.ini

in fact you modify values from a db property

[root@nethserver-dev ~]# config show php
php=configuration
    AllowUrlFopen=1
    DateTimezone=UTC
    ExposePhp=0
    MaxExecutionTime=30
    MemoryLimit=32
    PostMaxSize=8
    ShortOpenTag=0
    UploadMaxFilesize=2

or it is the same

[root@nethserver-dev ~]# db configuration show php
php=configuration
    AllowUrlFopen=1
    DateTimezone=UTC
    ExposePhp=0
    MaxExecutionTime=30
    MemoryLimit=32
    PostMaxSize=8
    ShortOpenTag=0
    UploadMaxFilesize=2

since you want to modify it (32=32MB)

config setprop php UploadMaxFilesize 32
signal-event nethserver-php-update

or

db configuration setprop php UploadMaxFilesize 32
signal-event nethserver-php-update

the signal-event is a mandatory to rewrite all configuration files

you have a pointer in the grand mother website of neth, it could be nice that someone of the documentation team rewrite here (I’m one of the authors)

http://wiki.contribs.org/Db_command_tutorial

2 Likes