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


ADVERTISEMENT

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 12.x / Linux :: Error Installing Application From Application Installer

Oct 13, 2014

whenever one of my customers tries to install an application from the application installer, they get an error that looks like this.

Error: Installation of WordPress at http://*******.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.

Error stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.Click to expand...

View 2 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 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 :: 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

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 :: Application Vault 502 Bad Gateway

Jul 2, 2014

When i open the page i get the error: "502 Bad Gateway"with strace i get the following error:

Code:
connect(14, {sa_family=AF_FILE, path="/var/run/mysqld/mysqld.sock"}, 110) = 0
setsockopt(14, SOL_IP, IP_TOS, [8], 4) = -1 EOPNOTSUPP (Operation not supported)
setsockopt(14, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0

System: Debian 7.5
Mysql: 5.6.19
Plesk: 12.0.18

View 6 Replies View Related

Plesk 12.x / Linux :: Can't Install Magento Application

May 19, 2015

When I try to install Magento 1.9.1.1 I get the error message;Error: Installation of magento at http://mydomain.com/ failed. Non-zero exit status returned by script.Can't seem to get any more information into what might be causing this issue...

View 2 Replies View Related

Plesk 12.x / Linux :: Application Vault - Cannot Open Lib

Apr 26, 2015

I have this issue if I try to open Control Panel-Tools and Settings-Application Vault and also if I click on Wordpress Toolkit.

I have tried to find the lib with this command:

find / ( -name libmysqlserver.so.2 -o -name libmyodbc.so ) -print 2>/dev/null

with this output:
/usr/lib64/sw/libmysqlserver.so.2
/usr/share/cagefs-skeleton/usr/lib64/sw/libmysqlserver.so.2

I think that the path is incorrect because I have red that it was be /usr/lib64/ and no /usr/lib64/sw/

I have red this link: [URL] ... but the path is /usr/lib64/ and also I have reinstall mysql-connector-odbc but with no success.

View 13 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 :: How To Create Custom Application Template

Jun 23, 2015

Plesk Applications Installer. I wish to create my own WordPress template (with preinstalled plugins/themes) for my customers.

Is there an easy way to do this (or anyway to do this)?

View 3 Replies View Related

Plesk 12.x / Linux :: Cannot Find Registry Resource For Application ID

May 26, 2015

The APSC database was corrupted, so i used :

/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

to repair the databases. Worked, but give me the error

"Table 'aps_resource' doesn't exist"

One more time, i recover this table from the newest backup existing. But now, give the error " Can not find registry resource for Application ID" for one domain - I have 3 domains, 2 are working, one not.

View 3 Replies View Related

Plesk 12.x / Linux :: Getting Application Updates Emails Since Upgrade

Jul 9, 2014

Since upgrading to Plesk 12, I'm getting near daily "Application Updates" emails. The body copy simply reads "date.timezone = Europe/London"

How do I stop these? They're very annoying and clients receive them too.

View 2 Replies View Related

Plesk 11.x / Linux :: Database Creation From Third Party Application?

Jun 17, 2014

Parallels Panel 11.0.9
Ubuntu 12.04.4 LTS
Apache/2.2.22 / Mysql 3.5.8.1

Is it possible to let Plesk allow database creation from another web application ?

For example, we would like to use this framework (codeigniter) method => this->dbforge->create_database('db_name')

ACTUAL RESULT =>

The method returns false but i'm unable to track it on the error logs.

EXPECTED RESULT =>

The method should returns TRUE

And thus the database should be created

Is it some task we should manage at Plesk or Apache level ?

View 7 Replies View Related

Plesk 12.x / Linux :: How To Change Installation Path Of WordPress Application

Nov 5, 2014

I have installed the Wordpress application. The wordpress url is "server.com/wordpress", but I want to change it to something like "server.com/myblog".

In Plesk, the installation path cannot be changed (at least, it is not under "Change Settings").

Changing the Wordpress installation itself is not that difficult (renaming the folder in httpdocs and changing the siteurl and home parameter in the database), however, in Plesk still the old installation path is shown, and the Plesk interface to Wordpress obviously does not work any more.

How can I change the Wordpress installation path in Plesk?

Version Parallels Plesk v12.0.18_build1200140606.15 os_Ubuntu 12.04
OS Ubuntu 12.04.5 LTS

View 1 Replies View Related

Plesk 12.x / Linux :: Move Wordpress Application From Subfolder To Root

Mar 18, 2015

Wordpress is becoming more and more integrated with Plesk which makes it quite easy to setup a new domain for someone and install Wordpress so he can start.

Often this Wordpress site has to be developed and a better looking site is already available.

By default Wordpress installs in a subfolder /wordpress (I know you can change it by choosing "custom install"). After a while that website is ready for publishing.

To move that website I will have to move the running site to a subfolder and then move the content of /wordpress to the root. This is not sufficient. I then have to do a search and replace on the /wordpress and wordpress/ and replace it with /

No problem there....

But then I have lost Wordpress from the Plesk interface.....

What's the most elegant way to move a Plesk managed Wordpress site?

I don't mind if it stays in its folder (maybe preferrable?), as long as the user doesn't see that "/wordpress" in its URL.

View 3 Replies View Related

Plesk 12.x / Linux :: Migration Fails - Deployer Application Missing

Apr 10, 2015

Migrating accounts to a fresh Plesk 12 installation task fails with the following error: Perhaps /usr/local/psa/admin/bin/deployer application missing, has incorrect permissions or unexpectedly terminated

Fresh install of Plesk 12.0.18 MU42 on CentOS 7.1. Tried to reinstall, same problem.

already tried this:
[URL] ...
...without success

View 4 Replies View Related

Plesk 12.x / Linux :: Joomla Application Won't Work With Default Components

Jul 5, 2014

Joomla now requires PHP 5.3.10 or above but PHP 5.3.3 is installed. I rely almost exclusively on Plesk to keep the server components up to date and now I can't update my Joomla websites. I tend to avoid working at the command prompt, which is why I lease Plesk. I see that Plesk supports dual (or multiple) PHP versions, but the panel doesn't seem to deploy other versions. Does Parallels plan to allow customers to install multiple versions of PHP from the control panel so that PHP won' break legacy software but the newer apps will be able to run also?

(IMHO a better solution would have been for PHP 5.4 to be fully backward compatible)

View 1 Replies View Related

Plesk 12.x / Linux :: Cannot Find Owncloud App Inside Users Application Pool

Oct 16, 2014

We are running the latest Plesk 12 under CentOS 7.

While I can see the App Owncloud as Admin in the Application Vault my users cannot see that particular app in their Application pool. They can see all other apps though. Just not Owncloud.

All resellers and customers are allowed to install everything from the pool and i selected Owncloud in the Vault already and "made it available" .. Though it is not shown.

View 7 Replies View Related







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