PHP: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
K (init) |
K (init) |
||
Zeile 29: | Zeile 29: | ||
session.hash_function = sha512</source> | session.hash_function = sha512</source> | ||
<br> | |||
[[ | = Install Pear/pecl = | ||
[[ | |||
<source lang="bash">apt-get install php-pear | |||
cd /tmp/pear | |||
rm -r temp | |||
ln -s /var/tmp/pear/temp/ | |||
</source> | |||
<br> | |||
<br> | |||
= Install pecl/apc = | |||
<source lang="bash">pecl install apc | |||
</source> | |||
[[Category:WWW]] [[Category:PHP]] |
Version vom 29. August 2012, 21:01 Uhr
www.php.net
Config
#/etc/php5/apache2/php.ini
disable_functions = symlink,exec,system,passthru,shell_exec,escapeshellcmd,proc_open,proc_nice,ini_restore
;#popen needed for cacti
expose_php = Off
memory_limit = 320M
include_path = ".:/usr/share/php"
upload_max_filesize = 10M
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-fopen
allow_url_fopen = Off
upload_tmp_dir =/tmp
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = "Europe/Berlin"
session.hash_function = sha512
Install Pear/pecl
apt-get install php-pear
cd /tmp/pear
rm -r temp
ln -s /var/tmp/pear/temp/
Install pecl/apc
pecl install apc