CentOS 7: changes to php.ini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi,

I'm hosting a few web apps like OwnCloud, Wordpress and Dolibarr on
CentOS 7 that require a handful of changes to php.ini. I have to define
some custom values for post_max_size, upload_max_filesize, etc.

I don't know if I'm supposed to edit /etc/php.ini directly or if changes
should be put in a configuration file stub in /etc/php.d. For example, I
followed the recommendations of a fellow CentOS user and defined
date.timezone by edit /etc/php.d/date.ini like this.

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Europe/Paris

Am I supposed to do something similar for other PHP variables?

Cheers,

Niki
-- 
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Web  : http://www.microlinux.fr
Mail : info@xxxxxxxxxxxxx
Tél. : 04 66 63 10 32
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux