![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 3 Pomógł: 0 Dołączył: 18.01.2003 Ostrzeżenie: (0%) ![]() ![]() |
Witam. Kompiluje php z takimi opcjami:
./configure 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs' '--with-bz2' '--with-curl=' '--with-db3' '--with-dom' '--with-exec-dir=/usr/bin' '--with-gd' '--with-gdbm' '--with-gettext' '--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png' '--with-regex=system' '--with-ttf' '--with-zlib' '--with-layout=GNU' '--enable-debugger' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-wddx' '--with-mysql' '--with-unixODBC' '--without-oracle' '--without-oci8' '--with-xml' potem wpisuje make i chwile sie kompiluje, a potem wyskakuje blad: ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam': /usr/local/php/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp' i kompilacja sie konczy. Co zrobic ![]() |
|
|
![]()
Post
#2
|
|
![]() Grupa: Zarejestrowani Postów: 223 Pomógł: 0 Dołączył: 13.01.2003 Skąd: 3rd ball of mud behind a big ball of burning gas Ostrzeżenie: (0%) ![]() ![]() |
1. htp://www.mysql.com - pobierz najnowsza wersje
2. zainstaluj /usr/local/mysql 3. zmien opcje konfiguracyjne na: Kod ./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local
--with-png-dir=/downloads/libpng-1.2.5 --with-zlib-dir=/downloads/zlib-1.1.4 --with-apxs=/usr/local/apache/bin/apxs --with-jpeg-dir=/downloads/jpeg-6b --with-mail --enable-track-vars |
|
|
![]() ![]() |
![]() |
Aktualny czas: 19.08.2025 - 17:58 |