Re: [PHP] Strange behaviour with PHP on Apache

2004-12-06 Thread Jason Wong
On Tuesday 07 December 2004 00:33, Stefan wrote:

 Users trying to access my php-scripted websites (different projects) got a
 'download' message instead of the site (as if the site (.php) was a
 downloadable file (e.g. .tgz or something else))). 

It sounds like what would happen when your PHP aren't being processed and 
Apache's just dumping the file contents (ie your source code) to the browser.

 After restarting apache2 
 the problem was gone for about 2 hours, but then it came back.
 As first reaction I visited my log files instantly, but nothing looked
 different there. After it came for the second time, I restarted the server
 by 'init 6' and it is gone since then.

Is this the error log file you looked at? The access logs won't tell you much.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
BOFH Excuse #71:

The file system is full of it
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Strange behaviour with PHP on Apache

2004-12-06 Thread Stefan
That sounds like a nice hint. Unfortunately there seems to be no error
in the apache2 error logfile -
This must have been near the time, when the strange behaviour began:

[Mon Dec 06 14:58:07 2004] [warn] NameVirtualHost 82.165.42.181:80 has
no VirtualHosts
[Mon Dec 06 14:58:09 2004] [notice] Apache/2.0.49 (Linux/SuSE)
configured -- resuming normal operations
[Mon Dec 06 14:58:09 2004] [warn] long lost child came home! (pid 1482)

...But as I saw in the Apache2 documentation, the warning 'long lost
child came home' isn't that bad and can occur time by time.

Any ideas?

-Ursprüngliche Nachricht-
Von: Jason Wong [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 6. Dezember 2004 19:54
An: [EMAIL PROTECTED]
Betreff: Re: [PHP] Strange behaviour with PHP on Apache


On Tuesday 07 December 2004 00:33, Stefan wrote:

 Users trying to access my php-scripted websites (different projects) 
 got a 'download' message instead of the site (as if the site (.php) 
 was a downloadable file (e.g. .tgz or something else))).

It sounds like what would happen when your PHP aren't being processed
and 
Apache's just dumping the file contents (ie your source code) to the
browser.

 After restarting apache2
 the problem was gone for about 2 hours, but then it came back.
 As first reaction I visited my log files instantly, but nothing looked
 different there. After it came for the second time, I restarted the
server
 by 'init 6' and it is gone since then.

Is this the error log file you looked at? The access logs won't tell you
much.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
BOFH Excuse #71:

The file system is full of it
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php