�������: ������ (���� | �����������) ��RU opennet.me  
The OpenNET Project / Index page

[ ������� /+++ | ����� | ���� | ]

������� ������������ / ������ "������������ ��� Linux" / ���������� ���������

PHP-5.0.3

�������� � PHP

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

�������������

����������� PHP

���������

Apache-2.0.53

��������� PHP

[���������]

���������

�� ������ ������������ 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

����� ������������

/etc/php.ini, /etc/pear.conf

���������������� ����������

��� ��������� ��������� 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 ��� ��������� ��������� ������, ������� ��������� ��� ��������� � ��������� PHP ���.

pear

pear ��� �������� ������ ����������� ���������� � ���������� PHP (PHP Extension and Application Repository - PEAR).

��������� ���������� 2005-02-12 09:53:54 -0700




������:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
�������:

�������� �� �����
���������� �� ���������
Created 1996-2026 by Maxim Chirkov
��������, ����������, ����������