Posts Tagged ‘Media Temple’

tsl

Enable Soap with PHP5 On Media Temple (dv)

By Head Lounger • February 26th, 2010 • Web Servers Tags: , ,

So here we go again with another Media Temple Update. I currently moved my development server to Media Temple (dv). Everything so far has been pretty smooth. I had a Magento Cart to set up and needed SOAP enabled. Low and behold, Soap was not enabled on the server.

Note: If you are uncertain if your server has SOAP enabled or not, create a phpinfo(); file. If you do not see Soap enabled, you will need to add it.

Step 1: Download PHP5 (I am using version 5.2.6, so replace to whatever version you have). List of previous PHP versions.

wget http://museum.php.net/php5/php-5.2.6.tar.gz

Step 2: Unpack the PHP file
tar -zxf php-5.2.6.tar.gz

Step 3: Configure PHP to enable SOAP.
cd php-5.2.6
./configure --enable-soap=shared

Step 4: Rebuild PHP (This takes some time).
make

Step 5: Now we just copy over the SOAP module to your existing PHP module directory.
cp modules/soap.so /usr/lib/php/modules/

Step 6: Add the new SOAP configuration to your existing configuration
echo "extension=soap.so" > /etc/php.d/soap.ini

Step 7: Restart Server
/etc/init.d/httpd restart

Step 8: Remove the PHP folder you just downloaded for this process.
rm -rf /home/php-5.2.6/

Check your PHPINFO file again. You should now see soap enabled.
Cheers!

Special Thanks to dotjay.co.uk for pointing this out.

 
tsl

Setting up Zend Optimizer on Media Temple (dv)

By Head Lounger • September 24th, 2009 • Web Servers Tags: , ,

So I recently had an upgrade on a client server from Media Temple. They had a gs account and was upgraded to a dedicated server. Sounds great? Well the first thing I ran into was that their admin no longer worked since it used Zend Optimizer for some of the plugins. Media Temple (dv) uses ion cube. Oh shit…
So I decided to list my steps for getting zend optimizer on a dv sever in case anyone else needed it.