Unfortunately, the mcrypt extension is not supported in PHP 7.2 and later versions, including PHP 8.0. However, there are alternative solutions that you can use to encrypt and decrypt data in PHP. One popular alternative is the openssl extension, which provides encryption and decryption functions using the OpenSSL library. Here’s an example of how you…
Category: linux
remove old files after a while with linux
maybe you need to remove old file or maybe you need to do this frequently so how we can do it. if you are using the Linux as OS it will be easy for you just use below command : this command will remove files older then 1 week or 168 hours (7*24) if you…
Linux change server time zone
Sometime we need to change server time zone to our current time zone,so let to do it At first, we need to find the current time-zone. We can take it by below command. or we can use this the result should be something like this. The next question is how we can find a timezone…
Linux find large files to remove
I have an SSD 128G hard so sometimes I need to remove files to eras space to my new project. for that, I need to find large files and remove them. by this code you can find them / home/ : is directory that you want to find files there -type: determine type file to…