php_admin_value, php_value

php_admin_value name value

Sets the value of the specified directive. This can not be used in .htaccess files. Any directive type set with php_admin_value can not be overridden by .htaccess or ini_set(). To clear a previously set value use none as the value.

php_value name value

Sets the value of the specified directive. Can be used only with PHP_INI_ALL and PHP_INI_PERDIR type directives. To clear a previously set value use none as the value.

Snippet

disable_functions = dl, shell_exec, exec, system, passthru, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, set_time_limit, chown, chgrp

PHP на NFS: решение проблемы с производительностью

Надо увеличить realpath_cache_size в php.ini:

realpath_cache_size=1M

Не работает с включеными safe_mode или open_basedir.

User tags

su ha PTR bscan grub find ssh vrrpd ubuntu Salt bind openvpn performance mysql OpenStack cache bash git elliptics dpkg apt SYN tftp newgrp docker taskset conntrack dhcp shorewall swap jackd sublime backtrace exim4 equalizer lubuntu encrypt routing rkhunter sysctl limit_conn profiling LSI tiger soa mariadb vlan groups iSCSI youtube leap second opcontrol tin php debootstrap arping ulimit sg fio APU gtk flash dns NFS core dump tool LVM iowait rtsp gre RT route source ip sysrq Adaptec corosync HTTPS search etch MODx xhost gdb .htaccess sftp glxinfo parallel ansible virsh vrrp graylog2 lts hotplug fail2ban dstat bridge numa quagga cpanm ps xargs perlbrew initrd htop X forwarding StorMan cluster perl centos 7 virtualbox lstat replication in-addr.arpa cfq alsa kernel tar proxy DRBD qemu sysctl.conf netfilter cgroups dhclient tzdata rpm mdadm video pvmove iops opreport cpu usage noop KVM alien vim regex language deb radeon drupal java pam ipmi sysfs pulseaudio iostat freedos qcow2 arp HDFS AMD wget apache raid pacemaker mount mkfs lxc keyboard puppet nginx MegaRAID rsync xen nvidia SSD dovecot slab CPAN SpamAssassin PXE backup ddos 3Ware OpenSSL bonding chromium xfs docker-compose top ipmitool arch rtl8723be zRam tun fido7 storage oprofile bug scsi /etc/network/interfaces ardour security erase shellshock virt-install asoundrc hdparm wordpress vtysh CentOS exim build boot firefox squeeze raid5 chroot Areca nfs4 glusterfs bacula iptables munin debian SuperMicro lenny Swift idmapd cpu gpg usb sysresccd