New answers tagged php
Add index index.php to your location / block, or nginx won't know that you're trying to display index.php by default. The fastcgi_index option is of no help since it is only considered if the URI ends in .php...
Method 1: I don't like simply because in 2 seconds of thinking about it those comments are essentially correct. You're creating a surface that exposes your /etc/shadow file, whether it's exploitable or not, I simply don't like that having to do that. Method 2: is also bad. Encoding passwords in a file is just dumb. Passing them through a pipe seems equally ...
Are you sure have installed the following packages? re2c and libreadline-dev So you need to add a symbolic link inside ext/readline directory to sapi directory ln -s ../../sapi Then try to compile readline again.
Remove existing PHP and then re-install PHP version of choice as below: apt-get install pkg_name=version Also, You can list available version as : apt-cache showpkg pkg_name
Top 50 recent answers are included