Użytkownik "AD" <an********@poczta.onet.plnapisał w wiadomo¶ci
news:g1**********@news.onet.pl...
Hello!
I have a problem with XAMPP portable server run on Windows XP platform.
I was building an application on this server, but I`ve noticed strange
behaviour. I think that it is something like file or application size limit
or something like that, because when I add some variable which is not
connected with the previous and following code lines i.e.
...
$test="test";
...
it forces connection down on XAMPP server.
When I move the same files with $test="test"; code into the ftp php server
whole web page works properly with no errors.
Is it something like xampp file size limit or buffers application limit?
If so - how can I fix the problem with connection down?
Thank you in advance for help
M.
I have found what couses the error and restarting xampp server
This is what I got from error logs
[Fri May 23 19:37:10 2008] [notice] Parent: child process exited with status
3221225477 -- Restarting.
[Fri May 23 19:37:11 2008] [notice] Apache/2.2.8 (Win32) DAV/2 mod_ssl/2.2.8
OpenSSL/0.9.8g mod_autoindex_color PHP/4.4.8 configured -- resuming normal
operations
[Fri May 23 19:37:11 2008] [notice] Server built: Jan 18 2008 00:37:19
[Fri May 23 19:37:11 2008] [notice] Parent: Created child process 5020
[Fri May 23 19:37:11 2008] [notice] Child 5020: Child process is running
[Fri May 23 19:37:11 2008] [notice] Child 5020: Acquired the start mutex.
[Fri May 23 19:37:11 2008] [notice] Child 5020: Starting 250 worker threads.
[Fri May 23 19:37:11 2008] [notice] Child 5020: Starting thread to listen on
port 80.
[Fri May 23 19:37:11 2008] [notice] Child 5020: Starting thread to listen on
port 443.
I tried to find the solution on net, but without result.
Some guy wrote a few years go when sb has got the same problem, that it should
be re return date("I"); code line added at the top of the below function
function inDaylightTime($date)
{
return date("I");
$env_tz = '';
if(isset($_ENV['TZ']) && getenv('TZ')) {
$env_tz = getenv('TZ');
}
putenv('TZ=' . $this->id);
$ltime = localtime($date->getTime(), true);
if ($env_tz != '') {
putenv('TZ=' . $env_tz);
}
return $ltime['tm_isdst'];
}
But it didn`t take any good and fine effect.
This funcation is located here I:\xampp\php\PEAR\Date\TimeZone.php and I change
this function there.
Is it possible for you to help me to solve this problem://///
Thank you in advance
M.