Posted By

peterbelsky on 09/29/10


Tagged


Versions (?)

Enable SOAP on Media Temple DV server


 / Published in: Other
 

  1. # Navigate to a relatively unimportant directory. I chose /home/
  2. cd /home/
  3.  
  4. # Download PHP (http://www.php.net/releases/)
  5. wget http://museum.php.net/php5/php-5.2.6.tar.gz
  6.  
  7. # Unpack the PHP file
  8. tar -zxf php-5.2.6.tar.gz
  9.  
  10. # Configure the new PHP to enable SOAP (will take a few minutes) (before enable is two dashes)
  11. cd php-5.2.6
  12. ./configure --enable-soap=shared
  13.  
  14. # Rebuild PHP (this will also take a while)
  15. make
  16.  
  17. # Copy just the SOAP module into your existing installation of PHP
  18. cp modules/soap.so /usr/lib/php/modules/
  19.  
  20. # Add the new SOAP configuration to your existing configuration
  21. echo "extension=soap.so" > /etc/php.d/soap.ini
  22.  
  23. # Restart Apache
  24. /etc/init.d/httpd restart
  25.  
  26. # Optional: You can now delete /home/php-5.2.6/ if you’d like, as you won’t need it any longer.
  27. rm -rf /home/php-5.2.6/
  28.  
  29. # Check phpinfo() to confirm that SOAP is now enabled.

Report this snippet  

You need to login to post a comment.