Questions tagged as 'nginx'

1
answer

How do I switch between native version of php for a version installed by brew on maverick?

I've updated brew with php but when I use phpinfo() it's still in the php version of the system, such as toggling or to change?     
asked by 14.03.2014 / 06:31
0
answers

502 Bad Gateway - Linux, php7, nginx. How to solve this error?

I'm having a 502 error that represents some configuration on the server, when I try to open a site using linux, nginx, and php7. Searching for other POSTS , < a href="https://en.stackoverflow.com/questions/4372/how-do-not-in-new-model-in-the-ap...
asked by 06.07.2016 / 12:13
0
answers

Nignx boot error: ngx_master_520 the event was not signaled for 5s

I'm trying to set up an SSL certificate on my web server that uses Windows 2008 RC2 and Nginx. I always encounter an error in the log file and this causes Nginx not to run. The error is:    Error in initializing Nignx: ngx_master_520 the even...
asked by 25.10.2014 / 07:04
2
answers

Is there any alternative to PHP's mysql_connect command?

It was all working fine until apparently the installation of Nginx say that my command mysql_connect had the following problem:    Warning: mysql_connect () [function.mysql-connect]: Headers and client library minor version mismatch. H...
asked by 30.10.2014 / 16:53
1
answer

Run two services in the same domain on different ports

I need to configure an application that has two separate services running on port 80 and another on 8080, but on the same domain. I ask you if it is possible and how could you configure them that way? Example: meuunicodominio.com.br:80...
asked by 23.11.2015 / 06:55
2
answers

Nginx with SSL connection error

I created an SSL certificate to test on the server and configured it in Nginx as follows: # HTTPS server # server { listen 443; server_name kriaki.com.br; root /home/ubuntu/public_kriaki; index index.html index.htm; ssl o...
asked by 12.02.2014 / 19:27
1
answer

Friendly URL with Nginx

I would like your help because I did not get the expected result. I'm trying to create a friendly URL like below: Current URL: meusite.com.br/artista.php?id_artista=1 New URL: meusite.com.br/nome-do-artista Being that later I wil...
asked by 24.08.2015 / 14:16
0
answers

Laravel on Linux with NGINX. Error 500 in browser and Permission denied in log. An analysis and how to solve it in the best way possible?

I'm installing an application on Laravel 5.4 in a Linux Ubuntu 16.04 environment with NGINX. I have seen that a lot of people (just like me) always come across a 500 error in the browser, right after the installation is completed. The official...
asked by 12.03.2017 / 07:07
1
answer

ibm_db2 PHP7 Nginx

I'm having trouble starting the ibm_db2 extension on my server. It's a 16.04 Ubuntu Server, running PHP7.0 + Nginx I installed with pecl install ibm_db2 I added the roads in etc / php / 7.0 / fpm / php.ini extension=ibm_db...
asked by 09.11.2016 / 18:03
0
answers

Cache: How to use mod_headers

I have a Nginx server in a shared environment where it is not possible to enable max-age because it is part of mod_expires , which is only available in a dedicated environment. I was instructed by the support to use mod_head...
asked by 15.10.2015 / 05:24