Plesk 12.x / Linux :: PHP Files Get Downloaded With Fast-CGI

Jun 3, 2015

I'm trying to get something simple to work in Plesk. I just want to use Apache for PHP files with Fast-CGI and PHP 5.6. Everything works fine with Nginx and PHP-FPM but because of the restrictions, that Nginx can only use a systemwide PHP version, which is 5.3.3 in my case, I need Apache for that.

So the problem is that I get the .php files as download and Apache doesn't parse them.

A little background information:
Cent OS 6.6
Plesk 12.0.18 Update #49
PHP Versions 5.3.3 and 5.6.9
PHP Handles installed with this KB [URL] ....:

Code:
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.3.3 5.3.3 5.3 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.3.3 5.3.3 5.3 fastcgi /usr/bin/php-cgi /etc/php.ini false
module 5.3.3 5.3.3 5.3 module /usr/bin/php-cgi /etc/php.ini false

[Code] ....

Hosting templates are default and I checked every configuration file...

View 4 Replies


ADVERTISEMENT

Rar Files Been Displayed Not Downloaded

Jul 14, 2007

Recently installed apache + php and such a move over this large site.

However any files that end with the .rar extension are shown in the browser instead of being displayed as a download.

Is there something i need to add to apache to force it to make .rar files be downloaded instead of displayed in the browser as jumbled text and symbols.

*I think im just have a memory block and can't remember how i have fixed this before*

View 1 Replies View Related

Apache :: How To Setup Files Downloaded From It

Dec 19, 2013

URL....how to setup apache so files are downloadable from it. I guess I should also be using SSL.

View 1 Replies View Related

Plesk 12.x / Linux :: 5.3.3 Cgi And Fast-cgi Broke Down After Adding PHP 5.5.13

Jul 16, 2014

According to de Plesk Administrator Guide and according to the kb article: [URL] ...., Plesk Panel is suitable to enable multiple php versions After I performed the steps mentioned in the kb article, all seemed fine until somehow php-cgi and php-fcgi broke down after

Code:
# service httpd restart

After this event, all websites hosted on this particular the server only work running php as an apache module.

I am running Pleks Panel 12.0.18 #7 on top of CenOs 6.5 on this particular server, which means php version 5.3.3 is installed by default. PHP 5.3.3 also is was the php version for the "custom: false" php handlers (id's: cgi, fastcgi, module). Somehow all php handlers look like this:

Code:

# /usr/local/psa/bin/php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom:
cgi 5.5.13 5.5.13 5.5 cgi /usr/bin/php-cgi /etc/php.ini false
fastcgi 5.5.13 5.5.13 5.5 fastcgi /usr/bin/php-cgi /etc/php.ini false

[Code]....

View 7 Replies View Related

Plesk 11.x / Windows :: Mail - Automatically Delete Downloaded Emails On Server?

May 15, 2013

Ho can I configure that in the mail accounts the mails are deleted after downloading with outlook?

View 2 Replies View Related

Plesk 12.x / Linux :: WordPress - Cannot Access Files Via FTP

Nov 21, 2014

I have some issues access my files through FTP. I created a new FTP user, that match the domain name, so it is easy for me to terminate access if i choose to delete the domain.

I can only access / see files that i uploaded with that specific FTP user. If i install a plugin inside Wordpress, i can not access those files via FTP.

If i login via SSH, with the root user, i can see all files.

I have tried to add the FTP user to the psacln group, but no luck.

View 2 Replies View Related

Plesk 11.x / Linux :: Copying Files Between Subscriptions

Jun 4, 2014

I want to be able to copy 1000's of files from one subscription to another or rather from one domain to another on the server without having to FTP them each time. Is there a way which this can be done directly in Plesk and avoid the need to ftp the same 1000's of files into each subscription ? FTPing on my connection is really slow and takes 2-3 for each subscription / domain, whereas if I could just FTP to the server once and then copy&paste the files between subscriptions then this would save me a huge amount of time...

View 2 Replies View Related

Plesk 11.x / Linux :: Can't See Files Which Are Uploaded With Script

Mar 1, 2014

I am using a upload script for my files. After upload i cant see them on ftp but can see on panel file manager.

View 9 Replies View Related

Plesk 12.x / Linux :: Missing Files After Restore

Feb 25, 2015

After restore (without any errors) some of my files are missing from one particular domain. The files are present in the backup however, they just don't restore. In this case it is a Wordpress installation and the complete wp-content folder did not restore one one of the domains.

View 1 Replies View Related

Plesk 12.x / Linux :: How To Recover Mail Files

Mar 26, 2015

My server with Plesk 11 died a few days ago. I now have a new server with Plesk 12.

I have the entire /var folder copied up from the old server.

How do I restore emails to the new server? Can I simply copy /var/qmail/mailnames/domain.name from the backed up /var folder into the corresponding folder on the new server?

View 11 Replies View Related

Plesk 12.x / Linux :: Not All Files And Folder Are Saved

Oct 1, 2014

Here my plesk installation details:

Debian 6.0.9 x64
12.0.18 at #17

the problem is very big since backup procedure not backup all files and folder. I have a lot of Wordpress installations (some of that made with App Installer and others made by hand).

Into all the above installations, files and folder created by Wordpress, like plugin installed or image, uploaded are not backup!

I have seen that all this files come with www-data:www-data user and group but with read permissions for owner, group and others, so i not able to understand why they are not inside my backups. If i change user and group all works fine.

Check your Wordpress backup and verify the presence of plugin and images (miniature of images are still present since they are created with different user and group)...

View 1 Replies View Related

Plesk 11.x / Linux :: Cannot Send Big Files With POST

Dec 12, 2013

I have a problem with file upload. I changed php.ini files in /etc/php5/cgi and user and php.ini to work with big files. I changed accordingly max_filesize, post_max_size, memory_limit.Also changed suhosin memory_limit and some other stuffs. I cant get files bigger than ~100MB to be sent through forms with post! Below is ok.Is there any method to do this with plesk 11.5?? I saw docs on this particular topics with plesk 10 on internet but nothing for plesk 11.

View 8 Replies View Related

Plesk 11.x / Linux :: Where Are Old Access Log Files After Log Rotation

May 14, 2014

In Plesk 11.5 I set log rotation to once a day and to keep 365 files. But I can only find 13 files (only one access_log) in /var/www/vhosts/mydomain/log. But Plesk tells me that 100 GB are used for the logs (the 13 files only have about 3 GB). Where are the files? In previous versions (before 11.5) I always had the files (named .1, .2 etc) in the same log directory.

View 3 Replies View Related

Plesk 11.x / Linux :: Can't Restore Backup And Replace Files

May 25, 2014

I am trying to restore a backup that Parallels Plesk made (latest version) and I used to get the option at some point to replace everything. Now, I only get the options to select what I want to restore and it fails because it says certain things, domains, content is already there.

I can't find the option anymore that allows me to say replace everything during the backup. Was that removed? If so, I'd really....really like it back.

Warning:
Failed deployment of domain localhost.localdomain
Warning:
Execution of /usr/local/psa/admin/plib/api-cli/domain.php --create localhost.localdomain -owner admin -do-not-apply-skeleton -notify false -guid 4fe5de63-3103-4fa0-a01c-04894e167107 -vendor-guid 75b2fa01-6c6e-4cb2-8f1b-9c69757fd3ec -creation-date 2014-02-13 -ip 46.165.251.98 -ignore-nonexistent-options failed with return code 1.
Stderr is
An error occurred during domain creation: There are no available resources of this type (domains) left. Requested: 1; available: 0.

View 1 Replies View Related

Plesk 12.x / Linux :: Cannot Limit Number Of Backup Files

Oct 30, 2014

I'm running Plesk v12.0.18 #22 on Ubuntu 12.04.

In the plesk backup-settings I've set the max. number of backup-files to 5.

Actually Plesk doesn't limit the number of backups stored in the local repository.

