Dnia 2007-08-21, o godz. 06:09:48 Thufir <[EMAIL PROTECTED]> napisaĆ(a):
> On Fri, 17 Aug 2007 12:58:16 +0200, Hans-Werner Hilse wrote: > > > Did you read my earlier post? > > > > rewrite that line to APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5" and restart > > apache. > > > Pardon, I may have been distracted, but I think I changed that entry > several times. I tried a couple variations, and restarted apache and for > good measure mysql. The above variation still shows text files for .php > files. > > Does the error log shed any light? Here's the tail: > > localhost ~ # > localhost ~ # /etc/init.d/apache2 restart ; /etc/init.d/mysql restart > * Stopping > apache2 ... [ ok ] > * Starting > apache2 ... [ ok ] > * Stopping mysql ... > * Stopping mysqld > (0) [ ok ] > * Starting mysql ... > * Starting mysql (/etc/mysql/ > my.cnf) [ ok ] > localhost ~ # > localhost ~ # > localhost ~ # > localhost ~ # tail /var/log/apache2/error_log > [Mon Aug 20 22:59:12 2007] [notice] caught SIGTERM, shutting down > [Mon Aug 20 22:59:12 2007] [notice] suEXEC mechanism enabled (wrapper: / > usr/sbin/suexec2) > [Mon Aug 20 22:59:12 2007] [notice] Digest: generating secret for digest > authentication ... > [Mon Aug 20 22:59:12 2007] [notice] Digest: done > [Mon Aug 20 22:59:12 2007] [notice] Apache configured -- resuming normal > operations > [Mon Aug 20 23:06:33 2007] [notice] caught SIGTERM, shutting down > [Mon Aug 20 23:06:33 2007] [notice] suEXEC mechanism enabled (wrapper: / > usr/sbin/suexec2) > [Mon Aug 20 23:06:33 2007] [notice] Digest: generating secret for digest > authentication ... > [Mon Aug 20 23:06:33 2007] [notice] Digest: done > [Mon Aug 20 23:06:33 2007] [notice] Apache configured -- resuming normal > operations > localhost ~ # > localhost ~ # > localhost ~ # date > Mon Aug 20 23:07:35 PDT 2007 > localhost ~ # > > > > > > -Thufir > If the problem isn't resolved yet you should try finding on google how to enable php in apache and check _all_ your configuration files (handlers, mime...). Or perhaps your own configuration conflicts somehow with one needed to use php. I had similar problem long time ago and I solved it that way. -- [EMAIL PROTECTED] mailing list

