There was a problem loading the comments.

Is PHP a CGI or Apache module?

Support Portal  »  Knowledgebase  »  Viewing Article

PHP runs as a CGI at Eco Web Hosting. This is because it is more secure than running it as an Apache module (if it runs as an Apache module PHP runs as the same user with the same rights as Apache).

This means that php_value directives in .htaccess files will not work - however, we do allow local user.ini files - these are plain text files that allow php.ini directives to control PHP for scripts in the directory where the file is placed and its subdirectories.

Additionally, .htaccess directives such as AddHandler .php x-httpd-php will break your PHP scripts.

Share via
Did you find this article useful?  

Related Articles

© Eco Web Hosting