¡@

Home 

php Programming Glossary: nginx

How do I use Microsoft AD and php single sign on web app?

http://stackoverflow.com/questions/1003751/how-do-i-use-microsoft-ad-and-php-single-sign-on-web-app

originally posting this question we've changed setups to nginx and php fcgi still running on windows. Apache2 and php cgi on.. be needed it works with php fcgi but I would prefer a nginx solution. I also still don't understand and would love to be.. server agnostic solution. php active directory apache2 nginx single sign on share improve this question All you need..

Nginx - Customizing 404 page

http://stackoverflow.com/questions/1024199/nginx-customizing-404-page

input file specified. . How can I customize this page php nginx http status code 404 share improve this question You use.. this question You use the error_page property in the nginx config . I found this which shows how to do it. share improve..

Caching HTTP responses when they are dynamically created by PHP

http://stackoverflow.com/questions/10596116/caching-http-responses-when-they-are-dynamically-created-by-php

exactly what it's made for. Instead look at X accel for nginx X Sendfile for Lighttpd or mod_xsendfile for Apache. The initial..

Optimizing Kohana-based Websites for Speed and Scalability

http://stackoverflow.com/questions/1260134/optimizing-kohana-based-websites-for-speed-and-scalability

for static files with a lighter webserver like lighttpd or nginx this one is becoming more and more popular btw. Use several.. efficient that Apache I hear more and more often about nginx which is supposed to be great when it comes to PHP and high.. it on the net for instance PHP performance III Running nginx . See also PHP FPM FastCGI Process Manager which is bundled..

get_headers Inconsistency [closed]

http://stackoverflow.com/questions/12781795/get-headers-inconsistency

URL that does not exist Array 0 HTTP 1.1 200 OK 1 Server nginx 1.1.15 2 Date Mon 08 Oct 2012 12 29 13 GMT 3 Content Type text..

Reading mp4 files with PHP

http://stackoverflow.com/questions/15797762/reading-mp4-files-with-php

the web server. Apache with X Sendfile module or lightty nginx info here path 'file.mp4' header X Sendfile path die This is..

What is thread safe or non thread safe in PHP

http://stackoverflow.com/questions/1623914/what-is-thread-safe-or-non-thread-safe-in-php

a choice. If you are going to use other webservers such as nginx or lighttpd you won't have the option to embed PHP into them..

PayPal IPN on port other than 80

http://stackoverflow.com/questions/2838871/paypal-ipn-on-port-other-than-80

paypal ipn share improve this question If you have nginx server with possibility to access to it by ssh then you can.. yes R 3000 localhost 3000 username@your server.com Add nginx config to proxy a port 3000 on port 80 server listen 80 server_name..

Fastest Way to Serve a File Using PHP

http://stackoverflow.com/questions/3697748/fastest-way-to-serve-a-file-using-php

where the user has no control of the web server Apache nginx etc Here's what I've got so far File output path php class File.. by default lighttpd or need a specific configuration nginx . Apache Under apache if you use mod_php you need to install..

Apache rewrite - get original URL in PHP

http://stackoverflow.com/questions/5493075/apache-rewrite-get-original-url-in-php

rewrite get original URL in PHP I have a rewrite in nginx or Apache for this address http domain.com hello to a script.. but I only want hello Is this possible Thanx for help. Upd nginx cnf proxy_redirect off proxy_set_header Host host proxy_set_header..

Long Polling with PHP on Apache

http://stackoverflow.com/questions/9730857/long-polling-with-php-on-apache

inefficient for long polling. Using server's such as nginx and lighttpd handle these threads much better so in the library..

Nginx - Customizing 404 page

http://stackoverflow.com/questions/1024199/nginx-customizing-404-page

Customizing 404 page Nginx PHP on fastCGI works great for me.. Customizing 404 page Nginx PHP on fastCGI works great for me but when I enter a path to..

Is native PHP support for Web Sockets available?

http://stackoverflow.com/questions/12203443/is-native-php-support-for-web-sockets-available

how the WebSocket server runs. Normally PHP runs in Apache Nginx via FastCGI or on Microsoft ISS via Fast CGI . With Apache and.. connections such as WebSockets in mind. I'm not sure about Nginx. This is why most PHP WebSocket libraries will be built as standalone..

nginx + nodejs + php

http://stackoverflow.com/questions/13999069/nginx-nodejs-php

nginx reverse proxy share improve this question Nginx allows very flexible request routing. I will show you a way..

Break HTTP file uploading from server side by PHP or Apache

http://stackoverflow.com/questions/16167935/break-http-file-uploading-from-server-side-by-php-or-apache

there is no way. Related questions Can PHP with Apache or Nginx check HTTP header before POST request finished Can some tell..

Parsing and generating Microsoft Office 2007 files (.docx, .xlsx, .pptx)

http://stackoverflow.com/questions/173246/parsing-and-generating-microsoft-office-2007-files-docx-xlsx-pptx

if I must. We use Apache 2.2 but will be switching over to Nginx once it goes live. What are my options Anyone had experience..

How to password protect streaming videos with php

http://stackoverflow.com/questions/286270/how-to-password-protect-streaming-videos-with-php

a URL that will only be valid for a short time period. Nginx and possibly lighttpd allow you to cap the download speed so..

Nginx + PHP-FPM 502 Bad Gateway

http://stackoverflow.com/questions/3616191/nginx-php-fpm-502-bad-gateway

PHP FPM 502 Bad Gateway I am getting a 502 Bad Gateway from.. FPM 502 Bad Gateway I am getting a 502 Bad Gateway from Nginx on a line of PHP code that is working fine in other places of.. have worked fine before. This is the message I get in the Nginx error log for each 502 recv failed 104 Connection reset by peer..

Fastest Way to Serve a File Using PHP

http://stackoverflow.com/questions/3697748/fastest-way-to-serve-a-file-using-php

send file header but the X Sendfile name also work Nginx On Nginx you can't use the X Sendfile header you must use their.. file header but the X Sendfile name also work Nginx On Nginx you can't use the X Sendfile header you must use their own header..

Control access to files available for download

http://stackoverflow.com/questions/3858018/control-access-to-files-available-for-download

It is supported by Apache mod_xsendfile Lighttpd and Nginx. The request is first handled by a php process which put a special.. put a special header X Sendfile or X Accel Redirect for Nginx and when the script end the web server take over and send the..

php flush not working

http://stackoverflow.com/questions/4706525/php-flush-not-working

proxy and its settings. You should disable buffering for Nginx add proxy_buffering off to the config file and restart Nginx.. add proxy_buffering off to the config file and restart Nginx Also check if your php.ini contains output_buffering Off and..

PHP Flush that works… even in Nginx

http://stackoverflow.com/questions/4870697/php-flush-that-works-even-in-nginx

Flush that works&hellip even in Nginx Is it possible to echo each time the loop is executed For example.. found out Flush would not work under Apache's mod_gzip or Nginx's gzip because logically it is gzipping the content and to do..

Check Gmail IMAP via PHP for new mesages in a loop

http://stackoverflow.com/questions/4908209/check-gmail-imap-via-php-for-new-mesages-in-a-loop

of anything but to configure a cron job. I am running PHP Nginx on a Linux Ubuntu box. php gmail imap share improve this..