Php version

after switching to php 5.0 in, when I entered php -version in a ssh session, it still show php 4.4.2?

Command line environment is different from webserver environment. If you created a test.php file with the following:

<?php echo phpversion(); echo "\n"; ?>

And visited test.php with your browser, you’ll see that it’s PHP5.


thank you,
btw, do you know if dreamhost supports php soap?

The servers support SOAP, but I’m not sure about PHP. Though you can always compile your own PHP with a SOAP config.