Setup of PHP environment based on sqlite3 background in Ubuntu

Source: Internet
Author: User
Tags php server sqlite

Recently ready to replace the company's servers with Linux

Database Sqlite3

The construction process is recorded as follows:

1 Sqlite3 Installation:

Apt-get Install SQLite

2.PHP Server Setup.

Apt-get Install apache2 LIBAPACHE2-MOD-PHP5

Apt-get Install PHP5

Apt-get Install Php5-sqlite

3 Reference: Http://www.cnblogs.com/wenanry/archive/2012/11/13/2767779.html

/etc/init.d/apache2 restart

Copy your own website into the directory

localhost/index.php

4 Configuring the default port

Gedit/etc/apache2/port.conf

Change 80 to 8001

Gedit/etc/apache2/sites-available/default

Change 80 to 8001

/etc/init.d/apache2 restart

localhost:8001/index.php

Setup of PHP environment based on sqlite3 background in Ubuntu

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.