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


ADVERTISEMENT

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 :: 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 :: 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 11.x / Linux :: Error Adding Remote Database Server

May 9, 2014

PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Plesk 11.5, 11.5.30 Update #44, last updated at April 30, 2014 03:25 AM, Centos 6.5 (Final), Linux 64bit

PROBLEM DESCRIPTION
When I try to add an extra MySQL server, running on a different server, I always get an error that the user has no admin access. But the user I created does have admin access to the database.
The remote database is a MySQL 5.5 on a Linux Ubuntu 12.04 LTS server

STEPS TO REPRODUCE
Tools & Settings -> Database Servers -> Add Databases server

ACTUAL RESULT
Error: Test connection to the database server has failed because the supplied account does not possess administrative privileges: Access denied for user 'admin'@'%' to database 'd536cedf97037e'

EXPECTED RESULT
A working database connection.

ANY ADDITIONAL INFORMATION
These queries are logged by MySQL:

140509 16:54:51 28 Connectadmin@10.1.0.162 as anonymous on
28 QuerySELECT VERSION()
28 Querycreate database `BUG115166_1374110215536CEC3816DD2` /*!40101 default charset=utf8 */
28 Querycreate database `bug115166_1374110215536cec3816dd2` /*!40101 default charset=utf8 */
28 Queryinsert into mysql.user (Host, User, Password) values ('%', 'bug115166_17546', password('BUG115166_1374110215536CEC3816DD2'))
28 QueryFLUSH PRIVILEGES

[Code] .....

If I just ignore this message, go to a subscription and create a database, then the database gets created just fine. It's just Plesk that thinks that something went wrong.

View 2 Replies View Related

Plesk 12.x / Linux :: Uninstall PHP 5.4 Multiple Version

Aug 26, 2014

I tryed install multiple-php version in my Plesk 12 on CentOS 6.5 using Plesk KB but it doesn't work very well so I installed php-panda and it works fine but I want uninstall the php 5.4.31 version that fail but leaving the no-atomic old version. How can I do that? I know that is installed in other directory.

View 1 Replies View Related

Plesk 11.x / Linux :: PHP-FPM / Nginx And Multiple Version Of PHP

Dec 17, 2014

I installed Nginx and PHP-FPM through the Plesk Autoinstaller.It works well with the default PHP version installed originally with the CentOS 6 system (5.3.3). I also installed manually following your KB [URL] .... additional versions of PHP. It works well, and I can use those additional versions through the Plesk UI.

Therefore, I was wondering how to use them with PHP-FPM? As when I activate a domain for Nginx with PHP process (PHP-FPM), it switches the PHP version to 5.3.3 and I can't change this parameter.

View 1 Replies View Related

Plesk 12.x / Linux :: Multiple Version Of PHP Are Not Working Properly

Dec 28, 2014

I am looking for a replacement to my existing ISPConfig 3.x installation and have heard a lot of good things about Plesk, so I decided to put up a test server with a trial version of Plesk 12.The server is running Centos 6.5 64-bit minimal install with all system updates applied before installing Plesk. After installing Plesk I used the commands from the attached text-file.After compiling PHP 5.5.20 with no errors displayed on screen I created a new subscription plan as a copy of the #default domain" plan and changed the name to "PHP 5.5 website" and in the Hosting Parameters I changed PHP to run still run as a FastCGI application but use my compiled PHP 5.5.20 instead of the OS vendors PHP 5.3.3.The configure options used are the same as I did use for my ISPConfig 3.x servers.I also tried the configure options shown here: [URL]... But the command ends with a "configure: WARNING: unrecopgnized options: --enable-fastcgi"

If I compile with the attached script I get a HTTP 500 error when visiting the selected website (which is a clean installation of Drupal 7.34) and in the error_log for my test site I get this:
"
[Sun Dec 28 18:51:48 2014] [warn] [client x.x.x.x] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Sun Dec 28 18:51:48 2014] [error] [client x.x.x.x] Premature end of script headers: index.php
"
x.x.x.x is the internal IP of my router/firewall.I have also looked in the Plesk Administrator GuideIs there a known issue with Plesk 12 and CentOS 6.5 64-bit when wanting to use multiple versions of PHP, since both the version compiled using the KB article above and my own attached script worked fine on my ISPConfig 3.x servers.

