A PCRE internal error occured. This might be caused by a faulty plugin

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
packages:amp:apache [2013/12/30 17:59]
admin [Install apache suEXEC]
packages:amp:apache [2014/05/03 05:50] (current)
admin [Compile Apache2 from Sources]
Line 7: Line 7:
 It will get cleaned up as soon as I get time to sort it all out :-\ It will get cleaned up as soon as I get time to sort it all out :-\
 </​WRAP>​ </​WRAP>​
 +-----
 ===== Remove the Existing Apache Installation ===== ===== Remove the Existing Apache Installation =====
 +-----
 In case you have a previous install of Apache, you can wipe it off your system using the following commands: In case you have a previous install of Apache, you can wipe it off your system using the following commands:
  
Line 45: Line 47:
 /​usr/​lib/​apache2 /​usr/​lib/​apache2
 </​code>​ </​code>​
 +-----
 ===== Install Latest Apache (updating it from sources) ===== ===== Install Latest Apache (updating it from sources) =====
 We'll need to compile apache from sources in order to make sure the required options for compatibility with Phpfarm are met. Note that this method also enables you to recompile apache, in a Linux Mint Debian compatible manner, with your own selection of options in case you need a specific configuration. We'll need to compile apache from sources in order to make sure the required options for compatibility with Phpfarm are met. Note that this method also enables you to recompile apache, in a Linux Mint Debian compatible manner, with your own selection of options in case you need a specific configuration.
Line 121: Line 124:
 . ok  . ok 
 </​code>​ </​code>​
 +
 +<WRAP important>​
 +After a restart or issuing an apt-get instruction,​ it seems the symlink problem reappears...
 +</​WRAP>​
  
 ==== Install apache suEXEC ==== ==== Install apache suEXEC ====
Line 129: Line 136:
 </​code>​ </​code>​
  
-The default configuration file for apache2-suexec-custom is /​etc/​apache2/​suexec/​www-data. The first line of the file must be changed to reflect the non-default document root.+The default configuration file for apache2-suexec-custom is **/​etc/​apache2/​suexec/​www-data**. The first line of the file can be changed to use a non-default document root.
 ==== Install mod_fcgid ==== ==== Install mod_fcgid ====
 <​code>​ <​code>​
Line 141: Line 148:
  
 Please consult the [[packages:​amp:​php#​create php execution script|Phpfarm setup information]] for further configuration. Please consult the [[packages:​amp:​php#​create php execution script|Phpfarm setup information]] for further configuration.
-==== Differences With Fressh ​Install ===+==== Differences With Fresh Install ===
 Missing files: Missing files:
 <​code>​ <​code>​
Line 193: Line 200:
      + AllowOverride All      + AllowOverride All
 </​code>​ </​code>​
-==== Download the latest version ==== +----- 
-Then we need to download the latest version from [[http://​httpd.apache.org/​download.cgi]]\\+===== Download the latest version ​===== 
 +We need to download the latest version from [[http://​httpd.apache.org/​download.cgi]]\\
 [[http://​apache.cu.be//​httpd/​httpd-2.4.7.tar.gz]] for example being the latest stable as of this writing. [[http://​apache.cu.be//​httpd/​httpd-2.4.7.tar.gz]] for example being the latest stable as of this writing.
  
Line 309: Line 317:
 sudo /​etc/​init.d/​apache2 restart sudo /​etc/​init.d/​apache2 restart
 </​code>​ </​code>​
 +-----
 ===== Compile Apache2 from Sources ===== ===== Compile Apache2 from Sources =====
 +-----
 To have a fine control over the options that we need enabled in our apache2 server, we'll go for the compilation from source method. Here's how to proceed: To have a fine control over the options that we need enabled in our apache2 server, we'll go for the compilation from source method. Here's how to proceed: