On 6/4/14 8:10 , Michel Jansens via smartos-discuss wrote: > Hi, > > On smartos image standard64 14.1.0 (running on kernel > joyent_20131003T221245Z ) I get errors when I try to activate php extensions. > > Trying to add extension=curl.so in php.ini I get the following error: > PHP Warning: PHP Startup: Unable to load dynamic library > '/opt/local/lib/php/20130620/curl.so' - ld.so.1: httpd: fatal: relocation > error: file /opt/local/lib/php/20130620/curl.so: symbol executor_globals: > referenced symbol not found in Unknown on line 0 > > If I try to add extension=bcmath.so, I get the weird message: > > PHP Warning: PHP Startup: bcmath: Unable to initialize module\nModule > compiled with build ID=API20121212,NTS\nPHP compiled with build > ID=API20121212,TS\nThese options need to match\n in Unknown on line 0 > > I can reproduce this with a base64 13.4.2 and install apache-2.4.7, > ap24-php55-5.5.7 and php55-extensions-5.5.7 > > Going back to apache 2.2, things works as it should.
Hi Michel, For your second issue, it looks like the issue is https://github.com/joyent/pkgsrc/issues/198. It could very well be that this is also the case with the first one, I'm not familiar enough with PHP to say. Please follow https://github.com/joyent/pkgsrc/issues/198 for updates to the ticket and thanks for letting us know about this. Robert ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
