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

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