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.
Both sides previous revision Previous revision Next revision | Previous revision | ||
packages:amp:php [2014/09/24 03:26] admin [Create php execution script] |
packages:amp:php [2014/09/24 03:45] (current) admin [Add Selected PHP Versions] |
||
---|---|---|---|
Line 132: | Line 132: | ||
* apt-get install libxml2 libxml2-dev | * apt-get install libxml2 libxml2-dev | ||
* apt-get install libcurl3-dev | * apt-get install libcurl3-dev | ||
+ | * apt-get install libjpeg62 libjpeg62-dev | ||
+ | * apt-get install libpng12-0 libpng12-dev | ||
+ | * apt-get install libicu-dev | ||
+ | * apt-get install libmcrypt4 libmcrypt-dev | ||
For what comes next, you should first have suEXEC and the mod_fcgid apache module installed [[packages:amp:apache#Install apache suEXEC|as described here]]. | For what comes next, you should first have suEXEC and the mod_fcgid apache module installed [[packages:amp:apache#Install apache suEXEC|as described here]]. | ||
Line 186: | Line 190: | ||
sudo nano /etc/apache2/sites-available/domain.conf | sudo nano /etc/apache2/sites-available/domain.conf | ||
- | <VirtualHost *> | + | <VirtualHost *:80> |
ServerName domain | ServerName domain | ||
ServerAlias domain | ServerAlias domain | ||
ServerAdmin webmaster@domain | ServerAdmin webmaster@domain | ||
- | DocumentRoot /var/www/domain/web/ | + | DocumentRoot /var/www/sites/domain/web/ |
<IfModule mod_fcgid.c> | <IfModule mod_fcgid.c> | ||
- | SuexecUserGroup <username> <group-name> | + | SuexecUserGroup suexec suexec |
#PHP_Fix_Pathinfo_Enable 0 | #PHP_Fix_Pathinfo_Enable 0 | ||
- | <Directory /var/www/domain/web/> | + | <Directory /var/www/sites/domain/web/> |
Options +ExecCGI | Options +ExecCGI | ||
AllowOverride All | AllowOverride All | ||
AddHandler fcgid-script .php | AddHandler fcgid-script .php | ||
- | FcgidWrapper /var/www/php-fcgid/php-cgi-5.3.4 .php | + | FcgidWrapper /var/www/php-fcgid/php-cgi-5.4.4 .php |
Order allow,deny | Order allow,deny | ||
Allow from all | Allow from all | ||
Line 205: | Line 209: | ||
</IfModule> | </IfModule> | ||
- | # ErrorLog /var/log/apache2/error.logĀ | + | ErrorLog /var/www/sites/domain/log/error.logĀ |
- | # CustomLog /var/log/apache2/access.log combined | + | CustomLog /var/www/sites/domain/log/access.log combined |
ServerSignature Off | ServerSignature Off | ||
- | |||
</VirtualHost> | </VirtualHost> | ||
</code> | </code> |