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
ADVERTISEMENT
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
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
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
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
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
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
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
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
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
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
Jun 24, 2015
Is it possible through Plesk Linux version on the root servers to update?If not and you will update the Debian itself, you have to note something? What should you back up before everything to make Plesk is working again? Is a complete reinstallation is required?
View 1 Replies
View Related
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
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
Aug 18, 2014
It's possible to enable HHVM on debian host with plesk?
View 1 Replies
View Related
Jan 29, 2015
I am attempting to migrate from a debian os server with the latest plesk 12 to Centos (rather cloudlinux) and would like to know if there are any options that should not be checked during the process?
I recently tried to do the normal procedure, which is to transfer all objects, etc. And for some reason the percentage went from 1-50% to then back to zero.. but when clicking to check the current status, its still working
Status: in progress
Current operation deploying domain.com
current operation progress: empty bar
Different sites are transferring, but I am not sure if the migration will effect the system because the difference in OS folder structure and file location.
View 6 Replies
View Related
Jan 6, 2015
I am using apt-cron for automatic nightly security updates.
This morning, it won't install anything - here the log:
Code:
Jan 6 04:21:00 srv2 cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Tue Jan 6 04:00:01 CET 2015
Jan 6 04:21:00 srv2 cron-apt: CRON-APT SLEEP: 1052, Tue Jan 6 04:17:33 CET 2015
Jan 6 04:21:00 srv2 cron-apt: CRON-APT ACTION: 3-download
Jan 6 04:21:00 srv2 cron-apt: CRON-APT LINE: /usr/bin/apt-get -o quiet=1 upgrade -d -y -o APT::Get::Show-Upgraded=true
[Code].....
View 1 Replies
View Related
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
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
Jul 18, 2014
Recently Debian released point release .6 of Debian Wheezy (Debian 7). This change in version number is causing all Plesk updates and upgrades to fail, due to 404 errors:
Code:
Getting new version of Parallels Installer...
File downloading parallels_installer_Debian_7.6_x86_64.md5sum:
ERROR: The required version '3.16.20' was not found on the server.
This could happen because of configuration error at the download site.
Failed to download the package [url] ....
The requested URL returned error: 404...This has been going on a couple of days. When will this be fixed?
View 2 Replies
View Related
Jan 13, 2015
sw-engine fails to start with the following message:
system is debian 7.0.7 with Plesk 12.0.18 I have the problem on two servers, it started after upgrading debian
/usr/bin/sw-engine: error while loading shared libraries: libruntime.so.1: cannot open shared object file: No such file or directory
View 2 Replies
View Related
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
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
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
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
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
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
Jan 31, 2015
For some reason I am having issues with latest Plesk with php and wordpress. HTML sites are fine, but all php and wordpress sites are giving a 502 error after fully migrating. I repaired with Webserver Configurations Troubleshooter and rebooted and its still giving me the same issue.Also, noticed my previous server had php 5.4.36, the new CentOS server has 5.4.37.
View 5 Replies
View Related
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
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