Plesk 12.x / Linux :: Where To Modify Nginx Fastcgi Settings

Dec 8, 2014

What exact file to modify in order to optimize fastcgi settings, then to set default for all websites. Sample code below:

# execute all .php files via php-fpm
location ~ .php$ {
# connect to a unix domain-socket:
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;

[Code] ....

View 4 Replies


ADVERTISEMENT

How To Allow Customers To Modify Their Own Php.ini Settings

May 29, 2007

On the server (linux, cpanel), we have global registers set to off. Some scripts require them on. What's the most secure way to allow customers to do their own settings for their own domains and bypass the main server php.ini settings?

View 4 Replies View Related

Apache :: Give Someone Access To Modify Settings Through WHM?

Nov 13, 2013

I have WHM and Cpanel on my dedicated server. Is there a way to give them access to change this? I dont want then to have access to everything either.

Edit your httpd.conf file.

Timeout 50
KeepAlive On
MaxKeepAliveRequests 120
KeepAliveTimeout 10
MinSpareServers 10
MaxSpareServers 20
StartServers 16
MaxClients 125
MaxRequestsPerChild 5000 

View 4 Replies View Related

Plesk 12.x / Linux :: Modify Firewall Rules Never Completes

Nov 9, 2014

Applying Plesk firewall changes? I make my change, apply and get to:

Status: Applying in progress. If your browser shows connection error messages, or if this screen does not disappear in more than 30 seconds, go to previous page.

And there things stay. Going back to look at the firewall I can see the change haven't been applied, and going to apply just results in the same. No error, just no anything. It also took numerous attempts to get firewall modification to be swtich on although finally at about the eighth attempt changes were enabled. Only now I can't apply them ...

View 5 Replies View Related

Plesk 12.x / Linux :: Modify Permissions On User Www-data

May 6, 2015

We cant' modify any files of my website in WordPress that contain user www-data.

How can you can change the permissions to this user (www-data).

The version is Plesk 12.0.18 Actualización #44

We have also Plesk 11.5 with WordPress and never has www-data user.

View 3 Replies View Related

Plesk 12.x / Linux :: Unable To Disable Or Modify Firewall Configuration

Jul 8, 2014

I am unable to disable or modify the firewall by using the plesk firewall extention. Plesk throw the two errors below:

Code:

Error: Could not disable firewall:
util_exec(.., 'proc_open') failed: file does not exist or is not executable: /opt/psa/admin/bin/modules/firewall/register_service

Code:

Error: Could not activate firewall configuration:
util_exec(.., 'proc_open') failed: file does not exist or is not executable: /opt/psa/admin/bin/modules/firewall/safeact
I checked the symlinks, they point to the same location: /opt/psa/admin/bin/modules/firewall/mod_wrapper
-r-s--x--- 1 root root 18896 Jun 6 10:37 mod_wrapper

View 2 Replies View Related

Plesk 12.x / Linux :: PHP 5.3 Run As FastCGi Application

Nov 13, 2014

I setup PHP support to Run as FastCGi Application, and i setup the memory_limit=32M in DOMAIN/etc/php.ini, then i create a php program with ini_set('memory_limit','128M'), it does not according to my settings are limited. How can i limit it , only just use the disable_function = 'ini_set' ? or Was there other methods ? Because, When PHP runs as apache module , i can use the php_admin_value in vhost.conf to limit what i want , it does not limit everything like this (disable_function).

View 3 Replies View Related

Plesk 12.x / Linux :: FastCGI Not Parsing PHP

Apr 13, 2015

I've a new installation of Plesk 12 on a VPS (Ubuntu LTS12.04) and when FastCGI is selected it downloads the PHP files instead of parsing the PHP? Where to look config wise? I've checked php short tag options and they all seem fine.I've set up a test subscription to display the error here: URL....

View 5 Replies View Related

Plesk 12.x / Linux :: PHP Support Only For FastCGI?

Apr 23, 2015

In my Plesk 12.0, I installed support por PHP 5.3, and 5.4. But when I go to configure my site, I only can select these versions if I put PHP like FastCGI:

But in "Apache Module" I only can select PHP 5.3.3:

My WebSite doesn't work with FastCGI, only with "Module Apache".

Why I cannot select 5.3.29 with "Module Apache".

View 8 Replies View Related

Plesk 12.x / Linux :: Debian 7.5 FastCGI Application

Jul 3, 2014

I have:

Debian 7.5
Plesk 12.0.18

In the hosting setting i have selected:

PHP support (Run PHP as FastCGI application , PHP version 5.4.4)

The web instead of interpreted php makes me do the download of a file. How can I fix?

View 2 Replies View Related

Plesk 11.x / Linux :: PHP FastCGI Configuration File?

Oct 24, 2014

Where the file that holds PHP fastcgi configuration is located. I was told its here but it's not

/etc/nginx/conf.d/*.conf.

View 3 Replies View Related

Plesk 12.x / Linux :: PHP 5.5 FastCGI - Premature End Of Script

May 31, 2015

I've been working on a project that I am trying to utilize some of the new functions from PHP 5.5 so I changed the PHP version from 5.3 to 5.5 on this domain, but I am getting a 500 error. I've found this kb: [URL] .... which is my exact issue, but the resolution doesn't work for me.

All of the permissions are set right, all of the modules are compiled and registered correctly, but I'm still getting a 500 error.

From error_log:

Code:

[Sun May 31 20:32:31 2015] [warn] [client] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sun May 31 20:32:31 2015] [error] [client] Premature end of script headers: adduser-exec.php
# /usr/local/psa/admin/bin/php_handlers_control --list :

[Code] ....

View 5 Replies View Related

Plesk 12.x / Linux :: PHP As FastCGI Doesn't Work With Suexec

Jul 2, 2014

We have updated our Plesk 10.4.4 to 12.0.18. We want to use PHP with FastCGI (Apache) and get always the following suexec - error:

command cgi_wrapper not in docroot (10004)

We use CentOS 6.4

View 3 Replies View Related

Plesk 12.x / Linux :: Reading Data From FastCGI Server

Jul 20, 2014

I have this System Debain 7.x Whyzee, 64 Bit Version, 16 GB Ram with 8 x 3.2 GHZ. I have update plesk von version 11 to version 12 he say any failure in error.logs by costumer

Code:
[Sat Jul 19 20:58:23 2014] [warn] [client xx.xx.xx.xx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jul 19 20:58:23 2014] [error] [client xx.xx.xx.xx] Premature end of script headers: index.php

View 1 Replies View Related

Plesk 12.x / Linux :: Php Execution In Domain Only Show Fastcgi

Oct 7, 2014

Have the same case for 4 servers (web and pro), the menu in plesk could not show another choice, only fastcgi.

Handlers look like ok:

root@serveur:~# /usr/local/psa/admin/sbin/php_handlers_control --list
id: display name: version: type: cgi-bin: cli-bin: php.ini:
module 5.4.4 5.4.4 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini
fastcgi 5.4.4 5.4.4 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini
cgi 5.4.4 5.4.4 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini

[code]....

How to force to display php module ?

View 3 Replies View Related

Plesk 12.x / Linux :: Failed To Start PHP FastCGI Process Manager

Mar 10, 2015

I use centos 7 , atomic repo, plesk 12 12.0.18 Update #37 php fpm not work.

[root@vmi36735 ~]# systemctl status php-fpm.service
php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/php-fpm.service; enabled)
Active: failed (Result: resources)

[Code] ....

View 5 Replies View Related

Plesk 12.x / Linux :: Php 5.4 Error Reading Data From FastCGI Server

Dec 21, 2014

I changed to a new server with plesk 12 and every php that worked with Plesk 11.5 and php 5.4 doesn't work in the new server with fstcgi and php 5.4. They run fine if I config subdomain with FastCgi php5.3 but don't with php 5.4.35. I get this error message in error_log of subdmain using this versión of php (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server. Premature end of script headers: test.php

there is no error in /var/log/httpd/suexec_log phpini seems OK.My system uses Centos 6.4 and

View 3 Replies View Related

Plesk 12.x / Linux :: Files And Folders Generated By PHP Hidden In FTP - Centos 6.5 / FastCGI

Jun 23, 2014

I have the following problem, the files and folders generated by PHP are hidden in FTP.

I can see in the Plesk file manager that users, permissions and groups are the same for all files and folders (those that can be seen and those that cannot be seen from FTP).

All the options in the server are set by default. It is a new installation of Plesk 12.0.18 #4 in CentOS 6.5 (Final).

SO: CentOS 6.5 (Final)
Plesk: 12.0.18 #4
PHP: FasctCGI
Apache Modules:

View 3 Replies View Related

Plesk 12.x / Linux :: Error Reading Data From FastCGI Server - Cannot Allocate Memory

Jun 22, 2015

PleskLog File

104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Jun 22 15:33:11 2015] [error] [client 176.10.112.11] Premature end of script headers: import_cop.php

and Apache Log

[Mon Jun 22 11:06:57 2015] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Jun 22 15:46:17 2015] [error] (12)Cannot allocate memory: fork: Unable to fork new process
PHP Warning: Module 'zip' already loaded in Unknown on line 0

How can I fix this problem? The Script is 100% i/O because it has worked onder PHP 5.2 and its comp. whit 5.4.

View 12 Replies View Related

Plesk 12.x / Linux :: Error Reading Data From FastCGI Server And End Of Script Output Before Headers

Feb 17, 2015

I have an issue with running of the php-scripts. It runs via Cron (as it consumes a lot of memory), after aprox. 10 minutes after the start-time of the script the following error appears in the error-log file (path - /var/www/vhosts/system/subdomain.domain.tld/logs/error_log)

[Tue Feb 17 19:46:57.003326 2015] [fcgid:warn] [pid 28629] (104)Connection reset by peer: [client XX.XXX.XXX.XXX:48450] mod_fcgid: error reading data from FastCGI server
[Tue Feb 17 19:46:57.003368 2015] [core:error] [pid 28629] [client XX.XXX.XXX.XXX:48450] End of script output before headers: Name_of_the_script.php

For a very strange reason another PHP-script, that has the same code, but just runs less arrays, and therefore consumes less memory and can be run via browser - works perfectly from both browser and the cron. The php.ini for this domain set up correctly (see the attachment)...

View 1 Replies View Related

Plesk 12.x / Linux :: Connection Reset By Peer - Error Reading Data From FastCGI Server

Mar 23, 2015

I have this error.

Code:

[Mon Mar 23 20:53:14 2015] [warn] [client xxx.xxx.xxx.xxx] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Mar 23 20:53:14 2015] [error] [client xxx.xxx.xxx.xxx] Premature end of script headers: index.php

My VPS

OSDebian 7.8
Plesk version12.0.18 Update #38

Code:

<IfModule mod_fcgid.c>
<IfModule !mod_fastcgi.c>
AddHandler fcgid-script fcg fcgi fpl

[Code] .....

View 2 Replies View Related

Plesk 12.x / Linux :: Adding Multiple PHP Version / Error Reading Data From FastCGI Server

Jun 6, 2014

I'm trying to add multiple PHP version (current version installed: 5.5.13), using the official documentation. I always get 500 Internal Server Error after switching to the new version, with the following error_log content:

Code:
[Sat Jun 07 00:49:35 2014] [warn] [client XXX.XXX.XXX.XXX] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sat Jun 07 00:49:35 2014] [error] [client XXX.XXX.XXX.XXX] Premature end of script headers: index.php
Here you can view phpinfo() obtained running php54-cgi index.php from the command line. Same script doesn't work as FastCGI.

I'm trying to add PHP 5.4.29. Here is how I compiled it:

Code:

./configure
--prefix=/usr/local/php54
--with-bz2
--with-config-file-path=/usr/local/php54/etc
--with-config-file-scan-dir=/usr/local/php54/etc/php.d
--with-curl

[code]....

Switching back to PHP 5.5.13 and the script works fine (a simple phpinfo() output).How can I try to understand/debug what's wrong with the installation?

View 5 Replies View Related

Plesk 12.x / Linux :: 502 Bad Gateway Using Nginx

Oct 30, 2014

Today at 12.50 pm my (ubuntu 14.04.1 LTS) server running plesk 12.0.18 suddenly stopped serving websites. Any attempts to access a webpage on any vhost returned the 502 bad gateway using Nginx error messsage.When I looked at the nginx logs, I found messages like:

2014/10/30 14:48:00 [error] 3099#0: *101 connect() failed (111:

Connection refused) while connecting to upstream, client: m.m.m.m, server: , request: "GET /server-status HTTP/1.0", upstream: URL....

Restarting apache & nginx (/etc/init.d/apache2 restart & /etc/init.d/nginx restart) made no difference and I had to reboot to restore http access.

Strangely if I browsed with port 7080 specified (i.e. http://n.n.n.n:7080), this worked fine for all vhosts, so apache (which I believe is listening on this port while nginx listens on port 80) is working fine - nginx is just not able to pass stuff to it?

View 15 Replies View Related

Plesk 11.x / Linux :: How To Update Nginx

May 12, 2014

My current version of nginx in plesk 11.5.44 is 1.5.0 and i would like to update it to the latest stable version which is 1.6.0. However, i cannot seem to manage to do so. I tried with yum update nginx but i receive Package(s) nginx available, but not installed.

View 1 Replies View Related

Plesk 12.x / Linux :: Php Is Not Working On Nginx

Dec 18, 2014

I running magento on plesk 12 and trying to configure nginx, but only home page is working and all other pages are not working with error 404.

View 6 Replies View Related

Plesk 12.x / Linux :: Bad Gateway Nginx

Jun 17, 2015

this is a fresh Plesk 12 installation on a Dedicated Server, on Debian 6. I haven't installed a License key yet.When i tried to run MIgration Manager, the loading was taking forever. Also, when i try to enter Webserver Configurations Troubleshooter, i get 502 Bad Gateway nginx error.In the /var/log/sw-cp-server/error_log i get this error:

Code:
2015/06/17 11:42:47 [error] 3918#0: *52 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: A.B.C.D, server: , request: "GET /modules/configurations-troubleshooter/index.php/index/list HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "X.X.X.X:8443", referrer: "https://X.X.X.X:8443/admin/module/list?context=modules"
When i try to insert a Plesk License, i also get this error:

Code:
2015/06/17 10:29:17 [error] 5643#0: *81 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: A.B.C.D., server: , request: "POST /server/
key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "X.X.X.X:8443", referrer: "https://X.X.X.X:8443/server/key_upload.php"

I followed this KB article 118757 but no luck. Also, the server resources are at the lowest usage and there is >2 TB disk space available.

View 2 Replies View Related

Plesk 11.x / Linux :: Updating Nginx To Use TLS 1.2?

Apr 30, 2015

My server admin already upgraded my OpenSSL to version 1.0.1m 19 Mar 2015 and he also upgraded Nginx to 1.6. I'm also running CentOS v5.11 and Plesk v11.5.

However, he tells me that he still can't get TLS 1.2 to work because he noticed that my server uses a different version of Nginx (sw-nginx), which he believes is part of Plesk. How we can get TLS 1.2 working on the Plesk copy of Nginx (sw-nginx)?

View 1 Replies View Related

Plesk 12.x / Linux :: 502 Bad Gateway Nginx

Jun 23, 2015

We have a problem with a magento website. Often (perhaps when we use administration), we have the message "502 Bad Gateway nginx".

We have added server instructions in Plesk Nginx:
proxy_buffers 16 16k;
proxy_buffer_size 32k;
fastcgi_buffer_size 32k;
fastcgi_buffers 16 12k;

But we have still the problem.

We have tried :
[URL] ....
And
[URL] ....

Without results...

The log file say:

[client x.x.x.x] client denied by server configuration: /var/www/vhosts/domain.com/httpdocs/app/etc/local.xml

x.x.x.x is the website IP.

View 4 Replies View Related

Plesk 12.x / Linux :: How To Remove And Purge Nginx

Jun 10, 2015

Plesk 12 will not do it and if you reinstall it you get errors after installation. Maybe a bug but seems nobody is interested in answering my question before.

I tried to remove by

apt-get remove --purge sw-nginx
dpkg -r sw-ningx

Both of them display that is removed but after a new installation are the folders not created and maybe old files not overwritten if not deleted.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved