[78460] trunk/dports/www/wordpress/Portfile

cal at macports.org cal at macports.org
Sun May 8 03:58:22 PDT 2011


Revision: 78460
          http://trac.macports.org/changeset/78460
Author:   cal at macports.org
Date:     2011-05-08 03:58:19 -0700 (Sun, 08 May 2011)
Log Message:
-----------
wordpress: notes from #26001, version upgrade will follow

Modified Paths:
--------------
    trunk/dports/www/wordpress/Portfile

Modified: trunk/dports/www/wordpress/Portfile
===================================================================
--- trunk/dports/www/wordpress/Portfile	2011-05-08 10:32:08 UTC (rev 78459)
+++ trunk/dports/www/wordpress/Portfile	2011-05-08 10:58:19 UTC (rev 78460)
@@ -30,3 +30,21 @@
 destroot {
     file copy ${worksrcpath} ${destroot}${prefix}/www/${name}
 }
+
+notes "
+If your webserver is already running with php and mysql, connect on http://localhost/wordpress/ to finish the install.
+Temporarily allow the webserver write access so it can create wp-config.php (or do it yourself)
+$ sudo chmod 1777 ${prefix}/www/wordpress
+$ sudo chmod 755 ${prefix}/www/wordpress
+
+If Apache is not set, set an alias to the wordpress dir and some access like
+-- ${prefix}/apache2/conf/extra/wordpress.conf
+Alias /wordpress/ \"${prefix}/www/wordpress/\"
+<Directory \"${prefix}/www/wordpress\">
+    Options Indexes FollowSymLinks
+    AllowOverride None
+    Order allow,deny
+    Allow from all
+</Directory>
+--
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110508/d8bc2350/attachment.html>


More information about the macports-changes mailing list