I've come to realize something, but I'm not sure if I could be right:
Maybe the instructions are interrupted because there is a lack of virtual
memory. I mean is there not a limit to the memory the script can use? It
would explain why the script goes on, as when the instruction is
interrupted, all
>I'm not sure. What is the exact command you are using?
I'll show the code for the two scenario, maybe it'll help. I've edited out
the sensitive information though, but I kept the essence of how it works.
1) Copy the previous file and make modification on it
&1';
exec($command, $output,
Mike Roberts wrote on 25/03/2010 14:56:
remove
No :-) Use the proper unsubscribe method rather than spamming the list.
--
Kind regards
Kim Emax - masterminds.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 26 March 2010 15:20, Bastien Helders wrote:
> I have checked the rights on the file for the first scenario and no user as
> locked it, I can see it, read it and write into it. I could even delete it
> if I wanted.
>
> For the second scenario, it doesn't even apply, as the exec('zip') that
> ti
I have checked the rights on the file for the first scenario and no user as
locked it, I can see it, read it and write into it. I could even delete it
if I wanted.
For the second scenario, it doesn't even apply, as the exec('zip') that
timeout try to create a new file (naturally in a folder where
On 26 March 2010 12:21, Bastien Helders wrote:
> I already used error_reporting and set_time_limit and the use of
> ini_set('display_errors', 1); didn't display more exceptions.
>
> However the modification in the exec helped display STDERR I think.
>
> 1) In the first scenario we have the followi
I already used error_reporting and set_time_limit and the use of
ini_set('display_errors', 1); didn't display more exceptions.
However the modification in the exec helped display STDERR I think.
1) In the first scenario we have the following:
zip warning: ../../build/Patch-6-3-2_Q3P15.zip not f
On 26 March 2010 08:51, Bastien Helders wrote:
> I've already specified the outputs, and it doesn't change if I put it in a
> file.
>
> 1)In the first scenario, where all the data are compressed together, the
> only call of exec('zip') give this output:
>
>
> adding: bin/ (stored 0%)
> adding: bi
I've already specified the outputs, and it doesn't change if I put it in a
file.
1)In the first scenario, where all the data are compressed together, the
only call of exec('zip') give this output:
adding: bin/ (stored 0%)
adding: bin/startHotFixInstaller.bat (deflated 41%)
adding: bin/startHotFi
On 25 March 2010 13:31, Bastien Helders wrote:
> I'm really stumped, it seems that although the script is running under the
> time limit, if a single instruction such as exec("zip") in the first case,
> or copy() in the second case are timing out, because it takes too much time
> processing the bi
://www.profsurv.com/magazine/article.aspx?i=70379
-Original Message-
From: Bastien Helders [mailto:eldroskan...@gmail.com]
Sent: Thursday, March 25, 2010 9:32 AM
To: rquadl...@googlemail.com
Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net
Subject: Re: [PHP]Zip and text files generated are
I'm really stumped, it seems that although the script is running under the
time limit, if a single instruction such as exec("zip") in the first case,
or copy() in the second case are timing out, because it takes too much time
processing the big file.
Is there any configuration in php.ini (or anywh
Forgot to say, it is the second scenario that generate corrupted zip and
text files with unexpected end of files.
2010/3/25 Bastien Helders
> So I tested two scenario:
>
> - First, I gather all the files selected for the patch and then compress
> them together and here is what is displayed:
>
>
So I tested two scenario:
- First, I gather all the files selected for the patch and then compress
them together and here is what is displayed:
[Begin display]
The command zip -gr ../../build/Patch-6-3-2_Q3P15.zip * returned a status of
14 and the following output:
adding: bin/ (stored 0%)
adding
://www.profsurv.com/magazine/article.aspx?i=70379
-Original Message-
From: Richard Quadling [mailto:rquadl...@googlemail.com]
Sent: Wednesday, March 24, 2010 11:25 AM
To: Bastien Helders
Cc: a...@ashleysheridan.co.uk; php-general@lists.php.net
Subject: Re: [PHP]Zip and text files generated are
://www.profsurv.com/magazine/article.aspx?i=70379
-Original Message-
From: Bastien Helders [mailto:eldroskan...@gmail.com]
Sent: Wednesday, March 24, 2010 11:19 AM
To: a...@ashleysheridan.co.uk
Cc: php-general@lists.php.net
Subject: Re: [PHP]Zip and text files generated are corrupted
Hi Ashley,
No
On 24 March 2010 15:19, Bastien Helders wrote:
> Hi Ashley,
>
> No, I set the time limit high enough (set_time_limit(2*HOUR+8*MINUTE);), and
> the execution stops a long time before the time limit is reached.
>
> It might be relevent that the web application is hosted on a Windows
> Machine.
>
> I
Hi Ashley,
No, I set the time limit high enough (set_time_limit(2*HOUR+8*MINUTE);), and
the execution stops a long time before the time limit is reached.
It might be relevent that the web application is hosted on a Windows
Machine.
I asked myself, would setting the parameter "memory_limit" of th
On Wed, 2010-03-24 at 15:34 +0100, Bastien Helders wrote:
> Hi list,
>
> I've got this web app, which from a list of selected folders (with content)
> want to create a zip containing them as well as creating a text file with
> information about the chosen folders and how to use them.
>
> To crea
Hi list,
I've got this web app, which from a list of selected folders (with content)
want to create a zip containing them as well as creating a text file with
information about the chosen folders and how to use them.
To create the zip file I use exec('zip -gr ' .$zipname.' * >> mylog.log');
in th
20 matches
Mail list logo