ATENCION: Por motivos de seguridad, este mensaje ha sido alterado por el programa MIMEDefang del servidor mailhost.dyr.es. A continuacion se ofrecen indicaciones acerca de los cambios efectuados. Para mas informacion sobre nuestra politica de seguridad, contacte con Desarrollo y Recursos S.L. <[EMAIL PROTECTED]>. Para mas informacion sobre MIMEDefang, vea:
http://www.roaringpenguin.com/mimedefang/enduser.php3 Un fichero adjunto denominado php.ini fue eliminado de este mensaje, ya que el envio de este tipo de ficheros constituye una amenaza de seguridad. Si necesita este documento, por favor: contacte con el emisor del mensaje y concuerde con el algun metodo alternativo para recibirlo.
El jue, 14-04-2005 a las 20:31 +1000, Adam Conrad escribió: > DyR system manager said: > > > > Whenever I try to reload apache (or restart it gracefully, with > > apachectl graceful), and php4-pgsql is installed and enabled in php4 > > config, apache process kill all old childs, but fails in spawning new > > ones, rendering apache process unusable. > > A few questions: > > 1) Do you have php4-imap installed as well? > - Does removing it help? > - Does changing the order that pgsql.so and imap.so are > loaded in php.ini change anything? > Yes, I had php4-imap installed as well. I cannot test removing php4-imap from the system that couldn't restart apache gracefully, as that is a production system. However, I've installed the same configuration in another server, and here apache doesn't even start. If I disable php4-imap, apache starts and restarts ok. If I change the order between php4-imap and php4-pgsql loaded in php.ini, it also works. > 2) Does upgrading your system to all the latest and greatest (unstable) > of each package magically fix anything? > Our policy forbids us doing that... Unstable versions in production hosts... :-S > Regardless of the above answers, it would be nice if we could get a > minimal configuration (httpd.conf and php.ini) to reproduce this with. > I attach the problematic php.ini (without comments) and the associated httpd.conf (after removing all info particular for our server as IPs, virtual hosts, etc). > Thanks in advance, You are welcome. -- David Marín Carreño <[EMAIL PROTECTED]> Desarrollo y Recursos, S.L.
## ## httpd.conf -- Apache HTTP server configuration file ## # ServerType standalone LockFile /var/lock/apache.lock PidFile /var/run/apache.pid ScoreBoardFile /var/run/apache.scoreboard Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 100 LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so LoadModule status_module /usr/lib/apache/1.3/mod_status.so LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so LoadModule access_module /usr/lib/apache/1.3/mod_access.so LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so LoadModule headers_module /usr/lib/apache/1.3/mod_headers.so LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so LoadModule php4_module /usr/lib/apache/1.3/libphp4.so ExtendedStatus On (...) <IfModule mod_userdir.c> UserDir public_html </IfModule> <IfModule mod_dir.c> DirectoryIndex index.html index.phtml index.htm home.html home.htm home.php default.hmtl default.htm index.php index.shtml </IfModule> AccessFileName .htaccess <Files ~ "^\.ht"> Order allow,deny Deny from all </Files> UseCanonicalName On TypesConfig /etc/mime.types DefaultType text/plain <IfModule mod_mime_magic.c> MIMEMagicFile share/magic </IfModule> HostnameLookups Off ErrorLog /var/log/apache/error.log LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %v" full LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %P %T" debug LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common LogFormat "%{Referer}i -> %U" referer LogFormat "%{User-agent}i" agent LogFormat "%h %t %{extension-header}o" webmin LogFormat "%{Client-ip}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" proxy SetEnvIf Client-ip . client-ip-request CustomLog /var/log/apache/access.log combined env=!client-ip-request CustomLog /var/log/apache/access.log proxy env=client-ip-request ServerSignature On (...) <IfModule mod_negotiation.c> LanguagePriority en da nl et fr de el it ja pl pt pt-br ltz ca es sv </IfModule> # # AddType allows you to tweak mime.types without actually editing # it, or to make certain files to be certain types. # # For example, the PHP 3.x module (not part of the Apache # distribution - see http://www.php.net) will typically use: # AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps # # And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .inc AddType application/x-tar .tgz AddType image/bmp .bmp # hdml AddType text/x-hdml .hdml (...) AddDefaultCharset on ExpiresActive On ExpiresDefault "now plus 1 seconds" <FilesMatch "\.(php|phtml|htm*|js)$" > Header append Cache-Control "private" </FilesMatch> ExpiresByType image/gif A86400 ExpiresByType image/tiff A86400 ExpiresByType image/jpeg A86400 ExpiresByType image/bmp A86400 ExpiresByType image/png A86400 ExpiresByType audio/x-wav A86400 (.. HERE COMES THE VIRTUAL SERVER DEFINITIONS .) Include /etc/apache/conf.d/*.conf