If you're installing MySource Matrix with the Squiz Server on Red Hat Enterprise Linux, you may have noticed that the version of PHP that ships by default doesn't include a CLI version.
Here's a known-good PHP configure line for RHEL3 (or any other distro, for that matter), which creates a new version of PHP in /usr/local/php-cli specifically for the Squiz Server and other command-line PHP scripts.
'./configure' \ '--prefix=/usr/local/php-cli' \ '--enable-inline-optimization' \ '--with-xml' \ '--enable-bcmath' \ '--with-openssl' \ '--with-zlib=/usr' \ '--enable-wddx' \ '--enable-ftp' \ '--disable-cgi' \ '--enable-pcntl' \ '--enable-memory-limit' \ '--with-curl=/usr' \ '--with-gettext' \ '--enable-sockets' \ '--with-pspell=shared,/usr' \ '--with-pgsql=shared' \ '--enable-mbstring=all' \ '--with-pear' \ '--with-ldap'
Notes: You may need to replace
'--with-pgsql=shared'with
'--with-mysql=shared'if you are using MySQL instead of PostgreSQL.