Tag Info

New answers tagged

0

Is impossible to do that. If you whant a subdomian you need use subdomain.example.com If you dont have domains to testing, you need edit your hosts file: http://en.wikipedia.org/wiki/Hosts_%28file%29 And add entry like: 192.168.0.104 cloud.explample.com Or only cloud 192.168.0.104 cloud And then you can entry to cloud on your browser or ...


0

Convert self answered question to CW I solved it in php file image.php not in nginx. Solution was in headers i just followed this blog pages // Return the requested graphic file to the browser // or a 304 code to use the cached browser copy function displayGraphicFile ($graphicFileName, $fileType='jpeg') { $fileModTime = filemtime($graphicFileName); ...


1

Nothing. You can use any language to listen on any port and respond back within the rules of a protocol (in this case HTTP). There is nothing that says this is not possible with PHP. You could have it bind to sockets, or simply read and write to STDIN, STDOUT and be launched from xinet, or even work with another application such as apache or nginx which know ...


4

In a word, history. This is a very abbreviated summary of 15+ years of history (you can find out more on the Internet, if you are really interested): First, while PHP has all the features of a programming language, this wasn't always so. It started out as a "hypertext preprocessor" whose purpose was to be embedded in HTML pages and parsed by a CGI program ...


0

This is bug 56858 to be fixed in in the next release of 2.4.x (2.4.11?) Here's the patch: http://svn.apache.org/viewvc?view=revision&revision=1621602


1

Just check nginx & php-fpm running user. ps aux | grep nginx ps aux | grep php-fpm they should work with the same user (probably nginx as i see in your config) then check that user if it can read the file. su - nginx -c "cat /usr/share/nginx/html/phpinfo.php"


2

The first things I would try in this case is to double-check the permissions on the files you are trying to read, just in case a startup script caused them to be changed. "ls -l /var/www/" would let you see this, where /var/www/ is your web root. Then, try turning on error reporting in the php configuration to see if PHP reports any additional errors when ...


0

My solution to this error had two parts: (from @icc97's answer) -- double-click on php-cgi.exe in your PHP folder to make sure it can start up ok. Turns out that my index.php file was really named index.php.htm (turn off "hide file extension names")


1

I ran into the same issue on my Windows 2008R2 server. I followed two tips that seem to have made the difference. Use the 32-bit version of PHP even if your machine is 64-bit. It is much faster Enable Output Caching in IIS for PHP files. To do this: a) Go to IIS and select your server in the Connections pane on the left b) On the right, double-click on the ...



Top 50 recent answers are included