Showing posts with label Apache. Show all posts
Showing posts with label Apache. Show all posts
2012-08-10
Scratch of the day - PHP Warning: date(): It is not safe to rely on the system's timezone settings
Yesterday, I noticed one of my Apache server's error log is growing like 1.1 gb in 12 hours. The log is full of these :
2011-04-18
Subversion - Branching and merging to release, stable or something else
Previously, we talk about the basic stuff of Subversion. This is still basic stuff :p
Is about managing source codes by branching. Branching is a way to have 2 or more sets of source code with each has it's own development, but eventually, merging them into the main trunk.
Example, in most development, we normally have "development" & "release" version. As word means, the "development" version is meant for development & testing. But the "release" version, would be the ultimate version that roll out for production use. For this example, "release" will be the trunk & "development" will be the branch.
A view of it :
To create this hierarchy :
Is about managing source codes by branching. Branching is a way to have 2 or more sets of source code with each has it's own development, but eventually, merging them into the main trunk.
Example, in most development, we normally have "development" & "release" version. As word means, the "development" version is meant for development & testing. But the "release" version, would be the ultimate version that roll out for production use. For this example, "release" will be the trunk & "development" will be the branch.
A view of it :
web_blog(repository)
|
+release
| |
| +front_end
| |
| +engine
|
|
+development
|
+front_end
|
+engineTo create this hierarchy :
2010-10-11
Subversion - How to use svn to manage source files
The "svn" command stands for Subversion. Subversion is commonly use to manage revisions of source files, e.g. configuration files & program source code. Subversion keeps revision what of have been change or committed into the repository. This is good when we accidentally change the source code and needs to roll back to the previous changes. It is also good for managing configuration files (e.g. /etc, /usr/local/etc) on servers as it provides revision control. We can roll back to the last working condition if we screw something up. :p
Here's how to start using svn to manage source files, for the first time :
Here's how to start using svn to manage source files, for the first time :
2009-08-24
Apache - [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Virtual Host. A feature that enables Apache to configure multiple domain into one web (http) server. This feature saves the need to run multiple instances of web server and thus saves resources.
After configuring the <VirtualHost> directives, some may encounter an error message :
This is due to the missing of a parameter, before any <VirtualHost> directives:
After configuring the <VirtualHost> directives, some may encounter an error message :
Error : [warn] _default_ VirtualHost overlap on port 80, the first has precedence
This is due to the missing of a parameter, before any <VirtualHost> directives:
NameVirtualHost
2009-02-16
Apache failed to start - httpready
Problem :
While doing one of the below :
an error message appear
Solution :
While doing one of the below :
apachectl start
apachectl restart
/usr/local/etc/rc.d/apache start
/usr/local/etc/rc.d/apache restart
an error message appear
No such file or directory: Failed to enable the 'httpready' Accept Filter
Solution :
Subscribe to:
Posts (Atom)

