I installed (FTP) a Symfony (php5 framework) app on my dreamhost DreamHost account.
But I have 500 errors on each page that need to do some database accesses.
My mysql database is ok (I made a small database access php script to test that).
I was wondering if I have to install pear (using ssh for my account)
when I read this article (seen on the DreamHost wiki) :
So I tried to.
But, it bugs on step…2 of the article ($ pear install -o PEAR). I get this error messages :
"[crush]$ pear install -o PEAR
Did not download optional dependencies: pear/XML_RPC, use --alldeps to download automatically pear/PEAR can optionally use package “pear/XML_RPC” (version >= 1.4.0)
downloading PEAR-1.6.1.tgz …
Could not download from “http://pear.php.net/get/PEAR-1.6.1.tgz”, cannot
download “pear/PEAR” (could not open /tmp/pear/cache/PEAR-1.6.1.tgz for writing)
Error: cannot download "pear/PEAR"
downloading Archive_Tar-1.3.2.tgz …
Could not download from “http://pear.php.net/get/Archive_Tar-1.3.2.tgz”, cannot download “pear/Archive_Tar” (could not open /tmp/pear/cache/
Archive_Tar-1.3.2.tgz for writing)
Error: cannot download "pear/Archive_Tar"
downloading Structures_Graph-1.0.2.tgz …
Could not download from “http://pear.php.net/get/Structures_Graph-
1.0.2.tgz”, cannot download “pear/Structures_Graph” (could not open /tmp/
pear/cache/Structures_Graph-1.0.2.tgz for writing)
Error: cannot download “pear/Structures_Graph"
downloading Console_Getopt-1.2.3.tgz …
Could not download from “http://pear.php.net/get/Console_Getopt-
1.2.3.tgz”, cannot download “pear/Console_Getopt” (could not open /tmp/
pear/cache/Console_Getopt-1.2.3.tgz for writing)
Error: cannot download “pear/Console_Getopt”
I tried the step I B 3 (from the same article) command ($ which pear, that is supposed to answer /home/naudjf/pear/pear.). But it displays:
Well, I don’t know what else to do. This pear thing is the only thing I am thinking about…