nginx

nginx

PHP Installation
Configure PHP:

./configure \
--with-config-file-path=/usr/local/etc/ \
--enable-fpm \
--enable-pdo \
--enable-mbstring \
--with-gd \
--with-curl \
--with-jpeg-dir \
--with-bz2 \
--with-zlib \
--with-pdo-mysql=/usr/local/mysql

Build and install:

make
make install

Copy the default configuration files:

Technology:

nginx

Prerequisites

yum -y install pcre-devel

Installation
Download the latest version:

cd /extra/src
wget http://nginx.org/download/nginx-1.4.2.tar.gz
tar zxf nginx-1.4.2.tar.gz
cd nginx-1.4.2

Configure, build and install:

Technology:

Webserver configuration

Instructions for configuring Drupal sites on Apache, Lighttpd and nginx.

Apache Virtual Host Configuration
Enable the virtual host config file in /usr/local/apache2/conf/httpd.conf by uncommenting it:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

Edit /usr/local/apache2/conf/extra/httpd-vhosts.conf and add an entry for your new Drupal install:

ServerName www.domain.com
#ServerAlias *.domain.com
DocumentRoot /var/websites/projectname/drupal-5.10

Options Indexes FollowSymLinks
AllowOverride All

Subscribe to RSS - nginx

Recent Updates

  • 2 years 1 day ago
  • 2 years 1 day ago
  • 2 years 3 days ago
    php 8.x
  • 2 years 4 days ago
    10.6.7
  • 2 years 6 days ago
    Drop Centos 5/6 stuff