Running PHP WebService on shared host

I need to create a web service running on my shared linux host, and found this post, then this one. One thing they didn’t mention in post is that the XML_Serializer is in PEAR.

If you try to follow the wiki doc from dreamhost to install pear on shared host, watch out, there is a typo : PATH_SEPARATOR.

set_include_path( '.' . PATH_SEPARATOR . '/home/(youruser)/pear/php' . PATH_SEPARATOR . get_include_path() );
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s