View 4 Replies View Related

Plesk 12.x / Linux :: Fatal Error Using Additional PHP Version

Jun 29, 2015

Using Plesk 12.0.18 and CentOS 6.6, I installed PHP 5.6 through the Plesk Updates menu. After that, the new version was not automatically selectable inside Plesk Panel. I added it using php_handler.However, when selecting PHP 5.6 for a website, I only get a 500 server error.

Trying to troubleshoot, I ran "/opt/plesk/php/5.6/bin/php-cgi -v", which also resulted in an error:Fatal Error Unable to allocate shared memory segment of 67108864 bytes: mmap: Cannot allocate memory (12)The same kind of error is logged in the error_log for the website I switched to 5.6.

The error also occurs when calling "php-cgi -v" directly in the command line.The same error occured when I tried the same thing with PHP 5.5.

View 5 Replies View Related

Plesk 12.x / Linux :: TLS Error Accessing Ftp Using Filezilla New Version

Jan 15, 2015

I have received notices from several customers with this error and I checked myself. When trying to connect to a ftp hosted on my server with Plesk gives an error expired certificate, a certificate of Parallels. The solution I've found is to configure access without TLS but says it is unsafe and customers are not satisfied.

View 1 Replies View Related

Plesk 12.x / Linux :: Multiple Maillog Error Messages - Postfix

Mar 31, 2015

Plesk 12 is used, latest #MU on CentOS 6.5 final.

Maillog is full of messages like:

Mar 31 14:56:52 hosting plesk sendmail[1177]: _mh_fork(): Error occured during waiting the child process with pid: 1178: No child processes
Mar 31 14:56:52 hosting plesk sendmail[1177]: Error during 'check-quota' handler
Mar 31 14:56:52 hosting plesk sendmail[1177]: Unable to get sender domain by sender mailname

[Code]....

View 1 Replies View Related

Plesk 11.x / Linux :: Possible To Have 2 Version PHP On Server?

Jan 25, 2015

Are that possible to have 2 version on my server?I upgrade from 5.3 to 5.4 yesterday but 2 site is down after upgrade of php.And i need 5.4 for 1 site and 5.3 for this other.

View 2 Replies View Related

Plesk 11.x / Linux :: Access To CPanel - 502 Bad Gateway Error Nginx On Multiple Domain

Feb 18, 2015

Our server : [URL] .....
plesk v11 (64BITS)

PROBLEM DESCRIPTION

We found 502 Bad Gateway error Nginx on multiple domain "currently troissoeursetunfrere.com is a wordpress site e-commerce" and also malittleboutique.com ecommerce wordpress, possibly to fix this problem we have followed this tutorial " [URL] ....

we perform the following operations:

sudo apt-get remove php5 php5-cgi php5-fpm
sudo apt-get install php5 php5-cgi php5-fpm

Following these operations we lost access to cpanel.

View 3 Replies View Related

Internal Server Error - When Reading Table

Nov 28, 2008

In the forum [url]suddenly we got Internal Server Error. Our host claims it is because of corrupted database accorind the logs:
081128 11:44:38 [ERROR] Got error 126 when reading table './lykman_clubcento/lykman11_members'
Repairing the database from cpanel didnt work. Old available backups are not available.

View 12 Replies View Related

Apache :: Error Reading Status Line From Remote Server

Aug 6, 2014

We are currently using Apache 2.2.10 as the reverse proxy for the SAP portal server 7.3.1. The SAP applications are built based on webdynpro abap technology.2 of the apps are getting intermittent spinning circles. The Apache server will ultimately timeout and give the "bad request" and HTTP 400. We were never able to reproduce the problem except we do see users are running into them. Obviously, the problems occur very randomly, but often enough to generate a lot of support tickets. No error was generated in the sap system log.

Here is what I see from the apache access log and error log:

[31/Jul/2014:23:50:26 -0400] TLSv1 AES128-SHA "POST /sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=VcFRQjFOvu8TJYp9gDoeAA--4x1GQAg0MPPjCUEQif5iWQ--?sap-contextid=SID%3aANON%3asapprd_PR3_03%3aezUnW-FXtaYVyXREaAD7rxW0k8o5pk_n9RfjPfcB-NEW HTTP/1.1" 400 3004 "https://xxxxx/sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=VcFRQjFOvu8TJYp9gDoeAA--4x1GQAg0MPPjCUEQif5iWQ--" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3)" 706345611

[Fri Aug 01 14:19:07 2014] [error] [client 10.4.53.198] (70014)End of file found: proxy: error reading status line from remote server xxxxxx, referer: https://xxxxx/sap/bc/webdynpro/sap/ZR_SSEPP_OPERATIONAL_SCHEDULE;sap-ext-sid=RaH2yjQlV6o7wVaj6wv6zA--LXTMFzjjKvcuwT*DXWoBmA--

I found bug 37770 and went to see the apache admin. But he thinks that the parameter(proxy-initial-not-pooled=1) that fixes the bug only applies to mod_proxy_http. However, we are using mod_proxy.

View 1 Replies View Related

Plesk 11.x / Linux :: Deny Reading Of Single File For Ftp User

Sep 17, 2014

i have plesk 11.5.3 on Linux centOS 6, I created a ftp user on a domain folder, I need to deny this user to read a specific file .php, how can I do?

View 7 Replies View Related

Apache :: Reverse Proxy Modules - Error Reading Status Line From Remote Server

Oct 17, 2013

We have been using Apache 2.2.x with reverse proxy modules for our clients to access their OWA servers for over a year. I want to get us to Apache 2.4.x so I setup a test box with latest 2.4 on it. I fixed the config file issues since 2.4 has changes in it. OWA proxy is working on my test server with Apache 2.4. But with 2.4 I do have an issue I cannot figure out. Note that this does NOT occur with Apache 2.2. I get the following errors when using ActiveSync through reverse proxy:

[Thu Oct 17 12:19:11.670665 2013] [proxy_http:error] [pid 748:tid 8440] (OS 10060)A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. : [client x.x.x.x:20311] AH01102: error reading status line from remote server mail.nameredacted.net:443
[Thu Oct 17 12:19:11.670665 2013] [proxy:error] [pid 748:tid 8440] [client x.x.x.x:20311] AH00898: Error reading from remote server returned by /Microsoft-Server-ActiveSync

So somehow with Apache 2.4 there is some sort of timeout that was not there with 2.2.

View 2 Replies View Related

FastCGI Randomly Give Internal Server Error

Apr 17, 2009

I have the same error mentioned in this old tread:
[url]

Once in a while the user have "Internal server error"

when accessing any php page.

The php is php v4 compile as fastcgi on Centos 5.

The warning/error sequins is always like this:

[Fri Apr 17 09:09:49 2009] [warn] FastCGI: (dynamic) server "/home/fastcgi-scripts/abc.fcgi" (pid 22726) termination signaled
[Fri Apr 17 09:09:49 2009] [warn] FastCGI: (dynamic) server "/home/fastcgi-scripts/abc.fcgi" (pid 22726) terminated by calling exit with status '0'
[Fri Apr 17 09:09:49 2009] [error] [client 127.0.0.1] FastCGI: incomplete headers (0 bytes) received from server "/home/fastcgi-scripts/abc.fcgi", referer:
[url]

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 :: Prematurely Closed Connection While Reading Response Header From Upstream

Jun 25, 2015

I get "502 Bad Gateway" errors in browser and found this in logs:

- upstream prematurely closed connection while reading response header from upstream

- failed (111: Connection refused) while connecting to upstream

restarting Apache solves the problem temporarily.I tried tweaking both nginx and php-fpm config files without success.

View 9 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 / Windows :: Error When Adding IP On Panel

Oct 10, 2014

We are getting an error every time that i try to add a new IP on Plesk panel. I go to "Tool and settings" than "IP address", "Add ip address" on fields i already try to ip:

xx.xx.xx.xx/32
and
xx.xx.xx.xx/submask

every time that i click on OK, the button become loading an never finish....

View 7 Replies View Related

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 View Related







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