Search Results

  1. Examples ¶ Example #1 php_sapi_name () example This example checks for the substring cgi because it may also be cgi-fcgi.

    • Getlastmod

      Gets the time of the last modification of the main script of...

    • Getrusage

      In a web environment where you have long running apache...

    • Getmygid

      getmygid (PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8) getmygid —...

    • Phpcredits

      This function prints out the credits listing the PHP...

    • Getmyinode

      getmyinode (PHP 4, PHP 5, PHP 7, PHP 8) getmyinode — Gets...

  2. Retourne une chaîne en minuscule qui décrit le type d'interface (l'API, SAPI serveur) que PHP utilise. Par exemple, en PHP CLI, cette chaîne sera "cli" tandis qu'avec Apache, elle pourra avoir plusieurs valeurs différentes suivant le SAPI exact utilisé. Les valeurs possibles sont listées ci-dessous.

  3. Returns a lowercase string that describes the type of interface (the Server API, SAPI) that PHP is using. For example, in CLI PHP this string will be "cli" whereas with Apache it may have several different values depending on the exact SAPI used. Possible values are listed below.

  4. php_sapi_name Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8 Returns the type of interface between web server and PHP

  5. Returns a lowercase string that describes the type of interface (the Server API, SAPI) that PHP is using. For example, in CLI PHP this string will be "cli" whereas with Apache it may have several different values depending on the exact SAPI used. Possible values are listed below.

  6. Retourne une chaîne en minuscule qui décrit le type d'interface (l'API, SAPI serveur) que PHP utilise. Par exemple, en PHP CLI, cette chaîne sera "cli" tandis qu'avec Apache, elle pourra avoir plusieurs valeurs différentes suivant le SAPI exact utilisé. Les valeurs possibles sont listées ci-dessous.

  7. People also ask

  8. Description php_sapi_name(): string|false Returns a lowercase string that describes the type of interface (the Server API, SAPI) that PHP is using. For example, in CLI PHP this string will be "cli" whereas with Apache it may have several different values depending on the exact SAPI used. Possible values are listed below.

  1. People also search for