Quantcast
Channel: PHP-Scripts Blog » Linux
Browsing all 3 articles
Browse latest View live

How to change the server date and time

This is more a Linux task than a PHP one, but for those needing to change their server date/time, it can be done with the linux DATE command as follows: date - s `+ 1500` This might require root or...

View Article



Using floor and time to calculate number of days elapsed from UNIX timestamp

Finding out the number of days elapsed from a UNIX timestamp is actually pretty straightforward. If you only know two dates then first you’ll need to convert the date to a UNIX timestamps and then...

View Article

Image may be NSFW.
Clik here to view.

Tail -f apache access_log

Here is how to use SSH/Telnet do a search and locate your access_log file. The linux locate command will help: locate access_log You might see lots of logs separated by domain names. A common location...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images