View Full Version : Best Way to Add GD-lib JPEG to Mac OS X Server
02-24-2006, 12:14 AM
I have Mac OS X Server through the 10.4.5 update and want to add GD-lib JPEG support as it is not in the Mac OS X Server. For someone that is very new to the command line and Unix, what would be the easiest way to do this? Any suggestions would be great!
02-24-2006, 05:18 AM
This version of PHP has GD support. I assume that's the same thing as "GD-lib JPEG support" but I'm not really smrt enough with these things to know for sure. I installed this PHP and it works fine on my Mac (Mac OS X 10.4.5 - not Mac OS X Server) I initially needed GD support to get Gallery working, but pixelpost seems to be running on my Mac just fine too.
02-24-2006, 02:32 PM
Thanks for the suggestion. I tried this last week and it broke my MySQL/PHP integration (see http://forum.pixelpost.org/showthread.php?t=3433) and thus Pixelpost and with my level of understanding I was never able to get it working again so I just reinstalled Mac OS X Server the other day and was hoping to find an alternative way to add GD-lib JPEG support . . . . . . . thanks for the suggestion though.
02-24-2006, 07:06 PM
I had to make a change in my php.ini file to get mysql to work. I had to change the MYSQL_SOCKET to /tmp/mysql.sock
I actually had to make that change with the php that came with Tiger, but I needed to do it with the php5 version too.
02-26-2006, 11:22 PM
Where is php.ini generally located? Thanks.
02-27-2006, 12:08 AM
I didn't have a php.ini, but I had php.ini.default instead. I opened that up, found mysql.default_socket = and changed it to
mysql.default_socket = /tmp/mysql.sock
and then I saved the file as php.ini in /etc
Then I restarted apache and it worked!
03-01-2006, 01:19 AM
Thanks. For some reason when I try to open the php.ini I created from php.ini.default in VIM it tells me it is a read-only file and that I can't edit it. This even when I used sudo as in sudo vim php.ini. Any thoughts on what I need to do to this php.ini file to make it work? Thanks.
03-01-2006, 03:39 AM
I dunno. Maybe enable your root account with netinfo manager and then login as root to edit the file?
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.