CodeIgniter Forums
Error CodeIgniter + Doctrine Unable to load oauth.so - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Error CodeIgniter + Doctrine Unable to load oauth.so (/showthread.php?tid=33206)



Error CodeIgniter + Doctrine Unable to load oauth.so - El Forum - 08-18-2010

[eluser]Trankh1[/eluser]
Hi,

I tried to follow this get started tutorial about codeIgniter and Doctrine.






I want to use scaffolding ./doctrine command but i got this error:


Code:
Warning: PHP Startup: Unable to load dynamic library '/Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20050922/oauth.so' - (null) in Unknown on line 0
define('BASEPATH','.'); // mockup that this app was executed from ci ;)
chdir(dirname(__FILE__));
include('doctrine.php');


I have a snow leopard macosx and i use:
MAMP Version 1.7.2
PHP Version 5.2.6


Best regards.


When i phpinfo(), the oauth.so is not present whereas i have installed it .


Error CodeIgniter + Doctrine Unable to load oauth.so - El Forum - 08-18-2010

[eluser]Trankh1[/eluser]
After followed this howto
http://developerkarma.com/blog/andrew-m-riley/quick-and-dirty-pecl-mamp-os-x

, I got this error now:

Code:
Warning: PHP Startup: OAuth: Unable to initialize module
Module compiled with module API=20090626, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
define('BASEPATH','.'); // mockup that this app was executed from ci ;)
chdir(dirname(__FILE__));
include('doctrine.php');