NYCPHP Meetup

NYPHP.org

[nycphp-talk] pcntl_fork() assistance

Joseph Crawford codebowl at gmail.com
Fri Sep 22 13:26:59 EDT 2006


MYSQL CONFIG LINE
./configure --prefix=/usr/local/mysql
--with-unix-socket-path=/usr/local/mysql/run/mysql_socket
--with-mysqld-user=mysql --with-comment --with-debug

PHP CONFIG LINE
./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache/bin/apxs
--with-mysql=/usr/local/mysql  --enable-pcntl --enable-dbx --enable-mbstring
--enable-sockets --enable-exif --enable-ftp --enable-mbregex --with-curl
--with-mysqli=/usr/local/mysql/bin/mysql_config --with-zlib-dir=/usr

I am trying to compile in both mysql and mysqli, the php configure line
works without any errors, i was having problems with it not finding mysql
but i fixed that (had to install the binary package for osx and then compile
from source and combine the 2 directories.  The source would have worked but
not with the system prefs panel as some scripts were missing for the startup
stuff.  Now MySQL is running just fine i can login via the command line but
phpMyAdmin says it cannot find the sock.

Thanks,
-- 
Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.
http://www.codebowl.com/
Blog: http://www.josephcrawford.com/
1-802-671-2021
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060922/565f109d/attachment.html>


More information about the talk mailing list