BitNami MAPPStack 1.2-3

 
Thread Tools Search this Thread
Operating Systems OS X (Apple) OS X OpenSource RSS BitNami MAPPStack 1.2-3
# 1  
Old 10-26-2010
CPU & Memory BitNami MAPPStack 1.2-3

ImageAbout BitNami MAPPStack
Allows users to have a complete PHP web development environment up and running in just minutes. BitNami MAPPStack is licensed under the terms of the Apache License 2.0, and is free for download and use. It allows users to take advantage of the stability, low cost and high performance of the Apache, PostgreSQL, and PHP web development platform, without the hassle of integrating, configuring, and supporting their own build. BitNami MAPPStack provides an integrated package that can be used by both commercial and open source projects for rapid, consistent deployments in both development and production environments.

More from Apple...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
PHP_SAPI_NAME(3)							 1							  PHP_SAPI_NAME(3)

php_sapi_name - Returns the type of interface between web server and PHP

SYNOPSIS
string php_sapi_name (void ) DESCRIPTION
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. RETURN VALUES
Returns the interface type, as a lowercase string. Although not exhaustive, the possible return values include aolserver, apache, apache2filter, apache2handler, caudium, cgi (until PHP 5.3), cgi-fcgi, cli, cli-server, continuity, embed, fpm-fcgi, isapi, litespeed, milter, nsapi, phttpd, pi3web, roxen, thttpd, tux, and web- james. EXAMPLES
Example #1 php_sapi_name(3) example This example checks for the substring cgi because it may also be cgi-fcgi. <?php $sapi_type = php_sapi_name(); if (substr($sapi_type, 0, 3) == 'cgi') { echo "You are using CGI PHP "; } else { echo "You are not using CGI PHP "; } ?> NOTES
Note An alternative approach The PHP constant PHP_SAPI has the same value as php_sapi_name(3). Tip A potential gotcha The defined SAPI may not be obvious, because for example instead of apache it may be defined as apache2handler or apache2filter. SEE ALSO
PHP_SAPI. PHP Documentation Group PHP_SAPI_NAME(3)