Browsing articles tagged with

apache

How to Create sub domains on localhost in apache on Ubuntu

Sub domains on localhost When working with apache locally, the common way to use it is though the "http://localhost" url. When doing web development or some kind of testing, you might need to create sub domains on localhost, just like on online servers. This post shows you how to create sub domains inside Apache on localhost. Its easy and takes only a ...

Setup Apache 2.4 and Php FPM with mod proxy fcgi on Ubuntu 13.10

mod_proxy_fcgi The module mod_proxy_fcgi is a new one and it allows apache to connect to/forward requests to an external fastcgi process manager like php fpm. This allows for a complete separation between the running of php scripts and Apache. Earlier we had to use modules like mod_fcgid and mod_fastcgi which all had some limitations. Mod_fcgid for example did not properly utilise ...

How to Install and configure Apache web server on Ubuntu 13.10

Install Apache Web server A while back I updated my ubuntu to 13.10 and then the apache php installation got messed up. So I had to reinstall it quickly to continue working on my php projects. Apache is there in the ubuntu repositories so can be installed without much effort. Here is the quick command you need to fire at the terminal. $ ...

Install and configure Apache and PHP with cgi on Ubuntu or Debian

CGI - Common Gateway Interface Apache can be configured to invoke the php interpreter as cgi program. This means that the php-cgi binary shall be run externally and the php script shall be executed by it and the output would be passed back to apache. This is one way to run php with apache. Other methods include shared module, fastcgi etc. ...

Setup Apache and Php with mod_fcgid on Ubuntu/Debian

Mod Fcgid Mod Fcgid is an apache module that enables it to talk to fastcgi enabled application. It can be used to setup with apache to run php over fastcgi. It is an alternative to the older mod_fastcgi and has some differences with it. In this post we shall be setting up apache with php using this module. You can also . Since ...

Output buffering in php and apache

Output Buffering Output buffering is processing mechanism where the output being generated by a program is held in a place till its size reaches a limit or the generation is complete. Only after, will the output be send to its destination. In php for example, doing and echo generates some output. Now this output might be buffered. If its not, then the ...

Install and configure Apache and php with mod fastcgi on Ubuntu/Debian

Fastcgi based php handler Mod_fastcgi is an apache module that enables apache to talk to fastcgi enabled applications. It can be used to run php code over fastcgi through the php-cgi binary which is fastcgi enabled. Fastcgi has many improvements over the traditional cgi model of executing external programs inside a webserver. With fastcgi multiple processes are kept alive and each process ...

An overview of apache mpms and php server apis

Apache + Php When setting up an apache+php server to run your php applications, there are lots of configuration parameters to deal with. The most important is the php Server Api (sapi). It determines how exactly is apache going to run the php scripts. Along with the php sapi another important thing to select is the apache mpm (multi processing module). ...

Fix “htaccess: Options not allowed here” error

Sometimes when you are adding directives to the htaccess file you get errors. Once such error is htaccess: Options not allowed here It occurs when using the Options directive like this Options -Indexes The error basically indicates that the htaccess file is not allowed to use the Options directive to change the settings. To fix this edit the apache configuration file, which is located at /etc/apache2/sites-enabled/000-default $ ...

Find the location of apache configuration file

Apache is a web server that is available for all major platforms. Each OS stores the apache in a different directory or path, due to which it takes some effort to find the configuration file when needed. For example Ubuntu and fedora store it in different locations inspite of both being linux. So here are some techniques to find the location ...

Pages:12»


Connect with us