Skip to content

Instantly share code, notes, and snippets.

View SvenAlHamad's full-sized avatar

Sven SvenAlHamad

View GitHub Profile
@SvenAlHamad
SvenAlHamad / Webiny CMS - Form Builder Update
Created December 5, 2019 08:00
Steps to add Webiny Form Builder to your Webiny CMS
In order to add the Form Builder app to an existing Webiny installation, simply add the following section into your `api/serverless.yml` file:
```yaml
formBuilder:
component: "@webiny/serverless-form-builder"
inputs:
name: "Form Builder"
region: ${vars.region}
files: ${files}
i18n: ${i18n}
@SvenAlHamad
SvenAlHamad / xdebug-install-php7
Created February 6, 2016 21:56 — forked from kamilZ/xdebug-install-php7
Install xdebug from sources php7.0
sudo apt-get install php7.0-dev
wget http://xdebug.org/files/xdebug-2.4.0rc2.tgz
tar -xzf xdebug-2.4.0rc2.tgz
cd xdebug-2.4.0RC2/
phpize
./configure --enable-xdebug
make
sudo cp modules/xdebug.so /usr/lib/.
#FOR FPM
sudo echo 'zend_extension="/usr/lib/xdebug.so"' > /etc/php/7.0/fpm/conf.d/20-xdebug.ini
#user
user www-data www-data;
# This number should be, at maximum, the number of CPU cores on your system.
# (since nginx doesn't benefit from more than one worker per CPU.)
worker_processes 1;
#pid
pid /var/run/nginx.pid;