{"id":1028,"date":"2017-06-25T12:45:41","date_gmt":"2017-06-25T17:45:41","guid":{"rendered":"http:\/\/xfloyd.net\/blog\/?p=1028"},"modified":"2018-01-03T22:42:32","modified_gmt":"2018-01-04T03:42:32","slug":"adding-dbase-so-to-php7","status":"publish","type":"post","link":"http:\/\/xfloyd.net\/blog\/?p=1028","title":{"rendered":"Adding dbase.so to php7.x in PLESK"},"content":{"rendered":"<p>First install DEV for the PHP you are using. In my case that would be PLESK PHP 7.1<\/p>\n<pre><code >apt-get install make gcc plesk-php71-dev<br \/>\n<\/code><\/pre>\n<p>Next use PECL to install dbase extension.<\/p>\n<pre><code >\/opt\/plesk\/php\/7.1\/bin\/pecl install dbase-7.0.0beta1<br \/>\n<\/code><\/pre>\n<p>If all goes good, you should see this:<\/p>\n<pre><code >Build process completed successfully<br \/>\nInstalling '\/opt\/plesk\/php\/7.1\/lib\/php\/modules\/dbase.so'<br \/>\ninstall ok: channel:\/\/pecl.php.net\/dbase-7.0.0beta1<br \/>\nconfiguration option \"php_ini\" is not set to php.ini location<br \/>\nYou should add \"extension=dbase.so\" to php.ini<br \/>\n<\/code><\/pre>\n<p>Last step is to register the extension:<\/p>\n<pre><code ><br \/>\necho \"extension=dbase.so\" > \/opt\/plesk\/php\/7.1\/etc\/php.d\/dbase.ini<\/p>\n<p>plesk bin php_handler --reread<br \/>\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>First install DEV for the PHP you are using. In my case that would be PLESK PHP 7.1 Next use PECL to install dbase extension. If all goes good, you should see this: Last step is to register the extension:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,7],"tags":[],"_links":{"self":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1028"}],"collection":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1028"}],"version-history":[{"count":8,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1028\/revisions"}],"predecessor-version":[{"id":1068,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1028\/revisions\/1068"}],"wp:attachment":[{"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1028"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xfloyd.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}