# Nginx ,php work error please help

**URL:** <https://discuss.aerospike.com/t/nginx-php-work-error-please-help/5347>\
**Category:** General Discussion\
**Created:** [July 18, 2018, 1:57pm UTC](https://discuss.aerospike.com/t/nginx-php-work-error-please-help/5347 "2018-07-18T13:57:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![1115](https://avatars.discourse-cdn.com/v4/letter/1/9f8e36/32.png) [@1115](https://discuss.aerospike.com/u/1115)\
**Post date:** [July 18, 2018, 1:57pm UTC](https://discuss.aerospike.com/t/nginx-php-work-error-please-help/5347/1 "2018-07-18T13:57:09Z")

</div>

Hello I am using Nginx-PHP-Aeropike.

At the current console, php has successfully connected to the aerospike.

However, when I try to access the aerospkie via nginx-php, ERROR 500 pops up.

I also copied the aerospike.ini file to the /etc/php/7.0/fpm/conf.d folder.

This aerospike.ini file is the same as the file in /etc/php/7.0/cli.

The problematic code is $ db = new Aerospike ($ config); seems like.

Know what information I can solve I want you to give it. please

Ubuntu 16.04 Nginx: 1.10.3 php: 7.0 aerospike-server-community: 4.2.0.4-1
