MAMP Question based on tutorial Scott Haneda

Jasper Frumau jasperfrumau at gmail.com
Thu Jul 29 01:20:49 PDT 2010


Well, another issue:

Jaspers-MacBook-Pro:www jasper$ which php
/opt/local/bin/php

How to remedy this?

Other issue, if I go to localhost/wordpress it should show wordpress, now
located in /opt/local/www/ but I get a 404.

On Thu, Jul 29, 2010 at 12:09 PM, Jasper Frumau <jasperfrumau at gmail.com>wrote:

> Never mind that. After a restart all was good. Question, www CHMOD/CHOWN
> rights are now:
> Jaspers-MacBook-Pro:~ jasper$ cd /opt/local/
> Jaspers-MacBook-Pro:local jasper$ ls -l | grep www
> drwxr-xr-x    62 root  admin   2108 Jul 29 12:06 www
>
> Which is annoying as I cannot easily copy and paste file without using
> sudo. What chmod and chown would you recommend? NB This is for a local
> development server..
>
>
> On Thu, Jul 29, 2010 at 11:47 AM, Jasper Frumau <jasperfrumau at gmail.com>wrote:
>
>> I decided to finally make pma work using Scott's tutorial @
>> http://dl.dropbox.com/u/340087/drops/01.04.10/mamp/MAMP%20Tutorial.html .
>> I copied all files to /opt/local/www/ usinf cp *-R* (many directories). I
>> made adjustments in httpd.con, restarted apache using sudo
>> /opt/local/apache2/bin/apachectl -k restart (command could maybe be added to
>> tut just in case someone does not know). And then I got this error:
>>
>> jasper$ sudo /opt/local/apache2/bin/apachectl -k restart
>> httpd not running, trying to start
>> (48)Address already in use: make_sock: could not bind to address [::]:80
>>
>> Never had this error before. Wonder what I missed...
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20100729/01e60d33/attachment.html>


More information about the macports-users mailing list