Plesk 12.x / Linux :: Multiple PHP Not Working With Installed MySQL
Dec 19, 2014I've enabled one more php using this guide: [URL] .... but mysql is not working with the new php installation, how to get it working?
View 7 RepliesI've enabled one more php using this guide: [URL] .... but mysql is not working with the new php installation, how to get it working?
View 7 RepliesI 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.
This is on a CentOS 7.1, Plesk 12. New.
On Plesk 10.4 I had a script that backed up my MySQL databases separately. The script doesn't work now. I get an error:
ERROR 1045 (28000): Access denied for user 'admin'@'localhost' (using password: YES)
Do I need to do something different with this new "MariaDB" thing?
Here's the script:
DB_BACKUP="/pat/to/databackup/`date +%Y-%m-%d`"
DB_USER="admin"
DB_PASSWD="-p`cat /etc/psa/.psa.shadow`"
HN=`hostname | awk -F. '{print $1}'`
[Code] ....
I tried to install Joomla on my server from applications ( Not manualy ) . I go at applications on plesk's panel then i click on Joomla and the click to install it. After that , it shows that it's downloadiing ( Downloading Joomla... ) and it isn't doing anything else. It remained stuck at 0% like forever. I waited more than 2 hours once, and it didn't do anything. It was just stuck at zero. Other applications are working.
View 1 Replies View RelatedI 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?
Does Parallels support Plesk 12 being installed on a Linux VM that is provisioned on Microsoft Windows Server 2012 R2 Hyper-V?Is it fully supported?
View 2 Replies View RelatedI have a problem with Parallels Plesk 12 Web Host Edition. In the dashboard, Plesk tells me that Spamassassin service is not running and not installed.
How to setting up it ? Is there a component, a service to buy, or do i have to configure it through SSH ?
I've installed PHP-FPM into Plesk 12 and it is showing as a running service. However I can't find any way of enabling it per site at all. I'm still just getting the 3 standard PHP options:
Apache module
CGI application
FastCGI application
The documentation states the option would be available on a per-site basis but it isn't.
i've uninstalled nginx and php-fm from plesk panel.but phpmyadmin info still showing it is running on nginx 1.6 and while uploading sql file i'm getting 503 gateway error.
View 3 Replies View RelatedIn the list of available webmail clients there's only Horde. Why don't I have Roundcube? I thought it's preinstalled with Plesk 11.5 and higher.
When accessing Horde webmail, the page never loads till the end and all I get is the top menu, no e-mails.
I are running an Plesk 11.5 on a Ubuntu 12.04 machine. Since days i have problems where i see scripts of phishing sites and mailer scripts installed in the httpdocs directory of various domain.
How I can prevent that people outsiders install this scripts on the server? Where is the bug that allows this?
i am relatively new to Plesk, i ordered a vserver with Plesk a couple of months ago and spend a lot of time setting everything up and developing several new websites. I am used to developping new websites on a hidden adress (sth like domain.com/dev/ instead of the top level) and then switch the document root to point to the hidden directory when all is done. This practice has served me and my clients well for the last 10 years.
Using the Plesk features like built-in applications seemed like a good idea at the time but wanting to switch the new websites live i have now found out that Plesk won't let me do this since..It is impossible to change document root because there are web applications installed on this website.
I had read somewhere on the interweb that the v12 would let me do this so i just spent the better part of today updating to v12 .. but alas no luck, the limitation is still there. Is there a way to remove this limitation ?
I wanted to permanently get rid of xcache from my Plesk 12 as some softwares we are using crashes if xcache is installed or enabled on server.
At present I am doing yum remove to remove xcache php extension from server which is allowing our software to work but after couple of days, its coming back again.
I found traces in autoinstaller log, but I am not sure how to completely disable only xcache for all php versions installed on server i.e. PHP 5.3, 5.4, 5.5
If anyone is familiar with memcache... I could really use your help.
I've installed memcache, added the extension to php.ini and it's all showing up when I do phpinfo...
However, when I try to run memcache, I always get that I cannot connect and when I try 'memcached' or 'memcache' from the command line, it always says it can not recognize it.
I have a file that creates subscriptions , customers and domains. moreover, also installed wordpress to new domain. it makes it through the php file .
The problem I have is that when installing wordpress on plesk domain is installed in a subdirectory called wordpress in the root directory instead .
Is there any way of changing the php file that is installed directly to root ?
Ask this because from the plesk panel is done, there is an option through the file but can not.
I tried adding an apache service node to PPA Admin Node.
I referred to the specs at [URL] ....
Specifications of the Apache server node are:
RHEL 6.4 64bit
RAM 3GB
CPU 2.5GHz
Free Space 18GB
Ports Opened:
80, 443: HTTP, HTTPS
8352-8999: Communication between a service node and PPA panels
22: Communication through SSH
20, 21: FTP connections
But when I tried adding it as a service node, PPA says The Linux platform installed on the remote host 'xx.xx.xx.xx' is not supported. Please, check the list of supported platforms.
how to setup pre-installed wordpress themes and plugins so that customers can have them as soon as they auto-install wordpress? I am sure the files are stored somewhere, but can't find it.
Also, any way to disable the auto-install wordpress link from domain.com/wordpress to just domain.com? Some in-experienced customers will have a hard time since they wouldn't understand that selecting custom is the way to go.
I installed the MySQL binary packages in /usr/local/mysql/ after removing the MySQL RPM package. MySQL is functioning when I executed /usr/local/mysql/bin/safe_mysqld. I reinstalled MySQL before I installed PHP. When I used a PHP script to access a MySQL database, it outputs an error:
Code:
Warning: mysqli::mysqli() [function.mysqli-mysqli]: (HY000/2002): can't connect to local mysql server through socket /var/lib/mysql/mysql.sock in index.php on line 2
However, I installed MySQL in /usr/local/mysql, not in /var/lib/mysql. How do I fix MySQL?
I just installed the Health Monitor add-on in a brand new Plesk 11.5.30 on CentOS 6.4 but all that it's area in Plesk displays is this funky looking error:
{"status":"error","statusMessages":[{"status":"error","class":"","content":"Unable to load configuration file.Click to expand...
"What anti-virus do you use on your postfix email server powered by Plesk?".Is there an anti-virus program that can be installed on Plesk version 12.0.18 as an extension or component? I need it primarily for protection of incoming email from malware.I've seen in Add or Remove Components in the Mail hosting features that I have installed Kaspersky antivirus, but I didn't seen anywhere that it actually can be configured from within Plesk. It also, as far as I can see, doesn't do anything. what is Kaspersky antivirus used for in Plesk and how can I configure it?
View 2 Replies View RelatedI have a list of bad Ips and would like to add it into iptables, but I don't went to enter one-by-one or by command line, I would like to insert into list file of iptables editing a file or something like that, where and how I can procedure to do this?
View 5 Replies View RelatedSince my /var partition is full, so I moved /var/lib/mysql to /backup/mysql/.
Seems all the files are copied and I changed my.cnf reboot mysql, but all the web sites using db is not working anymore..
After installing a separate SSL to domain.com and www.domain.com, for some reason host.domain.com, which is the subdomain for plesk login, isn't being secured by FTP when choosing "Secure Plesk" after choosing the correct SSL. No error occurs, nor does the dashboard respond to it. It stays the same and unsecured. I tried rebooting server, restart services, etc.
View 1 Replies View RelatedOS: CentOS 6.6
Plesk: 11.5.30 #48
ProFTPd: 1.3.4c
I am unable to connect over TLS/SSL using my FTP client. I have ports 989 & 990 enabled in my server's firewall. My FTP client is attempting connection on port 990, but times out waiting for the server to respond. I also tried adding "TLSProtocol TLSv1" or "TLSProtocol SSLv3" to /etc/proftpd.conf, but get the same result, except that a non-TLS/SSL connection attempt then returns "server closed the connection".
Recently I configured parallels 12.x on Linode Cloud with cent OS. Using DNS Settings I added 'A' record (abc.example.com) as abc and point to IP. But the record is not propagated after 24-48hrs.
View 2 Replies View RelatedI 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 RelatedI have plesk running on virtual machine on SSD drive but some web pages required large storage therefore I added second spinning hdd and mounted it into the file system.
How this could be used within plesk? I was trying symlink but that was not supported by FTP and apache.
I am running Plesk 12.0.18 on Centos 6.4
I have noticed that the CPU on my VPS maxes out. This occurs when there are many concurrent visitors to any of the 7 domains. 6 of the domains run Wordpress and 1 runs php-bb forum. When I run top during high cpu I see multiple "php-cgi":
32664 xxxx 30 10 211m 38m 8228 S 21.0 0.9 0:03.70 php-cgi
32675 xxxx 30 10 209m 38m 7992 S 25.8 0.9 0:02.08 php-cgi
30809 apache 30 10 422m 98m 2492 S 8.8 2.2 0:18.07 httpd
Looking at the process
PID TTY STAT TIME COMMAND
32664 ? SN 0:01 /usr/bin/php-cgi -c /var/www/vhosts/system/websitex.com/etc/php.ini
The net result is CPU hits 100% and visitors are greeted with Service Unavailable ...
Output from /usr/local/psa/bin/php_handler --list
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
On a plesk11 server (migrated from plesk9) I see multiple locations for the logfiles:
/var/www/vhosts/<DOMAIN>/logs
/var/www/vhosts/system/<DOMAIN>/logs
They don't seem to be (hard)linked. Why store logfiles on 2 different locations? Is there a way to make this more efficient?
Where I can find option for enable multiple log in for admin account?
View 6 Replies View RelatedI 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.