Intalling Symfony

Hi All. I am trying to install symfony. I am running into a problem with the pear installer not knowing where php5 is located. I know the path to php5 on dreamhost machines is /usr/loca/php5/bin/php, but I don’t know how to tell the pear installer this. Any one know how I can tell the symfony pear installer the path to php5?

Thanks a ton.

Make sure you’re using the right pear: /usr/local/php5/bin/pear

PEAR installs with PHP5. If it’s not recongizing the right PHP version, it means you’re using the wrong PEAR version.

Could you post your print out of ‘pear config-show?’ That would help a lot.


… Take the long route? I can post the config of the right pear, but like I said, you’re using the wrong pear. There’s two versions on the server: /usr/local/bin/pear and /usr/local/php5/bin/pear

/usr/local/bin is in your path, but php5 isn’t. So when you type ‘pear’ you always get /usr/local/bin/pear (You can verify this by typing “which pear”). In order to use the right version, you have you type: /usr/local/php5/bin/pear or put /usr/local/php5/bin in your path before /usr/local/bin: export PATH=/usr/local/php5/bin:$PATH


PEAR executables directory bin_dir /usr/local/php5/bin
PEAR documentation directory doc_dir /usr/local/php5/lib/php/doc
PHP extension directory ext_dir /usr/local/php5/lib/php/extensions/no-debug-non-zts-20041030
PEAR directory php_dir /usr/local/php5/lib/php
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /usr/local/php5/lib/php/data
PHP CLI/CGI binary php_bin /usr/local/php5/bin/php
PEAR test directory test_dir /usr/local/php5/lib/php/test
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state stable
Unix file mask umask 22
Debug Log Level verbose 1
HTTP Proxy Server Address http_proxy
PEAR server master_server
PEAR password (for password
Signature Handling Program sig_bin /usr/bin/gpg
Signature Key Directory sig_keydir /usr/local/php5/etc/pearkeys
Signature Key Id sig_keyid
Package Signature Type sig_type gpg
PEAR username (for username