/opt/plesk/php/7.1/bin/php /usr/lib/plesk-9.0/composer.phar require api-platform/core ^2.0
Next follow thise instractions:
https://api-platform.com/docs/core/getting-started
Just run this command, adjust for your PLESK node version.
export PATH="/opt/plesk/node/7/bin/:/usr/local/bin:/usr/local/sbin:~/bin:$PATH"
As of MySQL 5.7.7, this is what the documentation recommends for Red Hat Enterprise Linux 7, Oracle Linux 7, CentOS 7, SUSE Linux Enterprise Server 12, Fedora 24 and 25:
https://dev.mysql.com/doc/refman/5.7/en/using-systemd.html
On Ubuntu 16.04 the service is called mysql, not mysqld, so this is what I did:
sudo mkdir /etc/systemd/system/mysql.service.d
sudo vi /etc/systemd/system/mysql.service.d/override.conf
Added this in the new file override.conf:
[Service]
LimitNOFILE=1024 4096
Then restarted the service:
sudo systemctl daemon-reload
sudo systemctl restart mysql
and test it with
cat /proc/$(pgrep mysql)/limits | grep files
First install DEV for the PHP you are using. In my case that would be PLESK PHP 7.1
apt-get install make gcc plesk-php71-dev
Next use PECL to install dbase extension.
/opt/plesk/php/7.1/bin/pecl install dbase-7.0.0beta1
If all goes good, you should see this:
Build process completed successfully
Installing '/opt/plesk/php/7.1/lib/php/modules/dbase.so'
install ok: channel://pecl.php.net/dbase-7.0.0beta1
configuration option "php_ini" is not set to php.ini location
You should add "extension=dbase.so" to php.ini
Last step is to register the extension:
echo "extension=dbase.so" > /opt/plesk/php/7.1/etc/php.d/dbase.ini
plesk bin php_handler --reread