Performance of PHP
| From: | Merlin | Date: | Tue, 06 Nov 2007 11:05:54 +0000 |
| Subject: | Performance of PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-264098@lists.php.net to get a copy of this message | ||
Hi there,
I am doing some image cropping of about 40.000 files with php.
To do this I wrote a PHP file that does what I want and I did disable
the timeout so I can call it via webbrowser and fire the script.
There are two down sides I see:
1. One image takes about 0.25 s, so the whole process would take about 3 hours.
2. During that time a spider could come along and find that file and fire it again.
Is it faster if I would issue this by command line on the linux server?
php filename.php
Thank you for any help,
Merlin