/centos/rpm-gpg-key-centos-5
#packages used/produced in the builds but not released
[Addons]
name=centos-$releasever-addons
baseurl=http://mirrors.sohu.com/centos/$releasever/addons/$basearch/
Gpgcheck=1
Gpgkey=http://mirrors.sohu.com/ce
Using yum in centos 5.x to Upgrade PHP to 5.2.x is the most convenient method.
Recently, testlink 1.82 was used. It is mentioned that PHP needs to be upgraded to 5.2 or above, while centos 5. x currently provides
. Install Nginx with yum, but Yum default source does not have nginx, need to change to Nginx official address:
The code is as follows
Copy Code
wget wget http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpmR
#released Updates[Updates]name=centos-$releasever-updatesbaseurl=http://mirrors.sohu.com/centos/$releasever/updates/$basearch/Gpgcheck=1Gpgkey=http://mirrors.sohu.com/centos/rpm-gpg-key-centos-5#packages used/produced in the build and not released[Addons]name=
/files/v2.8/cmake-2.8.8.tar.gz
Download Libmcrypt (phplibmcrypt module)
Http://nchc.dl.sourceforge.net/project/mcrypt/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz
5. Install the compilation tools and library files (install using the CentOS Yum command)
Yum install make apr* auto
How to install PHPJSON in centos environment. 1. download the source package: wgetwww.javasre.netprojectsphp-json2.decompress tarxvjfphp-json-ext-1.2.0.tar.bz2 3. go to the directory cdphp-json-ext-1.2.04. initialize PHP environment phpize report
1. download the source file package:
Wget http://www.aurore.net/projects/php
1. Update the system kernel to the latest version.
[Root @ linuxfei ~] # Yum-y update
After the system is updated, if an error message is prompted during Yum installation, run the following command to fix the problem.
[Root @ linuxfei ~] # Rpm-import/etc/pki/rpm-GPG/RPM-GPG-KEY *
2. Install apahce, PHP, MySQL, and PHP to connect to the MySQL library component.
[R
-2.2.1.tar.gz cd tengine-2.2.1./configure make make install /usr/local/nginx/sbin/ngin X/usr/local/nginx/sbin/nginx-s Reload #4. Install MySQL wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm RPM-IVH mysql-community-release-el7-5.noarch.rpm Yum install
My VPS, 2 GB memory, 8-core CPU test, but I did not use the above yum installation, but all installed with source code compilation. the test results are as follows:
PHP 5.3.1
MySQL 5.0.89
Nginx 0.8.33 or 0.7.65 (optional)
This is much better than what one-click installation package has been circulated on the internet. it is strongly recommended that this installation method be suitable for all Cainiao and experts. It is difficult to compile and
process run time requests– How many requests the current process has processed request duration– request Length (subtle) Request method (GET, PO ST, ...) Request uri– Requests Uricontent length– request Content Length (POST only) user– User (Php_auth_user) (or '-' if not set) script–php script (or '-' if not Set) Last request cpu– CPU usage. Last request Memorythe-memory used by previous requestsThis article is from the "Running Snail" blog, please m
Original Install Apache, PHP and MySQL on CentOS 7 (LAMP)This tutorial shows how can I install an Apache2 webserver on a CentOS 7.0 server with PHP5 Support (mod_php) and MySQL Support. LAMP is short for Linux, Apache,mysql, PHP.1
CentOS System with PHP version is very low, if we need to use a high version of PHP, you can not compile the installation, directly with the Yum installation will be very time-saving.
Brief introduction
PHP (Hyper-text preprocessor) is a general-purpose open source scripting language. The syntax absorbs the features
successfully installed.
5. associate the PHP module with the MySQL module
You also need to associate PHP with MySQL to work properly. Search module:
[root@localhost ~]# yum search php
Install related modules:
[root@localhost ~]# yum ins
Install method One, use wget to install directly
System: CentOS 5.5Required Packages: libmemcached-1.0.15.tar.gzMemcached-2.1.0.tgz1. Pre-Installation Preparation
The code is as follows
Copy Code
wget https://launchpad.net/libmemcached/1.0/1.0.15/+download/libmemcached-1.0.15.tar.gzwget http://pecl.php.net/get/memcached-2.1.0.tgz
I was built in the CENTOS5 environment of the Nginx server, using the PHP-FPM way to drive PHP, the following description of the use of the configuration process.
Environment:
Operating system: CentOS 5
nginx-1.0.12
php-5.3.10
1. Insta
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.