Re: Having a pretty rough time getting php5 installed

2008-08-11 Thread Chris Janton
On 2008-08-10 , at 17:50 , Ryan Schmidt wrote: The preferred location for my.cnf for MacPorts mysql5 is /opt/local/ etc/mysql5/my.cnf. Or it will read /etc/my.cnf if present. Sample configuration files are provided in /opt/local/share/mysql5/ mysql which you can copy to create your own

Re: Having a pretty rough time getting php5 installed

2008-08-11 Thread Ben Greenfield
On Aug 11, 2008, at 10:20 AM, Chris Janton wrote: On 2008-08-10 , at 17:50 , Ryan Schmidt wrote: The preferred location for my.cnf for MacPorts mysql5 is /opt/local/ etc/mysql5/my.cnf. Or it will read /etc/my.cnf if present. Sample configuration files are provided in

Re: Having a pretty rough time getting php5 installed

2008-08-11 Thread Chris Janton
On 2008-08-11 , at 07:25 , Ben Greenfield wrote: It's a question of style. If only Apple stores things in /etc/ then Apple can't stomp on your install. If everything MacPorts related is installed under /opt/, /opt/ can be blown-away without effecting other non MacPorts install. The idea is

Re: Having a pretty rough time getting php5 installed

2008-08-10 Thread Chris Janton
On 2008-08-09 , at 16:38 , Rainer Müller wrote: On my system I do not have local/var/log sudo chown -R mysql:mysql /opt/local/var/log/mysql5/ So that will error, maybe there should be a log dir, not sure, not sure what would make it. The docs here at least do tell you maybe try another

Re: Having a pretty rough time getting php5 installed

2008-08-10 Thread Rainer Müller
Chris Janton wrote: On 2008-08-09 , at 16:38 , Rainer Müller wrote: Can't comment on this one, I don't know if mysql5 is supposed to create /opt/local/var/log/mysql5/. Why would it create it? It isn't needed to run mysql. The MySQL manual states By default, all log files are

Re: Having a pretty rough time getting php5 installed

2008-08-10 Thread Ryan Schmidt
On Aug 9, 2008, at 18:17, Scott Haneda wrote: I would recommend to use everything from MacPorts. We have a HOWTO for setting up Apache, MySQL and PHP: http://trac.macports.org/wiki/howto/MAMP With this all up and running, where is my.cnf read from? I only find

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Rainer Müller
Scott Haneda wrote: Maybe I'm not understanding this entirely. I already have mysql 5 installed from source and running. I also have apache 2 running as part if the built in os install. I don't need to have those installed. They are running and configured as I need them to be. First

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Scott Haneda
I would recommend to use everything from MacPorts. We have a HOWTO for setting up Apache, MySQL and PHP: http://trac.macports.org/wiki/howto/MAMP Thanks, looks good, got apache2 in, now I am again, stuck. sudo port install mysql5 +server Password: --- Building mysql5 with target all Error:

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Scott Haneda
I would recommend to use everything from MacPorts. We have a HOWTO for setting up Apache, MySQL and PHP: http://trac.macports.org/wiki/howto/MAMP Not going to well, apache2 went in fine, mysql seems to now have gone in with a clean being done first. I ran the load of the launcd file,

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Randall Wood
On Sat, Aug 9, 2008 at 3:12 PM, Scott Haneda [EMAIL PROTECTED] wrote: I would recommend to use everything from MacPorts. We have a HOWTO for setting up Apache, MySQL and PHP: http://trac.macports.org/wiki/howto/MAMP Not going to well, apache2 went in fine, mysql seems to now have gone in

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Scott Haneda
Not going to well, apache2 went in fine, mysql seems to now have gone in with a clean being done first. I ran the load of the launcd file, that was fine, then when I run: sudo mysql5 mysql_install_db5 ERROR 2002 (HY000): Can't connect to local MySQL server through socket

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Scott Haneda
Error: Target org.macports.fetch returned: You have an Apple X11 installation already. MacPorts will not overwrite it. If you wish to use Apple X11, install the X11SDK included with Xcode tools. As it says,

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Zav Public
Pardon the stupid question but is there a reason why MAMP is not an option for you? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Scott Haneda
Not going to well, apache2 went in fine, mysql seems to now have gone in with a clean being done first. I ran the load of the launcd file, that was fine, then when I run: sudo mysql5 mysql_install_db5 ERROR 2002 (HY000): Can't connect to local MySQL server through socket

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Scott Haneda
I would recommend to use everything from MacPorts. We have a HOWTO for setting up Apache, MySQL and PHP: http://trac.macports.org/wiki/howto/MAMP With this all up and running, where is my.cnf read from? I only find /local/var/macports/sources/rsync.macports.org/release/ports/databases/

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Scott Haneda
I would recommend to use everything from MacPorts. We have a HOWTO for setting up Apache, MySQL and PHP: http://trac.macports.org/wiki/howto/MAMP With this all up and running, where is my.cnf read from? I only find /local/var/macports/sources/rsync.macports.org/release/ports/ databases/

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Rainer Müller
Scott Haneda wrote: port uninstall mysql5 and reinstall worked, but I have some comments, as the docs are a little off, which is why this was not working for me I think... Specifically this page http://trac.macports.org/wiki/howto/MAMP This will not work: sudo mysql5 mysql_install_db5

Re: Having a pretty rough time getting php5 installed

2008-08-09 Thread Scott Haneda
Thanks for spotting this, I edited the wiki. Thank you for all your help and everyone else as well, just glad I could return the favor in a small way. -- Scott [EMAIL PROTECTED] ___ macports-users mailing list macports-users@lists.macosforge.org

Having a pretty rough time getting php5 installed

2008-08-08 Thread Scott Haneda
I am running PPC Dual G5 OS X 10.5 Leopard Downloaded and installed xcode today, so it should be as current as I can get. sudo port -v MacPorts 1.600 Ran the update and it seemed to update fine, or not need it: DEBUG: MacPorts base dir: /opt/local/var/macports/sources/

RE: Having a pretty rough time getting php5 installed

2008-08-08 Thread John Korchok
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Scott Haneda Sent: Friday, August 08, 2008 10:31 PM To: macports-users@lists.macosforge.org Subject: Having a pretty rough time getting php5 installed I am running PPC Dual G5 OS X 10.5 Leopard Downloaded and installed xcode today, so

Re: Having a pretty rough time getting php5 installed

2008-08-08 Thread Bryan Blackburn
On Aug 8, 2008, at 8:31 PM, Scott Haneda wrote: ... And here is what I want to install: sudo port install php5 +apache2 +mysql5 +pear +imap +sqlite +tidy * As a side note, this is a test machine, an identical one is at a colo fascility, and I do not want to run ports on that machine, but

Re: Having a pretty rough time getting php5 installed

2008-08-08 Thread Scott Haneda
To: macports-users@lists.macosforge.org Subject: Having a pretty rough time getting php5 installed I am running PPC Dual G5 OS X 10.5 Leopard Downloaded and installed xcode today, so it should be as current as I can get. sudo port -v MacPorts 1.600 Ran the update and it seemed to update

RE: Having a pretty rough time getting php5 installed

2008-08-08 Thread John Korchok
-efficient in my experience. John Korchok -Original Message- From: Scott Haneda [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2008 11:17 PM To: John Korchok Cc: macports-users@lists.macosforge.org Subject: Re: Having a pretty rough time getting php5 installed Maybe I'm