# Gitify on Synology Nas working

**URL:** <https://community.modx.com/t/gitify-on-synology-nas-working/2002>\
**Category:** Getting Started\
**Created:** [December 12, 2019, 7:58pm UTC](https://community.modx.com/t/gitify-on-synology-nas-working/2002 "2019-12-12T19:58:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![singaii](https://community.modx.com/user_avatar/community.modx.com/singaii/32/319_2.png) [@singaii](https://community.modx.com/u/singaii)\
**Post date:** [December 12, 2019, 7:58pm UTC](https://community.modx.com/t/gitify-on-synology-nas-working/2002/1 "2019-12-12T19:58:10Z")

</div>

Just to share my succes on installing Gitify on a small Synology DS212 Nas  
nothing fancy , just for those who will be stuck with the weird php cli on synology

synology DSM interface use a trunkated php 5.6 without pdo pluggin installed.  
It’s this version of php you will get directly on ssh  
Very frustrating when you install php 7 on web station and get php 5.6 with `php -version`

First :  
.bash\_profile in home are not working  
you have to modify those line on /etc/profile file :

```auto
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin:/var/services/homes/your_user_name/Gitify
export PATH

```

I put gitify folder in my home so change path as you need

last step : depending on php version installed on dsm package you have to change php call in Gitify file.  
you can call webstation php version using symlink command :  
like typing `php73 -version` will give you :

```auto
PHP 7.3.7 (cli) (built: Aug 14 2019 16:28:56) ( NTS )Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.7, Copyright (c) 1998-2018 Zend Technologies

```

of course depending on php package you have installed  
those symlink are automatically created at package installation  
they are located in `/usr/local/bin/`  
mine is php 7.3 and symlink is php73

so open Gitify and change the first line

`#! /usr/bin/env php73`  
that’s it  
Gitify is now working
