Rozdíly
Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.
| Obě strany předchozí revize
Předchozí verze
Následující verze
|
Předchozí verze
|
linux:internet:php [26.11.2007 11:44] mtalma |
linux:internet:php [13.03.2020 18:43] (aktuální) |
| {{page>:menu}} | {{page>:menu}} |
| ====== PHP ====== | ====== PHP ====== |
| | |
| |
| |
| <code bash> | <code bash> |
| #!/bin/sh | #!/bin/sh |
| phpversion="4.4.7" | |
| |
| | phpversion="5.2.6" |
| | mainver="5" |
| | log=config.my.log |
| apxs=/usr/sbin/apxs | apxs=/usr/sbin/apxs |
| | |
| 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/php/'$phpversion \ | '--prefix=/usr/local/app/php/'$phpversion \ |
| '--with-config-file-path=/etc/php4' \ | '--with-config-file-path=/etc/php'$mainver \ |
| '--with-config-file-scan-dir=/etc/php4/conf.d' \ | '--with-config-file-scan-dir=/etc/php'$mainver'/conf.d' \ |
| '--with-apxs2='$apxs \ | '--with-apxs2='$apxs \ |
| '--with-curl' \ | '--with-curl' \ |
| '--with-dom' \ | '--with-dom' \ |
| | '--with-freetype-dir' \ |
| '--with-gd' \ | '--with-gd' \ |
| '--with-gettext' \ | '--with-gettext' \ |
| '--with-iconv' \ | '--with-iconv' \ |
| | '--with-jpeg-dir' \ |
| '--with-ldap' \ | '--with-ldap' \ |
| '--with-mcrypt' \ | '--with-mcrypt' \ |
| '--with-mysql=/usr' \ | '--with-mysql=/usr' \ |
| | '--with-png-dir' \ |
| '--with-pear' \ | '--with-pear' \ |
| '--with-regex=php' \ | '--with-regex=php' \ |
| '--enable-mbstring' \ | '--enable-mbstring' \ |
| '--enable-dbase' \ | '--enable-dbase' \ |
| '--enable-memory-limit' | '--enable-memory-limit' \ |
| | '--enable-exif' |
| </code> | </code> |
| |