Skip to content

asubit/script-for-delete-cache-symfony2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Symfony2 clear cache without use SSH acces

Security

  1. 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.

  2. 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

Installation

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

Execute

Access your script : "www.your-domain.com/web/delete-cache.php?token=okToken".

What's doing this script exactly ?

  1. Control client IP address
  2. Control token
  3. Delete Symfony environnement cache directory
  4. Purge APC system cache
  5. Return result with logs

About

Script for delete Symfony2 cache

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy