Questions tagged [winginx]
Winginx is a local web-server specially for nginx users, it also serves PHP5, MySQL, MongoDB, NodeJS developers.
47
questions
0
votes
1
answer
286
views
how to add another version of php in winginx
The current Winginx build in available php are php5.6 (port 9056) and php7.1 (port 9071)
How to add another extra version of php beside the build in one ?
I want to add php7.3 (port 9073) and php7.4 ...
2
votes
1
answer
2k
views
Curl Timeout in PHP (Works fine in CLI)
I'm experiencing an issue where I'm running two websites locally on my Windows machine (a.ryan and b.ryan). The issue I'm experiencing does not happen on the live environment (running CentOS7). A ...
1
vote
1
answer
188
views
How to add composer to winginx?
How to add composer to winginx on windows 10? when i try to load install for composer from winginx php71 folder it does throw an error PHP Warning: Module 'zip' already loaded in Unknown on line 0
...
6
votes
2
answers
8k
views
How can I redirect non-www to www in https NGINX
I have a question related with Nginx redirects
Bellow you can see configurations.
My goal is to redirect from https://example.com to https://www.example.com
I looked through almost all in ...
1
vote
0
answers
32
views
Memcached automatically stops in the winginx panel
I just simply installed winginx on my windows 10 and memcached couldn't start(Stopped at wingginx panel) , i didn't change anything how do i fix that
1
vote
1
answer
61
views
NGINX resolving a non configured domain, why?
I have one server running on: http://localhost:8080
I'm configuring a sample NGINX server.
I copied from internet the following configuration:
# user nobody;
worker_processes 1;
error_log logs/...
0
votes
0
answers
157
views
Winginx stopped working on Windows 10
Tried to open Winginx and got an error that it stopped working (image). I'm using Windows 10
Winginx stopped working Windows error
Windows error reporting in event viewer shows this error (...
0
votes
1
answer
194
views
Winginx not working on server 2012
After winginx installing the on server 2012. Following errors
mysqld.exe:
mysqld.exe has stopped:
php-cgi.exe system error:
0
votes
0
answers
72
views
How to conncect Oracle with PHP under Winginx?
I want to use PHP to connect to Oracle, but get an error:
Fatal error: Call to undefined function oci_connect()...
I searched in Google, and get that the OCI is not enabled in PHP, but after ...
0
votes
1
answer
445
views
winginx server software, latest version (0.6.3.1), wont start
been a while.
I've noticed there's been an update on Winginx server software, so i downloaded latest version last day and re-installed. Everything was fine after the install, started right after ...
5
votes
0
answers
874
views
Adding a prefix to the location in nginx
I want to add a location with a prefix so that my app works similar to the one without slash,
eg:
server_name mydomain.com
location /{
proxy_pass http://127.0.0.1:8000;
}
with the above config, ...
1
vote
0
answers
61
views
How to configure Zend Framework project which contains different modules in winginx server
Can any one show how to configure zend framework project in winginx using virtual host? I tried this, but running some issues when I go through the different modules. My server block looks like this:
...
1
vote
0
answers
346
views
Want to load same name file from Folder nginx server
I am new to nginx server. I want to load same name file from folder. Suppose:
I have file system as:
folder/xyz/xyz.html
I am want to access xyz.html file using this url: http://localhost:84/xyz ...
1
vote
2
answers
654
views
How to upload files to gridfs lua module through nginx server, And which module should i use
I am trying to use nginx for serving static contents(images/css etc.)
I need to span up multiple instances of nginx to support as per the incoming load.
So i am looking for Mongo+gridfs solution to ...
0
votes
1
answer
819
views
NGINX url rewrite - remove /web/guest/
I need to remove /web/guest/ from all urls on a portal via nginx.
Currently urls looks like this:
www.mywebsite.com/en/web/guest/blog-information
www.mywebsite.com/en/web/guest/something-else/...
2
votes
1
answer
2k
views
nginx with iis server, load balancing
**NGINX LOad Balancing**
Am trying to load balance my servers hosted in IIS using nginx. If i shut down one of the app pool, nginx should stop sending requests to that server. But what I am seeing ...
2
votes
1
answer
16k
views
How to configure NGINX server which download any files in derectory
I am trying to configure NGINX server on Linux which downloads any files from the directory.
But the problem I am facing is when the file is a text file or the file name contains any special ...
1
vote
1
answer
567
views
Windows Nginx Inuput File not specified error
PROBLEM: Problem i am facing is when I open localhost/phpmyadmin it gives me "No Input file Specified"
I am trying to configure Nginx and php on Windows.
Nginx installed path is E:\server\nginx
php ...
1
vote
1
answer
1k
views
How to convert .htaccess to a nginx equivalent?
How to convert .htaccess configuration to nginx?
My .htacess:
Options -MultiViews
RewriteEngine On
RewriteBase /mvc/public
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
...
3
votes
2
answers
11k
views
Unable to map upstream with folder in nginx server
I want to map our system port 82 with 127.0.0.1:8080/runningSite and I am gettting exception with nginx config.
upstream dev {
server 127.0.0.1:8080/runningSite;
}
server {
rewrite_log on;
...
1
vote
1
answer
966
views
Static content is not loading with sub url with Nginx Server Try files
I have new to Nginx server. I have site with url and I am using try_file with Ngnix server configuration. These are some url:
http://localhost:81/test-url
http://localhost:81/test-url/abc
If am try ...
2
votes
1
answer
2k
views
How to add postfix url with proxy_pass nginx server
I am new to nginx server. I have want to send my request of
http://localhost:81/app/get/all
to
http://localhost:9000/abc/get/all
I have using location regex. But it not working can any one help ...
1
vote
0
answers
2k
views
Access denied to Nginx folder with folders and files not being created
I use Nginx at my company and am new at it.
I'm just wondering if anyone had issues where the Nginx did NOT have enough privileges on Windows 10 NOT Ubuntu, but Windows 10, to create files and ...
1
vote
1
answer
1k
views
Winginx Faild to start on Windows 10
I just installed Winginx on fresh Windows 10 and nginx never start.
In log I have found:
CreateFile() "C:\Winginx/temp/nginx.pid" failed (2: The system cannot find the file specified)
Has anyone ...
1
vote
1
answer
4k
views
Adaptive bit rate streaming not working in nginx-vod-module in NGINX server
I have installed Nginx and configured VOD for adaprive streaming using nginx-vod-module. While requesting the master.m3u8 file I'm getting same ts files served for different network bandwidth.
The ...
2
votes
0
answers
2k
views
nginx's php-cgi closing/crashing due to ajax calls
I have just set up nginx on my website and when ever visitors are visiting the php-cgi.exe and the website is becoming very slow, and I am unsure if it is loading at all. nginx.exe is still running as ...
2
votes
0
answers
884
views
How to write nginx config file to allow 3 languages switching.
From this example, it explains the way to write nginx config to switch the language between DE and EN. using Modx as CMS. However, I have 3 languages which are EN/DA/TH. Please guide me to the right ...
1
vote
1
answer
588
views
502 bad gateway in winginx+nginx
I have joomla 3.x installation along with few custom component and modules. admin part is working very well but on front side I receive 502 bad gateway error. I check the error log and found the ...
0
votes
1
answer
206
views
How can i add hsts for a mixed website with http and https?
Webserver using is nginx
Suppose i have a website http://www.test.com. and then there is https://test.com?market.
Iam redirecting all https to 301 http for test.com
Suppose i want to enable https ...
1
vote
1
answer
274
views
Nginx Rewrite and FastCGI - Php files get downloaded
I've added this block of directives to my Nginx installation
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
# NOTE: You should have "cgi.fix_pathinfo = ...
1
vote
1
answer
268
views
How to quick launch server with winginx?
Im searching a way to start server with a bat file or by adding a prefix to a shortcut to launch a winginx program with a specific project and specific services (php, nginx, mysql)
ps: i dont need ...
-1
votes
1
answer
523
views
Can winginx be trusted?
I recently installed winginx, because I wanted to try it out as an alternative to XAMPP.
I pressed yes on every confirmation for the software to "make chances to my computer", so that it could change ...
0
votes
1
answer
220
views
Error creating new project in Winginx (Hm stops working) - Windows 8.1 64-bit
I installed Winginx in Windows 8.1 64-bit, the server operates normally, but can not create a new project:
When i try to create a new project, after entering all the information and click create, i ...
1
vote
5
answers
3k
views
How to use PHP 5.6 in Winginx
I would like to use php 5.6 with Winginx.
I tried to create a folder php56 and put the php package into it, but the php-config.exe will not "see" this folder.
How can I configure this php version in ...
0
votes
1
answer
663
views
Upgrade MySQL to 5.5 or above
I am trying to upgrade MySQL to 5.5 or above but having problems as mysqld in not in mysql/bin and after upgrading it cant find the right file locations.
-2
votes
1
answer
514
views
Deploy php project on localhost
I'm trying to deploy php project on localhost using Winginx
Now poking around this php code
public static function compareIP( $ip, $mask )
{
$arr1 = ( ".", $ip );
$arr2 = ( ".", $mask );
...
1
vote
1
answer
2k
views
<Nginx> How to setup Multi dynamic virtual hosts + www + subdomain
There are some questions about nginx virtual hosts and subdomain configuration,
but it can't achieve.
I hava 3 domain and an IP address(Multi-Site)
www.a1.com
www.a2.com
www.a3.com
I want to use a ...
-2
votes
2
answers
2k
views
Winginx 504 Gateway Time-out
I have downloaded and installed winginx server on my windows platform and everything is working fine accept when I try to import a database dump using phpadmin I get this error message:
"504 Gateway ...
0
votes
1
answer
483
views
How to enable mod_rewrite in winginx server
I've installed winginx server in my windows xp system, I've created a wordpress site, which works perfectly fine, but the main issue is wordpress permalinks are not working.
I've browsed various ...
0
votes
2
answers
4k
views
How to create different vhosts on nginx? (WINDOWS)
So far I'm using this configuration for a server block
server {
listen 80;
server_name mydomain.com;
root /D:/www;
}
But it's giving me this error
403 Forbidden
nginx/1.5.12
Apparently it'...
0
votes
2
answers
1k
views
memcached not working on winginx
I am planning to try out memcached with winginx on windows 7. I have the following configuration currently:
location / {
root home/$host/public_html/static;
try_files ...
0
votes
1
answer
404
views
stuck on nginx location directive
I am working on windows and using Winginx, modifying the nginx.conf file under conf folder. I have changed up the server block listening to port as follows:
server{
listen 127.0.0.1:80;
...
0
votes
2
answers
580
views
How to access /cygdrive/c in nginx?
I am trying with Nginx under windows; it requires the file located in the /cygdrive/c.
If I installed cygwin, then everything is file. I am wondering if I can use Nginx without cygwin? How to specify ...
1
vote
1
answer
550
views
Winginx NPM Global packages folder
I am beginner on node.js. Actually my intention are setup portable environment for development node.js on windows. Wingnix are good candidates since it include nginx, mysql, and php.
I install the ...
2
votes
1
answer
9k
views
location rewrite for multiple domains
I am working on multiple projects so I have multiple domains :
1. domain1
2. domani2
how to rewrite for example
domain1/user to domain1/?page=user,
domain2/user to domain2/clientArea/userMain
...
0
votes
2
answers
649
views
Installing PEAR + PHPUnit under WINGINX
I need PHPUnit and according to their GitHub page I need to use PEAR to install it.
Problem is, PEAR is not installed by default on WINGINX nor does my PHP folder have a go-pear.bat file as mentioned ...
0
votes
1
answer
1k
views
Where to place NGINX host configuration file?
I've used WINGINX to install NGINX, PHP-FPM, MySQL, MongoDB, NodeJS and MemcacheD on my Windows machine.
In the Yii Framework documentation I've found the following host configuration code:
server {
...