installation
1. First download PHP 5.2.5 (http://www.php.net/downloads.php)
The PHP installation path in this article takes c:\php
2. Download and get php-5.1.2-win32.zip, directly all to the C:\php\ directory can be php file storage directory c:
Safety
One, Web server security
PHP is nothing but a Web server module function, so first of all to ensure the security of the Web server. Of course, the Web server to be secure and must first ensure that the system security, so it is far, endless.
The development of WAP can not be separated from its www, after all, the whole WAP protocol is developed according to the WWW model, and as far as possible to follow the Internet's many standards and technologies, such as the WML language derived
PHP Programmer One, this environment is a personal note bar, posted out
Environment:
CentOS 5.5
The mirror address will not be posted.
php-5.4.20
Address: http://museum.php.net/php5/php-5.4.20.tar.gz
Mysql-5.. 5.48 (Universal binary format)
Address:
Because the company requires the latest version of the ZABBIX2.4.4 need the latest version of the system CENTOS7 and the new version of the LNMP environment, so I feel the use of a new version of the environment to build a LNMP system, the
The server is installed with the 6.3 version of CentOS, the default PHP version is 5.3, the version is too low, so that the latest open source framework does not work, want to run the latest open source framework must upgrade the PHP version, but
One, Web server security
PHP is nothing but a Web server module function, so first of all to ensure the security of the Web server. Of course, the Web server to be secure and must first ensure that the system security, so it is far, endless. PHP
/* 1. First solve the Internet 1-1. Refer to the Networked status file # cd/etc/sysconfig/network-scripts # vi ifcfg-eth0 1-2. Edit the Networking form See figure 1-2 1-3. Restart Network # service Network Restart | /etc/init.d/network Restart 2.
About LempLEMP Stack is a group of open source software to get Web servers up and running. The acronym stands for Linux, nginx (pronounced Engine x), MySQL, and PHP. Since the server is already running CentOS, and the Linux part was taken care of.
Suddenly do not know how the whole, the Wamp MySQL service can not start the whole, worry Mulberry.Click Restart MySQL service :PHP integrated Environment wamp MySQL service wampmysqld not start, always prompt error 1067: The process terminated
In PHP, the Mysql_connect module has been gradually deprecated, I did not install the MySQL extension when setting up the environment, but today in the maintenance of an old project, an error occurredFatal error:uncaught error:call to undefined
This article mainly introduces, the simple construction LNMP environment, own environment, own decisionPreparation requirements: The new LIUNX environment, this article uses the centerOS6.0Nonsense not much to say, look directly at the steps:1. Open
Prepare the article:CentOS 6.6 System Installation Configuration Illustration tutorialHttp://www.osyunwei.com/archives/8398.htmlFirst, configure the firewall, open 80 port, 3306 portVi/etc/sysconfig/iptables #编辑防火墙配置文件# Firewall configuration
Tengine + mysql + nginx + PHP1. Configure the FirewallVim/etc/sysconfig/iptables# Allow 80 ports to pass through the firewall-A input-m state--state new-m tcp-p TCP--dport 80-j ACCEPT# Allow 3306 ports to pass through the firewall-A input-m
Environment description
IP
programs that need to be installed
192.168.209.12
Nginx MySQL PHP
*LNMP The installation of the schema *① install Nginx② install Mysql③ install Php④ last
Static cache (static files stored on disk, with PHP generated data into static files)
A) PHP operation cacheI. Generating a cacheII. Get the cacheIii. Deleting a cacheDetermine if the directory exists: Is_dir ()DirName (__file__): You can get
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.