I have installed apache from the source with:prefix=/usr sysconfdir=/etc/httpd/ localstatedir=/var.
useradd -g apache -d /usr/apache -s /sbin/nologin apache
I have to build exactly Apache-1.3.41 on Linux.
I installed the httpd server using the following commands:
apt-get install gcc make openssl libssl-dev
I have apache set to use the apache user account and apache user group.
I am trying to uninstall apache to install nginx, but it doesn't seem to work.
$ ps aux | grep httpd
root 22348 0.0 0.2 167252 8864 ? Ss 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22353 0.0 0.1 167624 6088 ? S 14:33 0:00 /usr/sbin/httpd -k start -DSSL
apache 22354 0.0 0.1 167252 5292 ?
Running into an issue with an apache/php installation.
Redhat 6.5 Apache 2.4 PHP 5.6
Installed apache in a non-standard installation(did not use yum install httpd). I did so by: -placing the apache zip onto the server -./configure --prefix=/usr/dir/.... make make install
After this apache started and I was able to hit it on a browser.
I am receiving this message:
configure: error: Invalid Apache directory - unable to find httpd.h under /usr/lib64/httpd/
after executing the following command:
I don't know where is the top-level DIR on my already installed apache.
I have apache MaxMemFree 150 set in httpd.conf. However, when I use htop/top to look at the apache process, it still eat 648M shown below.
I'm getting this issue from my vhost when i restart the httpd service.
i'm going to tell you my following steps on my server given below.
# uname -i
# ./configure --prefix=/usr/local/suphp-2.4 --sysconfdir=/etc --with-apr=/usr/local/apr/bin/apr-1-config --with-apxs=/usr/local/apache/bin/apxs --with-apache-user=apache --with-setid-mode=paranoid --with-php=/usr/local/apache/bin/php-cgi -
I am using CentOS.
I have a directory such as:
drwxrwsr-x 2 someuser deploy 4096 Apr 23 23:29 logs
Apache is a member of the deploy group:
I believe I'm sure that the user that apache is running as, is in fact "apache":
$ ps aux | egrep '(apache|httpd)'
apache 26573 0.0 2.6 429516 13176 ?
Am using a RHEL 5.5 shared server, my user has complete access to /opt folder.
No root access, cant write to /etc, /usr etc.
So, I downloaded httpd-2.4.6 and httpd-2.4.6-deps onto /opt (ie.