Mac OS X server |
|
Mac OS X, . OS X Server.
1. Apache PHP
2. Untar Apache, , .
./configure --exec-prefix=/usr \
--localstatedir=/var \
--mandir=/usr/share/man \
--libexecdir=/System/Library/Apache/Modules \
--iconsdir=/System/Library/Apache/Icons \
--includedir=/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers \
--enable-shared=max \
--enable-module=most \
--target=apache
3. :
setenv OPTIM=-O2
, .
5. , PHP 4 .
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/share/man \
--with-xml \
--with-apache=/src/apache_1.3.12
(MySQL, GD, etc.), .
--with-apache
pache, "/src/apache_1.3.12".
5. make
6. make install
Apache
src/modules/php4.
7. Apache PHP 4.
./configure --exec-prefix=/usr \
--localstatedir=/var \
--mandir=/usr/share/man \
--libexecdir=/System/Library/Apache/Modules \
--iconsdir=/System/Library/Apache/Icons \
--includedir=/System/Library/Frameworks/Apache.framework/Versions/1.3/Headers \
--enable-shared=max \
--enable-module=most \
--target=apache \
--activate-module=src/modules/php4/libphp4.a
, libmodphp4.a .
src/modules/php4 pache
:
ranlib libmodphp4.a
root/ pache
. .
8. make
9. make install
10. copy rename php.ini-dist "bin"
PHP 4:
cp php.ini-dist /usr/local/bin/php.ini
( )
cp php.ini-dist /usr/bin/php.ini
|
HP-UX 10 |
|
( PHP 4.0.4 Apache v1.3.9)
, PHP Apache HP-UX 10.20?
1. gzip-; http://hpux.connect.org.uk/hppd/auto/dependencies.html swinstall.
2. gcc; http://gcc-uk.internet.bs/releases/gcc-2.95.3/ gunzip gcc swinstall.
3. GNU; http://ftp.gnu.org/gnu/binutils/ gunzip swinstall.
4. bison, http://hpux.connect.org.uk/hppd/hpux/Gnu/bison-2.3/ , .
5. flex, http://www.gnu.org mirrors. <filename>non-gnu</filename> ftp-. , gunzip, tar -xvf. flex a ./configure, make, make install , - , gcc etc. PATH, PATH. .
6. PHP pache.
7. gunzip tar -xvf . , ok.
8. - , hpux-,
47286 .code:
lt_target=hpux10.20
9. Apache GuessOS. apache_1.3.9/src/helpers 89
:code:
"echo "hp${HPUXMACH}-hpux${HPUXVER}"; exit 0"
code:
"echo "hp${HPUXMACH}-hp-hpux${HPUXVER}"; exit 0"
10. PHP shared- HP-UX, static, Apache.
11. PHP pache OK, Apache . Apache, , www apache. 252 253 conf/httpd.conf Apache,
code:
User nobody
Group nogroup
-
code:
User www
Group sys
Apache nobody hp-ux. Apache PHP :)
|
|
|
, PHP. PHP:
: PHP, web- web-. , , web-, , (), web- (Apache Linux IIS Windows). web-. , , PHP-, . , : http://hosts.php.net/.
PHP PHP . PHP ( SAPI). Apache, Microsoft Internet Information Server, Netscape iPlanet.
ISAPI, Microsoft (OmniHTTPd, ). PHP web-, CGI-. , (php.exe Windows) PHP-.
PHP (, , , , ), , . , .
PHP GUI-, PHP-GTK. , web-, HTML, . PHP-GTK PHP.
PHP, Windows http://www.php.net/.
|
: | [1] |