adiju Sun May 12 03:44:44 2002 EDT
Modified files:
/phpdoc-ro/chapters install.xml
Log:
Translating Paul McKay letter about installing Apache + PHP under HP-UX, and a few
little corrections.
Index: phpdoc-ro/chapters/install.xml
diff -u phpdoc-ro/chapters/install.xml:1.2 phpdoc-ro/chapters/install.xml:1.3
--- phpdoc-ro/chapters/install.xml:1.2 Wed Mar 27 18:51:56 2002
+++ phpdoc-ro/chapters/install.xml Sun May 12 03:44:44 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<!-- EN-Revision: install.general.xml 1.1 Maintainer: spooky Status: ready -->
<chapter id="installation">
<title>Instalare</title>
@@ -19,17 +19,17 @@
<para>
Pentru prima �i cea mai utilizat� form�, ai nevoie de trei lucruri: �nsu�i
PHP-ul, un server de web �i un navigator web. Probabil ai deja un navigator
-web, �i, depinz�nd de instalarea sistemului t�u de operare, s-ar putea s�
+web �i, depinz�nd de instalarea sistemului t�u de operare, s-ar putea s�
ai �i un server de web (ex. Apache pe Linux sau IIS pe Windows).
Ai putea, de asemenea, s� inchiriezi spa�iu pe web de la o companie. �n acest
-fel, nu trebuiasc� s� setezi tu personal, doar s� scrii scripturile PHP, le
+fel, nu trebuie s� setezi tu personal, doar s� scrii scripturile PHP, le
transferi pe server pe care ai �nchiriat spa�iul �i vezi rezultatul ob�inut
�n browser. Po�i g�si o list� cu companii care ofer� hosting la <ulink
url="&url.php.hosts;">&url.php.hosts;</ulink>.
</para>
<para>
Dac� instalezi serverul �i PHP de unul singur, ai la dispozi�ie dou�
metode de a conecta PHP de server. Pentru majoritatea serverelor PHP are un modul
-direct de interfa�� (numit �i SAPI). Aceste server includ Apache, Microsoft
+direct de interfa�� (numit �i SAPI). Aceste servere includ Apache, Microsoft
Internet Information Server, Netscape �i iPlanet. Multe alte server au
suport pentru ISAPI, modulul de interfata Microsoft (OmniHTTPd spre
exemplu). Dac� PHP nu are suport de modul pentru serverul t�u de web, �l
@@ -84,75 +84,75 @@
<![CDATA[
From: [EMAIL PROTECTED]
04-Jan-2001 09:49
-(These tips are for PHP 4.0.4 and Apache v1.3.9)
+(Aceste trucuri sunt pentgru PHP 4.0.4 �i Apache v1.3.9)
-So you want to install PHP and Apache on a HP-UX 10.20 box?
+Deci vrei s� instalezi PHP �i Apache pe o ma�in� HP-UX 10.20?
-1. You need gzip, download a binary distribution from
+1. Ai nevoie de gzip, descarc� o distribu�ie binar� de la
http://hpux.connect.org.uk/ftp/hpux/Gnu/gzip-1.2.4a/gzip-1.2.4a-sd-10.20.depot
.Z
-uncompress the file and install using swinstall
+decompacteaz� fi�ierul �i instaleaz� utiliz�nd using swinstall
-2. You need gcc, download a binary distribution from
+2. Ai nevoie de gcc, descarc� o distribu�ie binar� de la
http://gatekeep.cs.utah.edu/ftp/hpux/Gnu/gcc-2.95.2/gcc-2.95.2-sd-10.20.depot.
gz
-gunzip this file and install gcc using swinstall.
+gunzip acest fi�ier �i instaleaz� gcc utiliz�nd swinstall.
-3. You need the GNU binutils, you can download a binary distribution from
+3. Ai nevoie de GNU binutils, descarc� o distribu�ie binar� de la
http://hpux.connect.org.uk/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20
.depot.gz
-gunzip and install using swinstall.
+gunzip acest fi�ier �i instaleaz� utiliz�nd swinstall.
-4. You now need bison, you can download a binary distribution from
+4. Ai nevoie de bison, descarc� o distribu�ie binar� de la
http://hpux.connect.org.uk/ftp/hpux/Gnu/bison-1.28/bison-1.28-sd-10.20.depot.g
z
-install as above.
+�i instaleaz� ca mai sus.
-5. You now need flex, you need to download the source from one of the
-http://www.gnu.org mirrors. It is in the <filename>non-gnu</filename>
-directory of the ftp site.
-Download the file, gunzip, then tar -xvf it. Go into the newly created flex
-directory and do a ./configure, then a make, and then a make install
+5. Ai nevoie de flex, trebuie s� descarci sursele de la
+http://www.gnu.org mirrors. Este �n directorul <filename>non-gnu</filename>
+a site-ului FTP.
+Descarc� fi�ierul, gunzip, apoi tar -xvf asupra lui. Du-te �n directorul flex nou
+creat
+�i d�-i ./configure, apoi make, dup� care make install
-If you have errors here, it's probably because gcc etc. are not in your
-PATH so add them to your PATH.
+Dac� apar erori, acestea se datoreaz�, probabil, faptului c� gcc etc. nu s�nt �n
+PATH a�a c� adaug�-le �n PATH.
-Right, now into the hard stuff.
+Ei, �i-acum �ncepe partea grea.
-6. Download the PHP and apache sources.
+6. Descarc� sursele PHP �i Apache.
-7. gunzip and tar -xvf them.
+7. gunzip �i tar -xvf asupra lor.
-We need to hack a couple of files so that they can compile ok.
+Trebuie s� modific�m o serie de fi�iere pentru a putea compila sursele.
-8. Firstly the configure file needs to be hacked because it seems to lose
-track of the fact that you are a hpux machine, there will be a
-better way of doing this but a cheap and cheerful hack is to put
+8. Mai �nt�i fi�ierul de configurare are nevoie s� fie modificat deoarece pare s� nu
+sesizeze
+faptul c� ruleaz� pe o ma�in� hpux; cea mai bun� cale de a remedia
+problema este s� adaugi
lt_target=hpux10.20
-on line 47286 of the configure script.
+�n linia 47286 a scriptului de configurare.
-9. Next, the Apache GuessOS file needs to be hacked. Under
-apache_1.3.9/src/helpers change line 89 from
+9. Urmeaz� s� fie modificat fi�ierul Apache GuessOS. �n
+apache_1.3.9/src/helpers schimb� linia 89 de la
"echo "hp${HPUXMACH}-hpux${HPUXVER}"; exit 0"
-to:
+la:
"echo "hp${HPUXMACH}-hp-hpux${HPUXVER}"; exit 0"
-10. You cannot install PHP as a shared object under HP-UX so you must compile
-it as a static, just follow the instructions at the Apache page.
+10. Nu po�i instala PHP ca obiect partajat sub HP-UX a�a c� trebuie s�-l compilezi
+static, pentru asta vezi instruc�iunile de pe site-ul Apache.
-11. PHP and apache should have compiled OK, but Apache won't start. you need
-to create a new user for Apache, eg www, or apache. You then change lines 252
-and 253 of the conf/httpd.conf in Apache so that instead of
+11. PHP �i Apache pot fi compilate OK, dar Apache nu porne�te. Trebuie
+s� creezi un nou user pentru Apache, de exemplu www, sau apache. Schimb� apoi liniile
+252
+�i 253 a fi�ierului conf/httpd.conf al Apache-ului a�a �nc�t �n loc de
User nobody
Group nogroup
-you have something like
+s� ai ceva de genul
User www
Group sys
-This is because you can't run Apache as nobody under hp-ux.
-Apache and PHP should then work.
+Asta deoarece nu po�i rula Apache ca nimeni sub hp-ux.
+Acum Apache �i PHP ar trebui s� mearg�.
-Hope this helps somebody,
+Cu speran�a c� va ajuta pe cineva,
Paul Mckay.
]]>
</screen>