Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

How To Install Apache2 on Ubuntu 14.04 LTS

Login to your Ubuntu server with root user with your favorite SSH client Lets first update the operating system with all the latest packages with the command sudo apt-get update Let’s first install apache with the command sudo apt-get install apache2 You can see that apache is installed now and

How to Check the Apache Version on a Linux Dedicated cPanel Server

Quick Checking Your Apache Version Number If you need to check the Apache version number installed on your server, you can do so in one of a couple ways. In the default configuration, Apache will be set to display its version information on most of you error pages. This means

How can you have a page which would show you apache status?

You can also  check and monitor Apache server’s current status on the web page without using log files. Modify httpd.conf file and add the following code into it: ExtendedStatus On <Location /server-status> SetHandler server-status Deny from all Order deny,allow Allow from localhost 192.168,1,56 Allow from </Location> Restart apache service:

How to update apache to the latest version?

Check the current version of apache by running httpd –v Then execute the following commands: cd /usr/local/directadmin/customapache ./build clean ./build update ./build apache_mod_ssl This should update both the configure options and the version of apache to the most recent version. Once the update is completed,  restart apache: RedHat:/sbin/service httpd restart

PHP as an Apache Module

When PHP runs as an Apache module, PHP files work under the Apache user/group known as “nobody”. For example, when a PHP file needs to write to another file or create/remove a file, it does so under the name “nobody”. In order to allow “nobody” to do this, you need

How to backup a copy of apache?

Fire the following command to take a backup of apache on your               server: cp -a /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak Above is for Centos users For Ubuntu users ,please refer the following :- sudo cp /etc/apache2/apache2.conf /etc/apache2/apache2.conf.bak

How to Rebuild Apache in cPanel

Log in as the root using ssh to your server Type the following commands: # cd /scripts # ./updatenow # ./easyapache Just follow on screen instructions to rebuild Apache for CPanel server under Linux/FreeBSD OSes. Please note that you should see a menu on screen asking you which option you

Downgrade from apache 2 back to apache 1.3

If you need to go back to apache 1.3 after installing apache 2, you’ll need to do the following: 1) Restore the old httpd.conf file: cp -f /etc/httpd/conf/httpd.conf.1.3.backup /etc/httpd/conf/httpd.conf 2) Get DirectAdmin to use the old httpd.conf files for the users. Edit the /usr/local/directadmin/conf/directadmin.conf file and change apache_ver=2.0 to apache_ver=1.3.

Apache is not starting after update on FreeBSD

An issue with php/apache is causing apache not to start in FreeBSD. It segfaults and core dumps, logged in the /var/log/httpd/error_log. Try removing –with-openssl from your configure.php file and recompile php. cd /usr/local/directadmin/customapache vi configure.php #remove –with-openssl from the file, save, exit. ./build clean ./build php n Possibly a mod_perl