# PHP Client & LDT installation

**URL:** <https://discuss.aerospike.com/t/php-client-ldt-installation/3096>\
**Category:** PHP Client Library\
**Created:** [June 27, 2016, 8:05am UTC](https://discuss.aerospike.com/t/php-client-ldt-installation/3096 "2016-06-27T08:05:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![francis6425](https://avatars.discourse-cdn.com/v4/letter/f/e5b9ba/32.png) [@francis6425](https://discuss.aerospike.com/u/francis6425)\
**Post date:** [June 27, 2016, 8:05am UTC](https://discuss.aerospike.com/t/php-client-ldt-installation/3096/1 "2016-06-27T08:05:24Z")

</div>

Hi,

I’m a noob trying to test aerospike. I’ve tried to follow the instructions to install the php client. But may I know if the php client should be installed as a root user or non root ? I’m able to install the php client only as root. Am I doing it correctly? But when it comes to using LDT,

require\_once ‘/root/vendor/aerospike/aerospike-client-php/autoload.php’;

I’m getting Permission denied error. I’ve tried chaning the owner of the all files and subfolder from /root/vendor/aerospike to www-data which nginx is running as but it just doesn’t help.

Can anyone give some advice.

Regards, Francis

---

<div class="post-metadata">

**Author:** ![Srikanth\_Reddy](https://avatars.discourse-cdn.com/v4/letter/s/bb73d2/32.png) [@Srikanth\_Reddy](https://discuss.aerospike.com/u/Srikanth_Reddy)\
**Post date:** [March 21, 2017, 7:59am UTC](https://discuss.aerospike.com/t/php-client-ldt-installation/3096/2 "2017-03-21T07:59:58Z")

</div>

Php client will be installed as PHP extension . You don’t need to include any files. By using Autoloading / namespaces you can simply create object for aerospike.
