| |
PHP ��� PHP �������������� ����������. ���������� �������������� � ������������ ������, �� ��������� ����������� ���� ���� ��������������� ���������� � HTML ��������.
����� (HTTP): http://us2.php.net/distributions/php-5.0.3.tar.bz2
����� (FTP): ftp://ftp.isu.edu.tw/pub/Unix/Web/PHP/distributions/php-5.0.3.tar.bz2
����������� �����: fd26455febdddee0977ce226b9108d9c
������: 4.4 MB
��������� �������� ������������: 101 MB
��������� ����� ������: 1.29 SBU
��������� ���� ��� Berkeley DB: http://www.linuxfromscratch.org/blfs/downloads/6.0/php-5.0.3-db43-1.patch
libxml2-2.6.17, libxslt-1.1.12, OpenSSL-0.9.7e, ClibPDF, libjpeg-6b, libtiff-3.7.1, cURL-7.13.1, QDBM, cdb, GDBM-1.8.3, Berkeley DB-4.3.27, FAM-2.7.0, GD, libpng-1.2.8, X (X.org-6.8.2 ��� XFree86-4.4.0), FreeType-2.1.9, t1lib, GMP-4.1.4 MySQL-4.1.8a, PCRE-5.0, PostgreSQL-7.4.6, Aspell-0.60, pkgconfig-0.15.0, HTML Tidy-050305, OpenLDAP-2.2.20, Cyrus SASL-2.1.20, MIT krb5-1.4 ��� Heimdal-0.6.3, libmcrypt, mhash, Net-SNMP, SQLite, Dmalloc, mnoGoSearch, Mini SQL, Empress, Birdstep, DBMaker, Adabas, FrontBase, Caudium, WDDX, FDF Toolkit, Hyperwave, Monetra, expat-1.95.8 � MTA
�� ������ ������������ PHP ��� �������� � ��������� �������, �������� ��������� ������ �� ������� ���������� GUI ����������. ����� ������������� ���������� ��� ��������� PHP ��� �������� � ��������� �������, ��� ��� ��� �������� ������ �����.
���� � ��� ���������� ����� Berkeley DB � �� ������ ��� ������������, �� ��������� ��������� ����:
patch -Np1 -i ../php-5.0.3-db43-1.patch
��������� PHP �������� ��������� ������:
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-apxs2 \
--with-config-file-path=/etc \
--with-zlib \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
--enable-dba \
--enable-exif \
--enable-ftp \
--with-gettext \
--with-iconv \
--with-ncurses \
--with-readline \
--disable-libxml &&
make &&
make install &&
cp php.ini-recommended /etc/php.ini
������� ���� --disable-libxml ���� � ��� ���������� libxml2-2.6.17, � ��������� ������ pear �� ����� ������.
PHP ����� �� ����� ������ ����� ������������, ���������� ��������� ��������� �������. �� ������ ������������ ./configure --help ��� ��������� ������� ������ ��������� �����. ��� ��, ����� ������������� ������������� ����� PHP, ��� ��� ����� ���� ����� ������� ������������.
��� ��������� ��������� PHP � ������� Apache, ����� ��������� LoadModule (��� ������ ���� ���������� ������������� �������� make install) � AddType ������ ���� ��������� � ���� httpd.conf:
LoadModule php5_module lib/apache/libphp5.so AddType application/x-httpd-php .php
��� �� ����� ���� ������� �������� ���������� � index.php � ��������� DirectoryIndex ����� httpd.conf.
����� PHP �������� pear, php, php-config, phpextdist � phpize.
php ��� ��������� ��������� ������, ������� ��������� ��� ��������� � ��������� PHP ���.
��������� ���������� 2005-02-12 09:53:54 -0700