From 9e0d3001e5832380be26652c07c7c2dc26ee4fd8 Mon Sep 17 00:00:00 2001 From: Friedhelm Betz Date: Mon, 23 Jun 2003 17:31:38 +0000 Subject: [PATCH] more items moved to orderedlist, typos git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@133056 c90b9560-bf6c-de11-be94-00142212c4b1 --- chapters/install.macosx.xml | 41 ++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/chapters/install.macosx.xml b/chapters/install.macosx.xml index 336e2f21c7..051ce170df 100644 --- a/chapters/install.macosx.xml +++ b/chapters/install.macosx.xml @@ -1,5 +1,5 @@ - + Unix/Mac OS X installs @@ -181,31 +181,38 @@ setenv OPTIM=-O2 Type sudo apxs -i -a -n php4 libphp4.so - - Now type sudo open -a TextEdit /etc/httpd/httpd.conf. - TextEdit will open with the web server configuration file. Locate these - two lines towards the end of the file: (Use the Find command) - + + + Now type sudo open -a TextEdit /etc/httpd/httpd.conf. + TextEdit will open with the web server configuration file. Locate these + two lines towards the end of the file: (Use the Find command) + - - Remove the two hash marks (#), then save the file and quit TextEdit. - - - Finally, type sudo apachectl gracefulto restart the - web server. + + Remove the two hash marks (#), then save the file and + quit TextEdit. + + + + + Finally, type sudo apachectl graceful to restart + the web server. + + + 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() ?>". + <?php phpinfo() ?>. - Now open up 127.0.0.1/~your_username/test.php in your web browser. - You should see a status table with information about the PHP module. + Now open up 127.0.0.1/~your_username/test.php in your web + browser. You should see a status table with information about the PHP module.