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.
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.
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.
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:
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?
Microsoft Windows Server 2012 R2 12.0.18 Update #26
After the creation of a subscription, DNS does not work properly.
The last successful subcription was created Sept 26, 2014.
I thought something ontoward had happened at first so attempted to delete the subscription and re-create.
On attempting to delete the subscription the following error is given
Error: Some of the selected subscriptions were not removed. Unable to remove domain: Error during domain.com removeZone: dnsmng failed: Unknown error 0x80131509 (COM Interop Error 80131509, Description: System.InvalidOperationException: Operation is not valid due to the current state of the object. at System.Management.ManagementObject.Delete(DeleteOptions options) at System.Management.ManagementObject.Delete() at WMIMsDNS.Provider.DeleteRecordsByType(String zone, String type) at WMIMsDNS.Provider.DeleteZone(String zone, UInt32& serial)) at removeZone ZoneName = 'domain.com'Click to expand...
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE plesk parrells ,12.0.18 ,Update #26 ,centos 7 , 64 bit PROBLEM DESCRIPTION file in documenRoot folder eg httpdocs wont display properly STEPS TO REPRODUCE create a new sLTubscriptions , then ftp files into document root folder using filezilla
[Code] ....
The weird thing is when I put the files into a subdirectory (eg www.example.com/home /) the site itself shows correctly. But when I put the files back into the document root folder(eg httpdocs) it doesn't show correctly. Also no css or javascript error messages show up in the chrome debug window?
In the Wordpress Toolkit several WP installs appear with exclamation mark and title: "A Wordpress installation was previously detected at this path, but it is not operating properly".
I am relatively new in Plesk and have problems with mail not being sent properly. On the server, there is installed a WordPress installation. Mail from this WordPress installation never reaches for example suscribers. Almost all mail remains in the Queue and will be deleted after 7 days. Could it be because I do not have an SSL Certificate? I use:
I have two domains as virtual hosts on same IP address.
I am getting certificate error for the second domain when I try to check email (using MS Outlook). I can't permanently "accept" certificate, it complains again and again. Certuficate I created and self signed for imap.domain1.com, but the second email server is imap.domain2.com, so it complains.
How do I set separate email certificates for two domains? Is it possible at all?
How to get plesk (12) to set the SOA record properly on existing domains?
Let me explain the issue first. We use PowerDNS supermaster mode as slave servers. The way this works is we configure PowerDNS so that it sees the plesk server as a so called supermaster.
When a so called supermaster notifies the slave servers on a zone update, if it doesn't exist it just adds the zone and pulls it in. This works very nice and without any scripting required (there's only the issue of removing them, I just have a script that deletes all domains that haven't been able to update in 2 weeks every day from the database).
The only issue here is that BIND does *NOT* ever notify the nameserver listed in the SOA. The nameserver listed in the SOA should be the master (and hence - thus plesk itself) and it being a master it should be where the changes occur and notifying it isn't necessary thus, which is why BIND doesn't do that.
Unfortunately plesk doesn't seem to grasp this concept. It will happily put any nameserver in the SOA record. Have adjusted the template and it seems to work ok for new domains now (not sure how reliably though), but it's a major pain for the existing ones. It's very hard to update them properly.
Reapplying template -> no change to master NS/SOA Switching mode to slave and back to master -> no change to master NS/SOA Resetting to default -> no change to master NS/SOA
The only way I've found so far is to delete the records manually, add them again and hope it doesn't change the order (yes it does this a lot, you'll have the correct order listed, click apply and the order just changes. Some times it adds them to the bottom of the list, some times to the top - not confusing at all).
Plesk really should be taught that if it's master, it should be the one in the SOA. Whilst my issue is larger due to the supermaster and slaves not creating the zone (and hence my slave not functioning), it is an issue in any setup because a slave listed as SOA will not be notified and doesn't pick up on the changes right away. Depending on the refresh times it might take quite some time for the slave to pick up the change then, which isn't desirable either as it will leave you with a slave that still returns incorrect records.
I am using SSL on my site but am having trouble in getting it to work correctly. I want to make it mandatory that the sections in <webaddress>/members and <webaddress>/admin are protected by SSL. I currently have the following in the httpd.conf file:
SSLEngine on SSLCertificateFile /usr/local/home/pm42/finalcert.pem SSLCertificateKeyFile /usr/local/home/pm42/privkey.pem SSLCertificateChainFile /usr/local/home/pm42/finalcert.pem
Most of the time it sends and recieves the email OK.
From time to time, the mails bounce. For example if I send to someone at Hanmail (major korean provider) then it always bounces. Similarly, sometimes people say they sent an email to the server and it bounced back to them.
I guess something is not set up right, maybe MX record or some other mysterious thing. How can I troubleshoot/solve this?
I MUST fix this so I will be back to check on this thread often,
I have a slight problem with a cron job I have setup.
I wanted to save a copy of iptables every hour to a folder, so I created a script... here it is:
Code: varDate=`date +%y%m%d` varTime=`date +%H%M`
filename="IPtablesBackup-$varDate-$varTime" iptables-save -c > /etc/IPtablesBackup/$filename and called is Backup-Script.sh
Now if I just execute the script will in root ./Backup-Script.sh I get a new file with the correct filename and iptables info is saved ! Great ! So then I thought, how can I setup this automatically every hour.
Which leads me on to my problem. I inputted "crontab -e" added this line
Code: 59 * * * * /etc/IPtablesBackup/Backup-Script.sh The problem is the script is run, I know because it creates a new file with the correct time and date, however the file is empty?
I have set Backup-Script.sh to 777 and owner and group are both root?
I have installed a version of php (v5.4). My Web run correctly before and now not. My web is Joomla 2.5. I recived this error:Fatal error: Class 'JConfig' not found in /var/www/vhosts/*********/httpdocs/includes/framework.php on line 56.
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.
I've tried a few times to update php on my server from version 5.3 to the latest 5.5 however it keeps conflicting with apache2 that's installed and I ended up having to re-install everything as I accidentally deleted Plesk attempting to fix it.
Ideally I'd rather just run nginx with php-fpm without apache but it's not as straightforward anymore with plesk and how to go about updating PHP?
I've got a clean install of Parallels Plesk v12.0.18_build1200140606.15 running on Ubuntu 12.04.2 LTS.
I'm still using Plesk 11.5.30 and MySql 5.5.39. That was discribed here how to update. But i need to have a MySql 5.6.5 (minimum) for some software (This version is over 2 years old). I'm using CentOs 6.5. and PHP 5.4.33
I have new Linux server with CentOS 6.6 on it. I have tried to install Plesk version 12.0.18 on it.
During installation process from http://autoinstall.plesk.com/plesk-installer shell script I'm getting error: START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:09:44 CST 2014 ***** problem report ***** ERROR while trying to SMB database not created Check the error reason(see log file: /var/log/plesk/install/plesk_12.0.18_installation.log), fix and try again STOP Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:10:01 CST 2014: PROBLEMS FOUND START Bootstrapper 12.0.18 prep-install for BASE AT Fri Dec 5 19:15:46 CST 2014
---TRANSACTION 0 0, not started, process no 32603, OS thread id 139715979196160 MySQL thread id 38, query id 7054 localhost admin SHOW ENGINE innodb status -------- FILE I/O -------- I/O thread 0 state: waiting for i/o request (insert buffer thread)
When I click upgrade now at the plesk panel I get following error:
Parallels Panel pre-upgrade check... WARNING: The proftpd FTP service will fail to start in case the support for IPv6 is disabled on the server. Please check [URL] .... for details.
Is it safe to proceed? I guess it shall be automatically?
I'm new to Plesk - I've inherited a web site for a local social club so have just been handed login and password. I believe I have version 11.0.9 and as I can see mention of an Apache webserver I'm guessing its linux.
So - I want to redesign and use Joomla so I can share the content updating with others.
I can't install Joomla as I have PHP 5.1 and need 5.3. I have no 'server' or any sort of option I can find (and I've looked everywhere!) to find a command line or somewhere I can run things.
When I try to allow SSH access the option says Forbidden and there is no option to change it.
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.
i notice in the release notes for 11.0.9 update #63 that the 'internal php version is updated to 5.3.29'.i have been using php 5.4 for some time now (installed outside of plesk since php 5.4 it's over 3 yrs old now and php current versions are 5.7 now...).
IF i would install this update #63, is it going to DOWNgrade my php in use on the server for all of my sites? then i'll have to re-upgrade after installing #63. and if yes, when i install #64, #65, etc... do i have to do that from now on? how this automated update works under the covers so i can get the security updates without downgrading my php version in the future unintentionally.
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.
After the micro update, the database copy function started to hung even just for copying database with 4 tables with less than 10 rows of recrods. Although I followed the link below to remove the hung database copy and remove the unfinished database copied. URL....However, no successful database was copied at all even after the timeout was adjusted.