Re: Help with conjoined apaches

2012-04-29 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 29/04/2012 05:50, j...@ayendesigns.com wrote: Getting warmer :) I installed apache2, mysql5, mysql5-server, php5 and phpmyadmin. Apache is pointing to the correct place for apachectl after I added the path to .profile. The trouble I'm

Re: Help with conjoined apaches

2012-04-29 Thread Ryan Schmidt
On Apr 28, 2012, at 22:00, Jeremy Lavergne wrote: None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port. Do you try to do a forced upgrade apache2 and mysql5 that failed? I

Re: Help with conjoined apaches

2012-04-29 Thread Jeremy Lavergne
Whether intentionally or not, MacPorts was changed a few versions ago so that running sudo port -n upgrade --force foo will FIRST uninstall the current version of foo, THEN build the new version of foo, which might fail, leaving you with no installed version of foo. Huh. I guess that's

Re: Help with conjoined apaches

2012-04-29 Thread Bradley Giesbrecht
On Apr 28, 2012, at 8:00 PM, Jeremy Lavergne wrote: None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port. Do you try to do a forced upgrade apache2 and mysql5 that failed? I

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
I do have an /opt/local/apache2, but not /opt/local/apache2/bin. 'which' responds with /usr/sbin That means you're always running Apple's apachectl---so far. There should be one installed by MacPorts as well. Look for in the package list or peruse the /opt/local/apache2 directory, then make

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
This gets stranger and stranger. Ports says apache2 isn't installed. And I have no mysql command anymore. This was all working 2 weeks ago. It appears that somehow it got trashed. Should I start again with 'ports install' apache2 and mysql5? That's pretty bizarre: but yes you can

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
It wanted me to self-update and then freshen what is installed. I'm getting: Warning: Xcode appears to be installed but xcodebuild is unusable; some ports will likely fail to build. Warning: You may need to run `sudo xcode-select -switch /Applications/Xcode.app` on everything. I

Re: Help with conjoined apaches

2012-04-28 Thread Bradley Giesbrecht
On Apr 28, 2012, at 6:36 PM, Jeremy Lavergne wrote: This gets stranger and stranger. Ports says apache2 isn't installed. And I have no mysql command anymore. This was all working 2 weeks ago. It appears that somehow it got trashed. Should I start again with 'ports install' apache2 and

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
Ok, but is xcodebuild unusable because it's not there, or because the new xcode version's xcodebuild isn't liked by macports? If the latter, and it changes the path, how would I switch it back in order to use the iphone sdk version? When Xcode updated, it didn't update it's command line

Re: Help with conjoined apaches

2012-04-28 Thread Bradley Giesbrecht
Jeff, try to remember to reply to the list by hitting Reply All. On Apr 28, 2012, at 7:13 PM, j...@ayendesigns.com wrote: MacBook-Pro:/ acme$ echo $PATH /opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin Add

Re: Help with conjoined apaches

2012-04-28 Thread Jeremy Lavergne
None of these files are provided by MacPorts and files provided by apache2 and mysql5 are missing so somehow apache2 and mysql5 were most likely uninstalled by port. Do you try to do a forced upgrade apache2 and mysql5 that failed? I think that would have uninstalled apache2 and mysql5

RE: Help with conjoined apaches

2012-04-28 Thread jeff
Getting warmer :) I installed apache2, mysql5, mysql5-server, php5 and phpmyadmin. Apache is pointing to the correct place for apachectl after I added the path to .profile. The trouble I'm having now is mysql. I'm getting:ERROR 2002 (HY000): Can't connect to local MySQL server through socket

Re: Help with conjoined apaches

2012-04-27 Thread Jeremy Lavergne
I installed macports lamp, and what seems to be happening is that apachectl reports based on the osx stack in terms of where the config file is, the vhosts, etc, and apache uses its config files too. But requesting a page seems to use the macports server path and ignore the vhosts. Should I

Re: Help with conjoined apaches

2012-04-27 Thread Ryan Schmidt
On Apr 27, 2012, at 18:38, Jeff Greenberg wrote: I installed macports lamp, and what seems to be happening is that apachectl reports based on the osx stack in terms of where the config file is, the vhosts, etc, and apache uses its config files too. But requesting a page seems to use the