Quantcast
Browsing latest articles
Browse All 8 View Live

Running Linux logrotate.d Command Manually

Here Is My Problem One day while perusing around one of my Debian Linux servers I noticed that the disk was extremely full. After taking a look at what could be using up all the disk space, I realised...

View Article


Secure Directory With Apache htpasswd and htaccess

Overview Need a folder secured on your website with a username and password? You may have some important documents you need to share with selected people. You could have restricted downloads you need...

View Article


Override The Default PHP Execution Timeout Limit

In any programming language there is always a chance that your code will enter an infinite loop and get stuck for a long time. There is also a chance that a script may be processing large and complex...

View Article

PHP Script to Check Remote Server Port or Service is Running

As most webmasters will know, if your website is doing, clients are going to be knocking on your door with pitchforks and torches. Here is a script that allows you to monitor remote ports on a server...

View Article

Why is Apache Restarting Randomly

Logrotate could be the cause of the issue. Each time logrotate runs, it will compress, rename and rotate your logs as well as removing older logs. Similar to the follow up of this article explaining...

View Article


Set Apache Log Permission Using Logrotate

If you have ever wondered why your log files randomly change permissions each night. Logrotate could be up to its tricks. Similar to the other article I published on Why is apache randomly restarting...

View Article

Common Ports List – Most Commonly Used Port Numbers

List of Commonly Used Ports Below is a list of common ports and the service it is associated with I find are most commonly used. If you feel there are ports that should be on this list, please leave a...

View Article

Increase PHP Memory Limit in htaccess, apache or in a php script

Most of us have come across this error: “Fatal error: Allowed memory size of xxxxxx bytes exhausted (tried to allocate yyy bytes) in ….” in the php error logs. In php, running out of memory in usually...

View Article

Browsing latest articles
Browse All 8 View Live