Posted on 28 September 2009.
After a lot of research, as I couldn’t find answers on forums and other places. I found on sourceforge.net they released some rpm packages to integrate mcrypt and mhash with php.
First we need to install mcrypt and mhash as follows:
1) Install mcrypt & mhash
yum install mcrypt*
yum install mhash*
answer y to the question if matched your system (it should).
2) enable support for php. requires php-mcrypt and php-mhash packages:
yum install php-mcrypt*
yum install php-mhash*
If you get an error saying packages not signed (unsigned packages), do the following:
edit /etc/yum.conf
change:
gpgcheck=1 to gpgcheck=0
attemp step 2 again. Once completed change back yum.conf
Hope this helps and saves anybody else.
C. Lozano
Continue Reading
Posted in Linux, PHP, Plesk
Posted on 23 September 2009.
Resolution
By default, PHP limits uploaded files size to 2 MB, and this limit applies to all PHP application including Webmail. Edit the following options in /etc/php.ini file on the Plesk server and set the values that match your needs, for example:
upload_max_filesize = 32M
post_max_size = 32M
Restart Apache after the php.ini file modification.
Also, maximum attached file size can be changed in Horde configuration. See “attach_size_limit” option in the /etc/psa-horde/imp/conf.php:
$conf['compose']['attach_size_limit'] = ’0′;
Zero “attach_size_limit” value means ‘no limit’.
Additional information
Note that memory_limit should be larger than post_max_size.
If you insrease PHP parameter post_max_size do not forget to increase parameter memory_limit also.
Posted in Linux, Plesk
Posted on 16 September 2009.
Since I updated to plesk 9.2 I have problems with receiving mail after a few hours. When i check my system for active processes using “top” I receive a ton of entries like:
http://forum.parallels.com/showthread.php?t=92832 Continue Reading |
Posted in Plesk
Posted on 15 September 2009.
Task: Command line tool to manage services / Ubuntu runlevel
update-rc.d automatically updates the System V style init script links /etc/rcrunlevel.d/NNname to scripts /etc/init.d/name. These are run by init when changing runlevels and are generally used to start and stop. For example turn on ssh service type the command: Continue Reading
Posted in Linux, Plesk
Posted on 15 September 2009.
SSO (single sign on) is used to provide seamless browsing from one product panel to another without having to relogin everytime. In Plesk 9 SSO is mainly used to provide integration with Parallels Plesk Billing. If you are not using Plesk Billing then you can disable SSO.
[QUOTE]I also wonder if changing the “Full Hostname” on the “Settings” -> “Server Settings” page would help. Currently it is ip-000.000.000.000.ip.secureserver.net (with the actual IP has been changed to 0′s for this forum), but that doesn’t go to any address?[/QUOTE]
No quite sure, you can try to see if it does but if it does not you can set hostname that resolves correctly yourself in SSO preferences:
/usr/local/psa/bin/sso -g ==> to check current settings
/usr/local/psa/bin/sso -s ==> to change settings
/usr/local/psa/bin/sso –help for more info.
Continue Reading
Posted in Plesk
Posted on 15 September 2009.
On WebSites Explained, Erik posts the following ideas on how to backup your plesk server. In it, he writes:
If you have a Plesk server or virtual server, I’m sure you have though about how to backup that server. If you haven’t, please think about it now. Once your server dies on you you’ll be so sorry that you will be slamming your head against the wall.
I’ve researched and tried several options to backup my Plesk server and I’d like to share them with you, hopefully saving you some work and headaches. Continue Reading
Posted in Plesk
Posted on 14 September 2009.
server reached MaxClients setting, consider raising the MaxClients setting.
Please raise MaxClients and ServerLimit and restart Apache.
Edit /etc/apache2/apache2.conf and edit the follow!
or /etc/httpd/httpd.conf
Posted in Linux, Plesk
Posted on 11 September 2009.
When building a site in PHP, you might want to put an index.html up to keep unwanted eyes away from your new site.
The index.html however is overruled by index.php. Here’s how to fix this:
The file /etc/httpd/conf.d/php.conf contains the directive to add index.php to the DirectoryIndex. This directive overrules the previous made directive which contains the index.html.
Simply add index.htm and/or index.html in front of index.php, this will look something like:
DirectoryIndex index.html index.htm index.php index.php3
Now restart apache and you’re all done.
on debian and ubuntu
/etc/apache2/mod_enabled/dir.conf
Posted in Plesk
Posted on 11 September 2009.
Using Plesk 8.6 -9 on an Ubuntu 8.04 server ran okay until it became apparent that named wasn’t starting.
The problem is the apparmor!
It is apparmor :
sudo /etc/init.d/apparmor stop
Unloading AppArmor profiles : done.
laurent@madonie:~$ sudo /etc/init.d/bind9 start
* Starting domain name service… bind
…done.
What should I do then, let things like that with apparmor stopped ? Continue Reading
Posted in Linux, Plesk
Posted on 05 September 2009.
please log in as root via ssh to the server and check /usr/local/psa/PMM/ usage.
Probably you have old stuff on tmp/ var/ and sessions/ dirs.
Posted in Plesk