-
Control IP address In the script there is a PHP array named "$ips" where you have to add your IP address for access the script.
-
Control secret token When your IP address is enter in the "$ips" array your have to define a secret token "$okToken" Then when you access the script you have to enter your token
From ./web
directory of your Symfony2 project
git clone https://github.com/asubit/script-for-delete-cache-symfony2.git
or
wget https://github.com/asubit/script-for-delete-cache-symfony2/archive/master.zip
Access your script : "www.your-domain.com/web/delete-cache.php?token=okToken".
- Control client IP address
- Control token
- Delete Symfony environnement cache directory
- Purge APC system cache
- Return result with logs