Quickly build an Apache + PHP + MySQL + nginx + memcached + ASP running platform with apmserv

Source: Internet
Author: User
Tags php website website server ssl certificate perl script
Transferred from: bytes/

Many new users who have just learned how to build a website have such troubles: PHPProgramMore and more, and most of them are open-source. If you want to learn PHP or use a PHP program to build a site, you can look at the settings of the PHP runtime environment and do not know where to start. It is different from the IIS settings, PHP runtime environment software such as Apache and MySQL are all in English. Today we will introduce you to apmserv, a multi-function runtime environment building software.

Apmserv software introduction:

Apmserv 5.2.6 is a quick and graphical Apache 2.2.9, PHP 5.2.6, MySQL 5.1.28 & 4.0.26, nginx 0.7.19, memcached 1.2.4, phpMyAdmin 2.11.9.2, OpenSSL, SQLite, and zendoptimizer, and green software for ASP, CGI, and Perl website server platforms. There is no need for installation and flexible mobility. When you want to replicate it to a local directory or another computer, you only need to click the start button in apmserv.exe to automatically set up and install Apache and MYSQL as system services and start them. Apmserv combines the stable and secure advantages of Apache and has a graphical management interface as convenient as IIS. It also supports MySQL 5.0 and 4.0 versions, virtual Hosts, virtual directories, port changes, SMTP, upload size restrictions, automatic global variables, SSL certificate creation, cache performance optimization, and other settings are completed with one click.

1. Note: the path of the apmserv program cannot contain Chinese characters or spaces.
2. MySQL Default User name: root, the password is blank
3. MySQL database file storage directory: mysql5.1 \ data or mysql4.0 \ data
4. Website root directory [HTML, PHP] www \ htdocs [Asp] www \ ASP [CGI, Perl] www \ cgi-bin
5. Use http: // 127.0.0.1/or https: // 127.0.0.1/to access the local machine (if SSL is enabled)
6. Non-Default port. The URL is http: // 127.0.0.1: Port/or https: // 127.0.0.1: Port/
7. If you choose to use memcached in "extended functions", the port number is 11211.
8. apmserv integrates the following software:

Apache 2.2.9 [http server]
Nginx 0.7.19 [http server]
Netbox 2.8 build 4128 [http server + ASP script interpretation engine]
PHP 5.2.6 [PHP script engine]
Miniperl 5.8 [Perl script interpreter]
Memcached 1.2.4 [key-value memory cache system]
MySQL 5.1.28 [MySQL database server]
MySQL 4.0.26 [MySQL database server]
PhpMyAdmin 2.11.9.2 [MySQL database online management tool]
Eaccelerator 0.9.5.3 [PHP script Acceleration Engine]
Zendoptimizer 3.3.3 [PHP script Acceleration Engine]
OpenSSL 0.9.8h [HTTPS (SSL) Secure Transmission Protocol]

Additional components:
(I) perl and CGI support (ActivePerl needs to be downloaded ):
Apmserv 5.2.6 comes with miniperl, which can run simple Perl and CGI programs. To run complex Perl and CGI programs, download ActivePerl and install it in the USR directory under the root directory of the partition where apmserv is located. If the directory of apmserv is E: \ apmserv5.2.6, select the installation path of ActivePerl as E: \ USR.
ActivePerl 5.8.8.819 for Windows, please go to the Chinese webmaster's house www. cnzz. CC to download

Note:
When software such as Xunlei, Skype, PPLIVE, and Bt is started, port 80 is occupied by default, which causes Apache to fail to start. Solution: first shut down the software, start apmserv, and then start the software.
Download and install apmserv

Apmserv Latest Version: http://code.cnzz.cc/5255.html (Official download: http://apmserv.s135.com/), software for the green version, download unzip, double-click to run the self-decompressed package, extract to an English directory, such as: D: \ apmserv5.2.6.

Run apmserv software and website

1. Run apmserv.exe and click "Start apmserv". The status bar prompts that Apache and MySQL are successfully started.

Tip: if it cannot be started, it may be that port 80 is occupied by software such as thunder and PPLIVE. You can disable port 80 or change the port number of aphache to another one, such as 8080.

 

2. Click access to the local website or run http: // 127.0.0.1 in the upper-right corner. Run http: // 127.0.0.1/phpinfo. php to view the php component running status. So far, we have set up aphache + PHP + MySQL.

Download PHP website programs to build your own website

Here we use the well-known PHP open-source website management program phpcms2008, which can be set up using phpcms2008, including: NewsArticle+ Images, downloads, classified information, Q & A systems, custom systems, and other multi-functional websites are even suitable for portal website construction.

TIPS: Chinese webmaster home source code network: http://code.cnzz.cc provides all kinds of including corporate websites, schools, portals, forums, blogs, novels and other types of ASP, PHP, Asp.net free program download.

1, to the http://code.cnzz.cc or phpcms official website http://www.phpcms.cn to download the latest version of phpcms program, download and decompress to D: \ apmserv5.2.6 \ www \ htdocs.

2. Run http: // 127.0.0.1. The following screen is displayed, prompting you to install the phpcms2008 program.

 

3. Click "please click here to start installation" and follow the prompts to perform further operations. when entering the database information, the database server uses the default database account: Root, the password is blank (as shown above). You can retrieve the Database Name and set the database prefix to the default one. You can also change it to what you want, enter the website administrator's username, password, and email address. Use the default password for others. click Next;

 

4. The installation is in progress. Please wait for dozens of seconds and prompt that the installation is complete.

Set and manage websites

1. Run http: // 127.0.0.1. If you still see the prompt "Install phpcms" screen, it doesn't matter. It's a static page: \ apmserv5.2.6 \ www \ htdocsdownload index.html to delete or to the background. Now let's take a look at our website. A powerful website appears before you;

2. Go to the stands and enter http: // 127.0.0.1/admin. php and log in with the username and password you just set;

 

Well, today we will talk about this. apmserv can not only set up the PHP runtime environment, but also run the ASP program. Because the ASP runtime environment is easy to set up, this site has repeatedly said, I will not talk about it here. I would like to thank apmserv for providing these powerful free software for beginners and wish you a pleasant site.

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.