Showing posts with label php gd curl SugarOS SugarCRM Drupal. Show all posts
Showing posts with label php gd curl SugarOS SugarCRM Drupal. Show all posts

Monday, January 07, 2008

PHP Note To Self

Things to install for PHP, Drupal, and SugarOS to be happy:

yum install curl-devel
yum install gd-devel
yum install gd-progs

and also because I got errors that ./configure couldn't find libgd because it's not in the same place as gd.h:
ln -s gd.h /usr/lib/gd.h

and the final ./configure line:
./configure --with-mysql --with-apxs2=/usr/sbin/apxs --lib-dir=/usr/lib --with-gd=/usr/lib --with-curl=/usr/bin/curl --enable-mbstring --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-freetype-dir=/usr/lib

make
make test
make install

good to go

addendum:
to get ldap to work with SugarOS, more than likely I need to install all these, if they aren't already installed:
openldap
openldap-clients
openldap-servers (this adds the file /etc/init.d/ldap)
openldap-devel

but I haven't tried it yet, so we'll see