0
I have a script that introduces several information in the database and saves some files on the server through URL, but PHP ends the process before the completion with error 503.
I have tried (I believe) that all ways to postpone this by . ini and by commands on the page itself.
Does anyone else have any idea what to do ?
Follow code applied on the page to understand the execution:
set_time_limit(0);
ini_set('max_execution_time', 600);
The same changes were fairs in php.ini of the server.
What files are these ? Are they heavy ? Size.
– Alex
These two factors you mentioned, disk access and database access: eliminate one of them as a test, the bottleneck should be there. I’d bet on the database.
– bfavaretto
Has access to logs of
php
or web server? If so, what is written onlog
?– Valdeir Psr
Are Photos, I Believe They Are Heavy.
– Vinicius Yuri
bfvaretto, the bank registration goes smoothly alone, the problem I believe is in saving the photos.
– Vinicius Yuri
Valdeir Por, I don’t have the logs
– Vinicius Yuri