faq/installation.xml
8e732e84a1425cf0ab3a5b0da8fe113c7a6da85e
...
...
@@ -6,8 +6,7 @@
6
6

7
7
<para>
8
8
This section holds common questions about the way to install
9
-
PHP. PHP is available for almost any OS (except maybe for
10
-
MacOS before OSX), and almost any web server.
9
+
PHP. PHP is available for almost any OS, and almost any web server.
11
10
</para>
12
11
<para>
13
12
To install PHP, follow the instructions in <xref linkend="install"/>.
...
...
@@ -419,12 +418,10 @@ cgi error:
419
418
</question>
420
419
<answer>
421
420
<para>
422
-
On Windows NT+ and Windows Server 2000+:
421
+
On Windows:
423
422
<itemizedlist>
424
423
<listitem><para>
425
-
Go to Control Panel and open the System icon (Start -&gt; Settings
426
-
-&gt; Control Panel -&gt; System, or just Start -&gt; Control Panel
427
-
-&gt; System for Windows XP/2003+)
424
+
Go to Control Panel and open the System icon (Start → Control Panel)
428
425
</para></listitem>
429
426
<listitem><para>
430
427
Go to the Advanced tab
...
...
@@ -450,38 +447,12 @@ cgi error:
450
447
</para></listitem>
451
448
</itemizedlist>
452
449
</para>
453
-
<para>
454
-
On Windows 98/Me you need to edit the <filename>autoexec.bat</filename>
455
-
file:
456
-
<itemizedlist>
457
-
<listitem><para>
458
-
Open the Notepad (Start -&gt; Run and enter notepad)
459
-
</para></listitem>
460
-
<listitem><para>
461
-
Open the <filename>C:\autoexec.bat</filename> file
462
-
</para></listitem>
463
-
<listitem><para>
464
-
Locate the line with PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;..... and add:
465
-
<literal>;C:\php</literal> to the end of the line
466
-
</para></listitem>
467
-
<listitem><para>
468
-
Save the file and restart your computer
469
-
</para></listitem>
470
-
</itemizedlist>
471
-
</para>
472
450
<note>
473
451
<simpara>
474
452
Be sure to reboot after following the steps above to ensure that the
475
453
<envar>PATH</envar> changes are applied.
476
454
</simpara>
477
455
</note>
478
-
<para>
479
-
The PHP manual used to promote the copying of files into the Windows
480
-
system directory, this is because this directory
481
-
(<filename>C:\Windows</filename>, <filename>C:\WINNT</filename>, etc.)
482
-
is by default in the system's <envar>PATH</envar>. Copying files into the Windows
483
-
system directory has long since been deprecated and may cause problems.
484
-
</para>
485
456
</answer>
486
457
</qandaentry>
487
458

...
...
@@ -493,61 +464,9 @@ cgi error:
493
464
</question>
494
465
<answer>
495
466
<para>
496
-
There are several ways of doing this. If you are using Apache, read
497
-
their installation specific instructions (<link
498
-
linkend="install.windows.apache1">Apache 1</link>, <link
499
-
linkend="install.windows.apache2">Apache 2</link>), otherwise you must
500
-
set the <varname>PHPRC</varname> environment variable:
501
-
</para>
502
-
<para>
503
-
On Windows NT, 2000, XP and 2003:
504
-
<itemizedlist>
505
-
<listitem><para>
506
-
Go to Control Panel and open the System icon (Start -&gt; Settings
507
-
-&gt; Control Panel -&gt; System, or just Start -&gt; Control Panel
508
-
-&gt; System for Windows XP/2003)
509
-
</para></listitem>
510
-
<listitem><para>
511
-
Go to the Advanced tab
512
-
</para></listitem>
513
-
<listitem><para>
514
-
Click on the 'Environment Variables' button
515
-
</para></listitem>
516
-
<listitem><para>
517
-
Look into the 'System variables' pane
518
-
</para></listitem>
519
-
<listitem><para>
520
-
Click on 'New' and enter 'PHPRC' as the variable name and the
521
-
directory where &php.ini; is located as the variable value (e.g.
522
-
<literal>C:\php</literal>)
523
-
</para></listitem>
524
-
<listitem><para>
525
-
Press OK and restart your computer
526
-
</para></listitem>
527
-
</itemizedlist>
528
-
</para>
529
-
<para>
530
-
On Windows 98/Me you need to edit the <filename>autoexec.bat</filename>
531
-
file:
532
-
<itemizedlist>
533
-
<listitem><para>
534
-
Open the Notepad (Start -&gt; Run and enter notepad)
535
-
</para></listitem>
536
-
<listitem><para>
537
-
Open the <filename>C:\autoexec.bat</filename> file
538
-
</para></listitem>
539
-
<listitem><para>
540
-
Add a new line to the end of the file: <literal>set
541
-
PHPRC=C:\php</literal> (replace <literal>C:\php</literal> with the
542
-
directory where &php.ini; is located). Please note that the path
543
-
cannot contain spaces. For instance, if you have installed PHP in
544
-
<filename>C:\Program Files\PHP</filename>, you would enter
545
-
<filename>C:\PROGRA~1\PHP</filename> instead.
546
-
</para></listitem>
547
-
<listitem><para>
548
-
Save the file and restart your computer
549
-
</para></listitem>
550
-
</itemizedlist>
467
+
There are several ways of doing this. If you are using Apache,
468
+
refer to the Apache documentation, otherwise
469
+
you must set the <varname>PHPRC</varname> environment variable.
551
470
</para>
552
471
</answer>
553
472
</qandaentry>
554
473