I downloaded this CoolStack and was really impressed. This will definitively help new administrators in the Solaris community. I am really thankful all of the hard work.
I have a question:
I'm trying to install SugarCRM but it complains that PHP does not contain support for CURL, MBSTRINGS, LIBXML, IMAP, PHP-JSON, and ZLIB. Can I enable this support somewhere without having to re-compile PHP? I do not want to lose the optimization. This was the main reason for downloading beside the convenience of a stack.
Can there be more functions included in your compiled PHP?
What restrictions would preclude compiling PHP with more support?
Hey James-
I saw this posted in another topic here by ShantiS. I think it will answer your question:
You're right. PHP in Cool Stack does not include this library. It is obviously not possible to include all of the PHP libraries out there. What we've done is to include a 'config.sh' script in the source directory that tells you how we've built it and you can simply edit it to include whatever library you want. Download the library and run the script and you should have a good, optimized version for Solaris that meets your needs.
The 'config.sh' script resides in each source directory - please download the src tar file.
Thanks for info. It does help a lot. I'm just starting to compile software so it's confusing which process is best. I installed most of these packages from the Solaris CDs, but found they are older versions. So I looked at Blastwave, sunfreeware.com, tarballs directly from developers websites, then now these Cool Tools and all seem very laborious to get setup.
Maybe its just me, but this reminds me of the days the car manufacturers had two hundred vacuum lines on a carborator attempting to solve one problem.
I'm trying to setup SugarCRM and find I need Apache2, MySQL 4.14, PHP with five additional libraries and extensions. Perl has to be connected to Apache2 and PHP. All of there packages have own dependencies.
It seems without serious knowledge there is no way to have a clean system is there? From a new administrator point of view this is a total maze. I guess in time it will probably appear simple.
I have SugarCRM (open source) running on a Solaris 9 Box. Most of my services run on a T-2000 in zones, but I haven't migrated this app over yet.
Here is what I used to get it all running. I'm sure some of the flags that I used to compile can be better optimized, and I'll leave that to those that know better (I did this 3 years ago)
Here is my /.profile
ENV=/.kshrc
EDITOR=vi
PS1="`uname -n`# "
EXINIT='set showmode| set ignorecase'
SHELL=/bin/ksh
export ENV EDITOR PS1 EXINIT SHELL
LD_LIBRARY_PATH=/usr/local/lib:/lib:/usr/lib:/opt/sfw/lib:/usr/sfw/lib
PATH=.:/usr/local/ssl/bin:/usr/local/bin:/usr/local/sbin:/usr/local/share:/usr/sbin:/usr/bin:/usr/ccs/bin:/opt/sfw:/usr/sfw/bin
PHPRC=/usr/local/bin/php
CC="/usr/sfw/bin/gcc -m64"
export PATH
export PHPRC
export CC
export LD_LIBRARY_PATH
I have compiled the following, with the majority of the source code coming from sunfreeware.com. Much was just installed by running ./configure then "make" and then "make install". If the compile errors, be sure to run "make clean" before you try again.