Php version


#1

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


#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.

-Scott


#3

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


#4

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

http://wiki.dreamhost.com/index.php/Special:Search?search=soap&go=Go

-Scott