So unfortunately the partition is running out of space.

What can be done to solve that problem?

View 1 Replies View Related

Plesk 12.x / Linux :: Missing Cron Files After Reinstall?

Sep 24, 2014

I'm missing files that the existing crontab requires. There are results on Google for it, but since the parallels' forum upgrade, all the Google links are dead...

The missing crons in question are:

/bin/sh: /usr/local/psa/libexec/modules/watchdog/cp/clean-events: No such file or directory
/bin/sh: /usr/local/psa/libexec/modules/watchdog/cp/pack-sysstats: No such file or directory
/bin/sh: /usr/local/psa/libexec/modules/watchdog/cp/clean-sysstats: No such file or directoryClick to expand...

View 2 Replies View Related

Plesk 11.x / Linux :: AWStats - Regenerate Config Files?

Nov 13, 2014

I followed the following KB to allow country to be identified via GeoIP in AWStats: [URL] .... It works well on one of my domain, but I had to disable first the stats through PLESK Admin, then to reactivate it, so it would regenerate the conf file in /usr/local/psa/etc/awstats/* for a particulair domain. I then followed this KB to re-calculate all stats with country identification: [URL] .... It works as well.

But now: How can I regenerate all the conf file in /usr/local/psa/etc/awstats/* ? Is there any magic command?

View 1 Replies View Related

Plesk 12.x / Linux :: Persistent Editing Of Postfix Files

Dec 10, 2014

I want to put custom values in /etc/postfix/main.cf, but I'm afraid plesk would overwrite them during upgrade. How can I safely add custom values to main.cf and preserve them duing plesk updates?

View 1 Replies View Related

Plesk 12.x / Linux :: Migrating From Cpanel Not All Files Migrated

Apr 14, 2015

I currently run the PMM tool, it migrates and created all the domains for me, but I have a new problem. Some clients does not have their files only at public_html, they use the root at their cpanel accounts, I notice that the PMM did not migrated the files from the root.... Is there any option to it be done?

View 1 Replies View Related

Plesk 12.x / Linux :: After Upgrade To 12.0.18 - PHP Session Files Are No Longer Being Deleted

Sep 21, 2014

I recently updated from 11.5 to 12. After the update, my PHP session files are no longer being deleted.

I followed the steps in article 119500 [URL] ..... I was able to run the steps manually but cron does not seem to able to run them automatically.

The PHP sessions folder permissions seem correct:
drwx-wx-wt 2 root root 548864 Sep 21 12:12 session

The "/etc/php.ini" file seems reasonable and the session file path seems correct:
session.save_path = "/var/lib/php/session"

But the session files never get deleted automatically. The session folder fills up quickly and I have been deleting session files manually while trying to resolve the problem. How can I verify that the default Plesk cron jobs are set up and running properly?

View 1 Replies View Related

Plesk 12.x / Linux :: Write Recursive Rights On Files / Folders

Feb 20, 2015

I have a concern during the installation of PrestaShop. I created a subdomain through Plesk, put my files on my server via FTP. During installation of PrestaShop, I have a problem:

Recursive write permissions for the Apache user on the ~ / config /

My user is "NOWIS" and my group is "psacln" ....

I think the user "NOWIS" has no rights as "Apache" ....

View 3 Replies View Related

Plesk 11.x / Linux :: Mime Types For Newer Office Files

Jul 24, 2014

I'm running plesk 11.5.30 and I'm having an issue with the new word doc format (.docx) being recognized as a zip file. I've read several posts that explain what mime types to add, and I've found the spot where I need to enter them. The part I'm not sure about is whether the custom mime types field is an addition to the current mime types or a replacement list. Does that field just needs the new mime types or a full list?

View 1 Replies View Related

Plesk 12.x / Linux :: Delete Subdomain Without Removing Files Or Database?

Aug 30, 2014

I cannot seem to find a conclusive answer to this. I use subdomains to create client websites then once they are in their own domains the subdomains still remain. Can I delete only the subdomain and leave all the files or at least leave the database since it is still connected to the new domain. Example below.

subdomain.example.com uses database1

newsite.com still uses database1

Is there a way to copy the database into the new domain?

View 1 Replies View Related

Plesk 12.x / Linux :: Temporary Files From Backup Filling Up Disk

Apr 22, 2015

I have a plesk

[root@srv tmp]# cat /usr/local/psa/version
10.3.1 CentOS 5 1013110726.09

I have following problem:

When i do full backup and download this backup, plesk create a temporary file inside directory /usr/local/psa/tmp but after download finish this file is not deleted, and this is causing problem because i have a server with small disk space.

View 1 Replies View Related

Plesk 11.x / Linux :: Backup Warning - Failed To Pack Files

Dec 21, 2013

I keep getting this warning on one of my domains.

I was running on a Ubuntu 10.04 LTS VPS and had this error too, then yesterday imported the domain from the old VPS to our new Plesk Server (Ubuntu 12.04.3 LTS) and I still get this error on this one domain.

This is the error in question...

Warning:hosting "mydomain.tld"

Failed to pack files Backup_mydomain.tld_user-data_1311120042 in /var/lib/psa/dumps/domains/mydomain.tld [ 49562925056 bytes free of 53687091200 bytes total on mount point 0]

Warning:hosting "mydomain.tld"

For security reason backup is performed on behalf of subscription system user. System user has no read access to backup file.Click to expand...

View 3 Replies View Related

Plesk 12.x / Linux :: What Happens To Site Backup Files When Deleted From Panel

Dec 15, 2014

When you delete a site backup from its "Backup Manager" Panel, it is removed and no longer displayed in the Panel. However, I cannot tell if this action actually does anything with the real site backup files in "/var/lib/psa/dumps". Does this action merely remove it from PSA's database but not touch any actual files? If this is true, then how are site backup files supposed to be managed if this action doesn't actually delete them?

View 3 Replies View Related

Plesk 12.x / Linux :: Sending Files Through FTP - Server Cuts Connection

Dec 11, 2014

When I send files to my through FTP, the server cuts connection and I get this message in messages log file

FAIL: ftp per_source_limit from xxx.xxx.xxx.xxx

xxx.... my IP

And I've observed the connection is closed and opened during the transfer.

I avoid disconnection adding per_source=unlimited in /etc/xinetd.d/ftp_psa

But I see this entry in the same message log

mod_delay/0.7: unable to open DelayTable '/var/proftpd.delay': No such file or directory

View 1 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 :: Content-length Limit When Uploading Large Files

Jun 18, 2015

Domain has PHP Settings in Plesk set to 2G and I get this error when uploading a 48MB file using Wordpress. I assume I need ot modify this manually in conf file somewhere to allow uploading large files?

Requested content-length of 48443338 is larger than the configured limit of 10240000..

mod_fcgid: error reading data, FastCGI server closed connection...

View 1 Replies View Related

Plesk 11.x / Linux :: Update Installation - Can't Download Needed Files Necessary To This Operation

Sep 2, 2014

I was trying to update my Plesk Panel installation and got the following error:

It seems the auto updater can't download the needed files necessary to this operation.

OS: CentOS 5.7
Panel version:10.3.1
Trying to update to version: 12.0.18

ERROR LOG

Code:
Installation started in background
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* atomic: www7.atomicorp.com
* epel: mirror.23media.de
* openvz-kernel-rhel5: mirror.fastvps.ru

[Code] .....

View 13 Replies View Related

Plesk 12.x / Linux :: Can't Send Email - Unable To Read Control Files

May 22, 2015

Every out bound email message fails and stays in the queue. The mail log shows this error.

qmail: 1432283802.380653 delivery 27: deferral: Unable_to_read_control_files._(#4.3.0)/

A second problem, also qmail is that I can't send to the server using TLS on the submission port, only if I do plain text. But the first problem is bigger because we can't send at all.

This is a new plesk installation and it has never worked.

View 7 Replies View Related







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