yum repolist-----------------------------------repo id repo name statusbase CentOS-6 - Base 6.346elrepo ELRepo.org Community Enterprise Linux Repository - el6 223epel Extra Packages for Enterprise Linux 6 - x86_64 8.351extras CentOS-6 - Extras 17plesk103-base Plesk 10.3 - Base 99plesk103-thirdparty Plesk 10.3 - Thirdparty 3plesk103-updates Plesk 10.3 - Updates 0updates CentOS-6 - Updates 1.185repolist: 16.224-------------------------rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum update
yum install php-mcryptsome times enter 'y' service httpd restartfinish, its works!
Related Posts:
Tối Ưu Hóa Và Bảo Mật Apache
1. Edit một số directive default trong httpd.conf để giảm thiểu việc lộ lọt thông tin cấu hình của máy chủ hoặc các tác vụ ko cần thiết:TraceEnable Off : Disable TRACE request methodServerSignature Off : Disable vi… Read More
Giám sát hệ thống Linux với netstat
Netstat là một công cụ hữu ích của Linux cho phép bạn kiểm tra những dịch vào nào đang kết nối đến hệ thống của bạn. Nó rất hữu ích trong việc phân tích cái gì đang xảy ra trên hệ thống của bạn khi bạn cố gắng ngăn chặn một … Read More
What are the best linux permissions to use for websiteQuestion:
I have a Linux web server running Apache2 that hosts several websites. Each website has its own folder in /var/www/.
/var/www/contoso.com/
/var/www/contoso.net/
/var/www/fabrikam.com/
The base directory /var/www/… Read More
Copy a folder linux
I'm a new Linux user. How do I copy a directory or folder under Linux operating system using command line options and bash shell?You can use various command to copy a folder under Linux operating systems.
cp Command
cp … Read More
Enable log slow query mysqlIn order to enable slow query logs for MySQL on your system you would need to do the following.
1st Step is to edit your my.cnf file which is located in your /etc directory.
vi /etc/my.cnfPlain Text
Once you have your my.cnf… Read More