fastCGI, php-fpm
Silvio Siefke <siefke_listen-S0/[email protected]> Sun, 13 Feb 2011 23:59:47 +0100
| Newsgroups | gmane.comp.web.fastcgi.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, i use the Apache2 (2.2.17) with FastCGI and PHP-FPM. My config at Moment for testing: LoadModule fastcgi_module libexec/apache22/mod_fastcgi.so AddHandler php5-fastcgi .php FastCGIExternalServer /usr/local/www/apache22/data -host 127.0.0.1:9000 AddType application/x-httpd-fastphp .php For virtuell Hosting i have not really something found. My Problem is, when i give the website www.site.com nothing happen, in log i have Error 404. When i give www.site.com/index.php then all is okay. I want use the CGI API, because i read with fastcgi i can use suexec. Maybe someone can open a Vhost and FastCGI Config. I found much examples but they all for Nginx. Is there something what i must do to fix the problem? Can someone help? Thank u. # httpd -M Loaded Modules: core_module (static) mpm_prefork_module (static) http_module (static) so_module (static) authn_file_module (shared) authn_anon_module (shared) authn_default_module (shared) authn_alias_module (shared) authz_host_module (shared) authz_groupfile_module (shared) authz_user_module (shared) authz_owner_module (shared) authz_default_module (shared) auth_basic_module (shared) file_cache_module (shared) cache_module (shared) disk_cache_module (shared) mem_cache_module (shared) reqtimeout_module (shared) include_module (shared) filter_module (shared) deflate_module (shared) log_config_module (shared) env_module (shared) mime_magic_module (shared) expires_module (shared) headers_module (shared) unique_id_module (shared) setenvif_module (shared) version_module (shared) ssl_module (shared) mime_module (shared) status_module (shared) asis_module (shared) suexec_module (shared) cgi_module (shared) cgid_module (shared) vhost_alias_module (shared) negotiation_module (shared) dir_module (shared) actions_module (shared) alias_module (shared) rewrite_module (shared) fastcgi_module (shared) Syntax OK Regards Silvio