[MacPorts] howto/MAMP modified

MacPorts noreply at macports.org
Sun Oct 29 19:41:29 UTC 2017


Page "howto/MAMP" was changed by Schamschula
Diff URL: <https://trac.macports.org/wiki/howto/MAMP?action=diff&version=97>
Revision 97
Comment: fix phpinfo.php
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: howto/MAMP
=========================================================================
--- howto/MAMP (version: 96)
+++ howto/MAMP (version: 97)
@@ -98,11 +98,10 @@
 = Step 4: Create phpinfo =
 This is used to test the configuration after you have integrated it with Apache and MySQL.
 
-Create a file named `phpinfo.php` that contains the following two lines
+Create a file named `phpinfo.php` that contains the following line
 
 {{{
-<?php
-phpinfo();
+<?php phpinfo(); ?>
 }}}
 and place it in your Apache "`DocumentRoot`" directory (nominally: "`/opt/local/www/apache2/html`") or your own user "`Sites`" directory if you activated user directories as specified above. 
 Point your browser to `http://localhost/phpinfo.php` (or `http://localhost/~username/phpinfo.php` as applicable) and verify that the correct version of PHP is active and that MySQL support is active (you may want to search the page for "`mysql`"). \\
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/howto/MAMP>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'howto/MAMP' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list