|
PHPOAuthSupport
IntroductionWith the release of v1.0.3, the psYiiExtensions library supports the PHP oauth library. In order to utilize this you must first install the library and enable it. This mini-guide will explain how to do it. DetailsI'm not certain about Windows, but I'm sure it's similar. In a nutshell, here's what you need to do: 1. Obtain the oauth library from the above repository. If you do not have root access to your machine, speak with your network administrator and/or hosting provider to see if they can install the library for you. I installed it with pecl like this: # pecl install oauth 2. Add the following line to your php.ini file: extensions=oauth.so 3. Restart your web server TestingIf you try and create a CPSTwitterApi object, if oauth is not installed properly it will throw an exception. If you need help, let me know. |
tes
I am unable to enable the oauth.so library, i added the line extensions=oauth.so in my php.in file, but it does not appear to be enabled as it is not in the phpinfo file. Can you please help. I am using Mac OS 10.5