А в dev-lang/php:5.3 флаг cgi включен?
Обновление apache и php
emerge -av apache
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
* IMPORTANT: 2 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.
These are the packages that would be merged, in order:
Calculating dependencies -Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads' -Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads' |Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'
Invalid '-' operator in non-incremental variable 'APACHE2_MODULES': '-threads'... done!
[ebuild R ] www-servers/apache-2.4.1-r2 USE="ssl threads -debug -doc -ldap (-selinux) -static -suexec" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status unique_id userdir usertrack version vhost_alias -cgi -cgid -proxy_scgi -reqtimeout -substitute" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
Would you like to merge these packages? [Yes/No]
[quote=Lupo Alberto]А в [i]dev-lang/php:5.3[/i] флаг [b]cgi[/b] включен?[/quote]
[ebuild R ] dev-lang/php-5.3.10-r2 USE="apache2 bcmath berkdb bzip2 cli crypt ctype curl exif fileinfo filter gd gdbm hash iconv ipv6 json mysql nls pdo phar posix readline session simplexml sockets ssl threads tokenizer truetype unicode xml xmlrpc zlib -calendar -cdb -cgi -cjk -curlwrappers -debug -doc -embed -enchant -firebird -flatfile -fpm (-frontbase) -ftp -gmp -imap -inifile -intl -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql -mysqli -mysqlnd -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sharedmem -snmp -soap -spell -sqlite -sqlite3 -suhosin (-sybase-ct) -sysvipc -tidy -wddx -xmlreader -xmlwriter -xpm -xsl -zip" 0 kB
Total: 1 package (1 reinstall), Size of downloads: 0 kB
[ebuild NS ] dev-lang/php-5.3.10 [5.4.1_rc1] USE="apache2 bcmath berkdb bzip2 cli crypt ctype curl exif fileinfo filter gd gdbm hash iconv ipv6 json mysql nls pdo phar posix readline session simplexml sockets ssl threads tokenizer truetype unicode xml xmlrpc zlib -calendar -cdb -cgi -cjk -curlwrappers -debug -doc -embed -enchant -firebird -flatfile -fpm (-frontbase) -ftp -gmp -imap -inifile -intl -iodbc -kerberos -kolab -ldap -ldap-sasl -libedit -mhash -mssql -mysqli -mysqlnd -oci8-instant-client -odbc -pcntl -pic -postgres -qdbm -recode -sharedmem -snmp -soap -spell -sqlite -sqlite3 -suhosin (-sybase-ct) -sysvipc -tidy -wddx -xmlreader -xmlwriter -xpm -xsl -zip" 11,441 kB
cgi флаг у тебя выключен, включи в /etc/portage/package.use
'APACHE2_MODULES': '-threads'
Так это же USE-флаг.
Наверное из-за
auth_digest: Username/password authentication using MD5 digests. изначально ошибка была
Тут смотри Apache2/APACHE2 MODULES
[quote="tyrnov"]'APACHE2_MODULES': '-threads'
Так это же USE-флаг.[/quote]
Это да уже исправил сначала не подумал просто
cgi флаг у тебя выключен, включи в /etc/portage/package.use
Уже пересобирается
Наверное из-за textauth_digest: Username/password authentication using MD5 digests.изначально ошибка была
Тут смотри Apache2/APACHE2 MODULES
auth_digest убрал
Так же ругается на строку с пользователем
/etc/init.d/apache2 start
* apache2 has detected an error in your setup:
AH00526: Syntax error on line 154 of /etc/apache2/httpd.conf:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration
* ERROR: apache2 failed to starteselect php list cgi
[1] php5.3 *
nixgame chipset # eselect php list apache
!!! Error: Please chose one of the following modules: cli apache2 fpm cgi
exitingeselect php list apache2
[1] php5.3 *
[2] php5.4
auth_digest убрал
Так наоборот его включить надо, в первом посте у тебя он выключен.
[quote="tyrnov"]auth_digest убрал
Так наоборот его включить надо, в первом посте у тебя он выключен.[/quote]
сейчас попробуем
ы. Все auth включи ... или по одному.
http://paste.pocoo.org/show/579969/ Так сделал
Startup errors:
Invalid command 'User', perhaps misspelled or defined by a module not included in the server configuration - load module mod_unixd
Invalid command 'Require', perhaps misspelled or defined by a module not included in the server configuration, or Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration - load module mod_access_compat, or update configuration to 2.4 authorization directives.
Ignoring deprecated use of DefaultType in line NN of /path/to/httpd.conf - remove DefaultType and replace with other configuration settings.
Errors serving requests:
configuration error: couldn't check user: /path - load module mod_authn_core.
Внизу смотри - http://httpd.apache.org/docs/2.4/upgrading.html
Да нашел, но туговато с английским. Патч чтоли какой то надо наложить?
tyrnov, установка тестовой версии apache обязательна? Возможно, проще остаться www-servers/apache-2.2.22.
Да нашел, но туговато с английским. Патч чтоли какой то надо наложить?
Там же написано про твою ошибку
load module mod_unixd - тебе нужно загрузить модуль mod_unixd
Вообще что касается веб-серверов, пхп итд, не советую ставить самое новое (особенно в продакшн), лучше -1 версия, выйдет следующая - тогда и обновляться, и то не факт, у меня в облуживании нигде бет нету, ядер 3-их вообще нет... :)
Кстати zabbix на nginx прекрасно работает.