# Tag: apache

## Apache and Node.js on the Same Server

The Question : 368 people think this question is useful I want to use Node because it’s swift, uses the same language I am using on the client side, and it’s non-blocking by definition. But the guy who I hired to write the program for file handling (saving, editing, renaming, downloading, uploading files, etc.), he

## apache – PHP code is not being executed, instead code shows on the page

The Question : 343 people think this question is useful I’m trying to execute some PHP code on a project (using Dreamweaver) but the code isn’t being run. When I check the source code, the PHP code appears as HTML tags (I can see it in the source code). Apache is running properly (I’m working

## webserver – Is using Git for deploying a bad practice?

The Question : 113 people think this question is useful I tend to use Git for deploying production code to the web server. That usually means that somewhere a master Git repository is hosted somewhere accessible over ssh, and the production server serves that cloned repository, while restricting access to .git/ and .gitignore. When I

## apache – What is the difference between HTTP_HOST and SERVER_NAME in PHP?

The Question : 540 people think this question is useful What is the difference between $_SERVER['HTTP_HOST'] and$_SERVER['SERVER_NAME'] in PHP? When would you consider using one over the other and why? The Question Comments : “I normally go for HTTP_HOST, so that the user stays on the exact host name they started on. For example

## gui – Apache Log Viewer alternative for Linux

The Question : 35 people think this question is useful I am looking for a Linux alternative to the Windows program “Apache Log Viewer”. Here is a screenshot: I have been looking around for a while but most of the things I’ve stumbled upon were commandline tools. Yet, I really want something that runs on

## php – UTF-8 all the way through

The Question : 1228 people think this question is useful I’m setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1. Where exactly do I need to set

## mysql – UTF-8 all the way through

I’m setting up a new server, and want to support UTF-8 fully in my web application. I have tried in the past on existing servers and always seem to end up having to fall back to ISO-8859-1. Where exactly do I need to set the encoding/charsets? I’m aware that I need to configure Apache, MySQL