PHP

Upgrading PHP to PHP7.0 in a CentOS server with Vesta CP

Latest VestaCP comes with PHP5.6 by default. In this article, we will see how to upgrade PHP to it’s latest version, i.e PHP7.0 First, we need to add the correct REMI repository and enable remi update, remi release and remi-php70 repository. Here’s how [code lang=shell] wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm yum –enablerepo=remi …

Upgrading PHP to PHP7.0 in a CentOS server with Vesta CP Read More »

Packaging thirdparty plugins with your WordPress theme using TGM Plugin Activation library

When you’re shipping your theme for sell, it’s often required to bundle the required plugins. Some people just keep these plugins like general vendor libraries inside their theme and load them using php’s require_once. However, if you’re following this style, your themes will fail to pass the theme check because these plugin files will be …

Packaging thirdparty plugins with your WordPress theme using TGM Plugin Activation library Read More »

[update] PHPStorm's upcoming subscription based licensing model and why you're fucked up

** I’ve added an update. Click here to read it ** JetBrains has sent me an email today, mentioning about the upcoming change in their licensing model. Right now all users can renew their license at $49 which is a 50% discount rate of the original rate. From this November 2nd, you will be able …

[update] PHPStorm's upcoming subscription based licensing model and why you're fucked up Read More »

Using OAuth2 to make authenticated calls to WP REST API

WP REST API is a cool solution for the developers who want to interact with their WordPress blogs programmatically. It’s handy and pretty useful. However, the documentation lacks some working examples which makes a lot of people confused. I’ve started to document some working examples at http://wpapi.xyz. The list is small, but it’s growing. Anyway, …

Using OAuth2 to make authenticated calls to WP REST API Read More »