mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Updated links in macosx and added some <literal> tags.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@50473 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
35fec8dcee
commit
666a77a677
1 changed files with 7 additions and 9 deletions
|
@ -481,9 +481,7 @@ $ php4-enable
|
|||
<sect2 id="install.macosx.client">
|
||||
<title>Compiling for MacOS X client</title>
|
||||
<simpara>
|
||||
Those tips are graciously provided by Marc Liyanage :
|
||||
<ulink url="&url.macosx2;">April 2001's site</ulink> and
|
||||
<ulink url="&url.macosx;">future site</ulink>.
|
||||
Those tips are graciously provided by <ulink url="&url.macosx;">Marc Liyanage</ulink>.
|
||||
</simpara>
|
||||
<simpara>
|
||||
The PHP module for the Apache web server included in Mac OS X.
|
||||
|
@ -502,18 +500,18 @@ $ php4-enable
|
|||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
2. type "wget http://www.access.ch/ml/software/macosx/libphp4.so.gz",
|
||||
2. Type "wget http://www.diax.ch/users/liyanage/software/macosx/libphp4.so.gz",
|
||||
wait for download to finish
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
3. type "gunzip libphp4.so.gz"
|
||||
3. Type "gunzip libphp4.so.gz"
|
||||
</simpara>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<simpara>
|
||||
4. type "sudo apxs -i -a -n php4 libphp4.so"
|
||||
4. Type "sudo apxs -i -a -n php4 libphp4.so"
|
||||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
@ -524,7 +522,7 @@ $ php4-enable
|
|||
* #AddType application/x-httpd-php .php
|
||||
* #AddType application/x-httpd-php-source .phps
|
||||
</programlisting>
|
||||
Remove the two hash marks (#), then save the file and quit TextEdit.
|
||||
Remove the two hash marks (<literal>#</literal>), then save the file and quit TextEdit.
|
||||
</para>
|
||||
<para>
|
||||
Finally, type "<literal>sudo apachectl graceful</literal>" to restart the web server.
|
||||
|
@ -532,10 +530,10 @@ $ php4-enable
|
|||
<para>
|
||||
PHP should now be up and running. You can test it by dropping a file into
|
||||
your "Sites" folder which is called "test.php". Into that file, write this
|
||||
line: "<?php phpinfo() ?>".
|
||||
line: "<literal><?php phpinfo() ?></literal>".
|
||||
</para>
|
||||
<para>
|
||||
Now open up 127.0.0.1/~your_username/test.php in your web browser.
|
||||
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>
|
||||
|
|
Loading…
Reference in a new issue