PHP: Installed as CGI binary - Manual in Deutsh
PHP: Installed as CGI binary - Manual in French
PHP: Installed as CGI binary - Manual in Polish

You Are At PHP: Installed as CGI binary - Manual Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

Chapter 24. Installed as CGI binary

Table of Contents
Possible attacks
Case 1: only public files served
Case 2: using --enable-force-cgi-redirect
Case 3: setting doc_root or user_dir
Case 4: PHP parser outside of web tree

Possible attacks

Using PHP as a CGI binary is an option for setups that for some reason do not wish to integrate PHP as a module into server software (like Apache), or will use PHP with different kinds of CGI wrappers to create safe chroot and setuid environments for scripts. This setup usually involves installing executable PHP binary to the web server cgi-bin directory. CERT advisory CA-96.11 recommends against placing any interpreters into cgi-bin. Even if the PHP binary can be used as a standalone interpreter, PHP is designed to prevent the attacks this setup makes possible:

wizy do rosji, wizy do rosji gdańsk, końcówki kolekcji, wiza do rosji, ośrodek leczenia uzależnień, wizy do rosji gdańsk, hurtownia odzieży, projekty domów drewnianych
koszulki z logo personal loans zabawki dla dzieci link lustra wrocław

Another Useful functions:


security.cgi-bin.shell | security.cgi-bin | security.cgi-bin.force-redirect | security.cgi-bin.doc-root | security.cgi-bin.default | |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.