Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
|
Následující verze
|
Předchozí verze
|
linux:internet:php [14.11.2006 13:39] mtalma |
linux:internet:php [13.03.2020 18:43] (aktuální) |
| |
| ===== Konfigurační script config.my ===== | ===== Konfigurační script config.my ===== |
| | *''yum install net-snmp-devel* libmcrypt*'' |
| <code bash> | <code bash> |
| #!/bin/sh | #!/bin/sh |
| # | |
| # Created by configure | phpversion="5.2.6" |
| | mainver="5" |
| log=config.my.log | log=config.my.log |
| apxs=/usr/sbin/apxs | apxs=/usr/sbin/apxs |
| phpversion="4.4.1" | |
| | |
| echo 'Provadim "make clean"' | echo 'Provadim "make clean"' |
| make clean > /dev/null | make clean > /dev/null |
| echo 'Konfiguruji PHP ....' | echo 'Konfiguruji PHP ....' |
| './configure' \ | './configure' \ |
| '--prefix=/usr/local/stow/php-'$phpversion \ | '--prefix=/usr/local/app/php/'$phpversion \ |
| '--with-config-file-path=/etc' \ | '--with-config-file-path=/etc/php'$mainver \ |
| '--with-config-file-scan-dir=/etc/php.d' \ | '--with-config-file-scan-dir=/etc/php'$mainver'/conf.d' \ |
| '--with-mysql' \ | |
| '--with-ldap' \ | |
| '--with-gd' \ | |
| '--with-regex=php' \ | |
| '--with-apxs2='$apxs \ | '--with-apxs2='$apxs \ |
| '--with-snmp=/usr/local/snmp' \ | '--with-curl' \ |
| '--with-dom' \ | '--with-dom' \ |
| '--with-iconv' \ | '--with-freetype-dir' \ |
| | '--with-gd' \ |
| '--with-gettext' \ | '--with-gettext' \ |
| '--with-zlib' \ | '--with-iconv' \ |
| '--with-curl=/usr/local' \ | '--with-jpeg-dir' \ |
| | '--with-ldap' \ |
| | '--with-mcrypt' \ |
| | '--with-mysql=/usr' \ |
| | '--with-png-dir' \ |
| '--with-pear' \ | '--with-pear' \ |
| | '--with-regex=php' \ |
| | '--with-snmp' \ |
| '--with-ssl' \ | '--with-ssl' \ |
| | '--with-zlib' \ |
| '--enable-sockets' \ | '--enable-sockets' \ |
| '--enable-ftp' \ | '--enable-ftp' \ |
| '--enable-dbase' \ | '--enable-dbase' \ |
| '--enable-memory-limit' \ | '--enable-memory-limit' \ |
| "$@" > $log | '--enable-exif' |
| echo "Prubeh kompilace je v $log"</code> | </code> |
| |
| |