more items moved to orderedlist, typos

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133056 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Friedhelm Betz 2003-06-23 17:31:38 +00:00
parent 4ebacdfca9
commit 9e0d3001e5

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- $Revision: 1.5 $ -->
<sect1 id="install.macosx">
<title>Unix/Mac OS X installs</title>
<para>
@ -181,31 +181,38 @@ setenv OPTIM=-O2
Type <userinput>sudo apxs -i -a -n php4 libphp4.so</userinput>
</simpara>
</listitem>
</orderedlist>
Now type <userinput>sudo open -a TextEdit /etc/httpd/httpd.conf</userinput>.
TextEdit will open with the web server configuration file. Locate these
two lines towards the end of the file: (Use the Find command)
<programlisting role="apache">
<listitem>
<para>
Now type <userinput>sudo open -a TextEdit /etc/httpd/httpd.conf</userinput>.
TextEdit will open with the web server configuration file. Locate these
two lines towards the end of the file: (Use the Find command)
<programlisting role="apache">
<![CDATA[
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
#AddType application/x-httpd-php .php
#AddType application/x-httpd-php-source .phps
]]>
</programlisting>
Remove the two hash marks (<literal>#</literal>), then save the file and quit TextEdit.
</para>
<para>
Finally, type <userinput>sudo apachectl graceful</userinput>to restart the
web server.
</programlisting>
Remove the two hash marks (<literal>#</literal>), then save the file and
quit TextEdit.
</para>
</listitem>
<listitem>
<simpara>
Finally, type <userinput>sudo apachectl graceful</userinput> to restart
the web server.
</simpara>
</listitem>
</orderedlist>
</para>
<para>
PHP should now be up and running. You can test it by dropping a file into
your <filename class="directory">Sites</filename> folder which is called
<filename>test.php</filename>. Into that file, write this line:
<literal>&lt;?php phpinfo() ?&gt;</literal>".
<literal>&lt;?php phpinfo() ?&gt;</literal>.
</para>
<para>
Now open up <literal>127.0.0.1/~your_username/test.php</literal> in your web browser.
You should see a status table with information about the PHP module.
Now open up <literal>127.0.0.1/~your_username/test.php</literal> in your web
browser. You should see a status table with information about the PHP module.
</para>
</sect2>
</sect1>