Nicola
Basic Pleskian
Hi,
I have a function in php that import a dump sql in a database: I'm using this command
If the command run for more then 30 seconds, apache gone away and all sites on the server become inaccessible: I need to restart the php service to restore the functioning.
max_execution_time is set to 300 but nothing changes.
Someone has an idea?
Thanks
I have a function in php that import a dump sql in a database: I'm using this command
PHP:
shell_exec ( "mysqldump -h localhost -u $username -p$password $databaseName | mysql -h localhost -u $username -p$password $databaseName &> /dev/null &" )
If the command run for more then 30 seconds, apache gone away and all sites on the server become inaccessible: I need to restart the php service to restore the functioning.
max_execution_time is set to 300 but nothing changes.
Someone has an idea?
Thanks