Linux Server Web Environment one-click installation package LANMP Tutorial Five

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

After we installed the Linux Server Web environment a key installation package LANMP, there may be a lot of questions there is the use of the process of the problem, the following for you to sum up a few more common, if there are other questions, you can go to the Wdlinux forum to find relevant tutorials.

1. Add Pdo_mysql Module

The default PHP installation, only installed a common default module, some not commonly used or less used, there is no default install

This can be increased by using the following methods to increase pdo-mysql as an example

wget http://pecl.php.net/get/PDO_MYSQL-1.0.2.tgz

Tar zxvf

Pdo_mysql-1.0.2.tgz

cd

pdo_mysql-1.0.2

/www/wdlinux/php/bin/phpize

./configure

--with-php-config=/www/wdlinux/php/bin/php-config

--with-pdo-mysql=/www/wdlinux/mysql

Make

Make install

Add to configuration file

# VI

/www/wdlinux/etc/php.ini

In the final join

Extension=/www/wdlinux/php/lib/php/extensions/no-debug-non-zts-20060613/pdo_mysql.so

Then restart the Web service, such as

Service httpd Restart

Service Nginxd Restart

2, for LANMP/WDCP does not support the problem of microblogging/QQ login (HTTPS) solution

The reason is that Apache does not have the support of SSL, as long as the recompilation of Apache can be (Lamp/lnamp version of the environment)

Execution can be done as follows (for httpd-2.2.22 version)

wget http://down.wdlinux.cn/in/http2222_ssl.sh

SH http2222_ssl.sh

No error, install complete.

If the LNMP version of the environment, then use the following test (for the default php-5.2.17 version)

wget http://down.wdlinux.cn/in/lnmp_php_ssl_5217.sh

SH lnmp_php_ssl_5217.sh

3, lamp|lnmp|lnamp/installation Ioncube

The above is for the httpd-2.2.22 version, if not this version, can be changed to the corresponding version number can be

First, implement

1. uname-a

Copy Code

Check to see if the system is 32-bit or 64-bit.

I'm here with 32-bit, 64-bit.

Implementation

1.

2. Cd/www/wdlinux/php-5.2.17/lib/php/extensions

Copy Code

And then execute

32-bit

1. Wget-c http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz

Copy Code

Download

64-bit

1. Wget-c http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz

Copy Code

Re-execution

32-bit

1. Tar zxvf ioncube_loaders_lin_x86.tar.gz

Copy Code

64-bit

1. Tar zxvf ioncube_loaders_lin_x86-64.tar.gz

Copy Code

Unzip the package.

Modify/www/wdlinux/etc/php.ini Add the following code at the end of the file:

1.

2. [Ioncube Loader]

3. zend_extension= "/www/wdlinux/php-5.2.17/lib/php/extensions/ioncube/ioncube_loader_lin_5.2.so"

Copy Code

It's best to put it on top of the Zend to achieve Zend Optimizer and ioncube perfect coexistence.

This tutorial is excerpted from Wdlinux forum http://www.wdlinux.cn/bbs/, reprint please specify!

Related reading:

Linux Server one-click installation package LANMP one of a series of tutorials

Linux Server Web Environment one-click installation package LANMP Series two tutorials

Linux Server Web Environment one-click installation Package LANMP Series Tutorial Three

Linux Server Web Environment one-click installation package LANMP Series Tutorial Four

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.