betz Mon Jun 23 13:31:38 2003 EDT
Modified files:
/phpdoc/en/chapters install.macosx.xml
Log:
more items moved to orderedlist, typos
Index: phpdoc/en/chapters/install.macosx.xml
diff -u phpdoc/en/chapters/install.macosx.xml:1.4
phpdoc/en/chapters/install.macosx.xml:1.5
--- phpdoc/en/chapters/install.macosx.xml:1.4 Mon Jun 23 07:57:28 2003
+++ phpdoc/en/chapters/install.macosx.xml Mon Jun 23 13:31:38 2003
@@ -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 @@
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><?php phpinfo() ?></literal>".
+ <literal><?php phpinfo() ?></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>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php