centos6.5 on configuration Apache + MySQL + php4.4.9 + eaccelerator-0.9.5 + postgresql-8.3.13 Memo

Source: Internet
Author: User


1, Apache + MySQL directly using Yum installation

Yum-y install httpd httpd-devel mysql mysql-server httpd-manual mod_perl mod_auth_mysql mysql-connector-odbc mysql-devel Libdbi-dbd-mysql

2. Compiling PostgreSQL
-----

3. Compiling php4.4.9
./configure--enable-mbstring--with-zlib--without-iconv--with-mysql--with-pgsql=/usr/local/pgsql--with-apxs2=/ Usr/sbin/apxs
Make clean
Make
Make install

4. Compiling eaccelerator
Export php_prefix= "/usr/local"
$PHP _prefix/bin/phpize
./configure--enable-shared--with-php-config= $PHP _prefix/bin/php-config
Make
Make install

5. Modify the php.ini file
extension= "/usr/local/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so"
Eaccelerator.shm_size= "16"
Eaccelerator.cache_dir= "/tmp/eaccelerator"
eaccelerator.enable= "1"
Eaccelerator.optimizer= "1"
Eaccelerator.check_mtime= "1"
eaccelerator.debug= "0"
Eaccelerator.filter= ""
Eaccelerator.shm_ttl= "0"
eaccelerator.shm_prune_period= "0"
eaccelerator.shm_only= "0"

Create a Directory
Mkdir-p/tmp/eaccelerator
chmod 777/tmp/eaccelerator

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.