Linux Installation configuration PHP environment method, Linux installation configuration PHP
The examples in this article describe how Linux installs the PHP environment. Share to everyone for your reference, as follows:
1. Get the installation file : http://www.php.net/downloads.php php-5.3.8.tar.gz
Get the support files you need to install PHP: http://download.csdn.net/download/netlong339/1351852 libxml
Install the php plug-in www. jb51.ne when running php eclipse, run the configuration, and debug the configuration settings
As mentioned in the previous blog on wamp installation, I will not talk about it here. For eclipse installation, refer to the following blog.
Eclipse installation
Http://jingyan.baidu.com/album/d7130635194f1513fcf47557.html
Php plug-in installation
Http://www.jb51.net/article/524
So deliberately write this configuration document, I believe that the following steps you will be successful. I hope you'll correct me in the wrong place.
This example is under Wiondws XP
php5.2.1 (Zip)
apache2.2.4
MySQL5.0.37
phpmyadmin2.10.0.2
ZendOptimizer-3.2.6
The installation and configuration
installation of Apache
1 Click Apahce Install package
2 Acceptance Agreement
3 The following 3 items
Configuration of the primary site (basic configuration)
(1) Basic Configuration:
Serverroot "/mnt/software/apache2" # location of your Apache software installation. If no absolute path is specified for other specified directories, the directory is relative to this directory.
Pidfile logs/httpd. pid # the location of the Process number file of the first HTTPd proc
Linux user configuration file (version 2) and linux configuration file/Etc/passwd file profiling
File Format:
Root: x: 0: 0: root:/bin/bash
Username: Password: UID: GID [default group ID]: annotation Description: Home Directory: shell [Part 7]
Linux user category:
Super User (root, UID = 0)
Normal user (UID = 500 ~ 60000) # The maximum value can be changed.
Pseudo user/special user (UID = 1 ~ 499)
# There
Troubleshoot CentOS7 IP configuration and network problems, and centos7 ip configurationNote content: CentOS7 configuration IP address and network troubleshooting Note Date: 2017.8.1 CentOS7 configuration IP Address: Because the CentOS operating system we installed is installed with minimal, therefore, there is no graphical interface or some software or plug-ins.
Detailed description of project-related configuration files extracted during vue-cli packaging, vue-cli configuration file
When using vue-cli for development, you often need to dynamically configure some settings, such as the request address of the interface (axios. defaults. baseURL), these settings may need to be set after the project compilation, so in vue-cli, We need to detach these
. Therefore, keepalived on the one hand has the server health detection function, on the other hand also has the HA cluster function. The official site of the keepalived is http:// www.keepalived.org, you can download to various versions here, we download here is keepalived-1.1.19.tar.gz, installation steps are as follows: [ROOT@DR1 ~] #tar ZXVF keepalived-1.1.19.tar.gz [root@dr1 ~] #cd keepalived-1.1.19 [Root@dr1 keepalived-1.1.19]#./configure --SYSCONF=/ETC \ >--with-kernel-dir=/usr/src/
Continuation of the articleFor those who want to use COCOS2DX to develop Android games, the most painful thing is to configure the Android environment and after the bizarre compilation failures. This is experienced after many successes and failures, blood and tears of the experience pack, please accept the good. If you have a more convenient way, please be sure to teach me, thank you!Android environment because of the Great Wall of China, you need some outside help, like a VPN or this website: a
[Preface]
When modifying the code in the storage environment, we often encounter complicated functions (modules ).
These functions will be related to the functions of some external sites.
① For example, to interact with a site, pass several values to the site, and then obtain several return values. (Toto)
② For example, read some configuration files and use httpclient to read the content in an XML file (equivalent to accessing an external site) (Yaho
The Code is as follows:
// Edit the web. config file
// Open the configuration fileConfiguration config = System. Web. Configuration. WebConfigurationManager. OpenWebConfiguration ("~ ");// Obtain the deleteworker NodeAppSettingsSection appsection = (AppSettingsSection) config. GetSection ("appSettings ");// Add an element to the deleteworker NodeAppsection. Settings. Add ("addkey1", "key1's value ");Appsec
Redis configuration file details, redis configuration file# Redis configuration file# When the memory size needs to be configured in the configuration, you can use 1 k, 5 GB, 4 M and other similar formats, the conversion method is as follows (Case Insensitive)##1 k =>1000 bytes# 1kb => 1024 bytes#1 m => 1000000 bytes#1
Precautions for uninstalling and installing Wamp (Please bypass integration) Precautions for uninstalling Wamp: Close the application and stop the service. In cmd, SC Delete MySQL SC Delete apache2.2 Notes for copying PHP: None of the files copied from PHP are PHP. INI but PHP. ini-embedded lopment and a PHP. ini-production we usually change the former name to PhP for development. configure PHP using ini Notes for installing MYSQL: Set the data directory to the installation directory, and s
Configuration Management is a general term for technical and management measures to ensure product consistency, stability, traceability, and rollback during software development.
Configuration management is often ignored because the focus of the software development process is "development.
Many people think that the document andCodeIn version management tools, it is called
Ueditor1.4.3 configuration process (including the use of separately uploaded files and images), ueditor1.4.3 upload Configuration
Here we use the UTF-8 version of the jsp version of ueditor1.4.3.
Download the corresponding ueditor and copy the ueditor folder to the project. The file structure is as follows:
Then, import the jar package used by the project to the lib directory. Before importing the package,
I wrote an article about AR configuration a few days ago. I wrote it after I made a small instance for a friend who just learned AR. I used IConfigurationSource, activeRecord is in the web. as configured in config, ActiveRecord can be written elsewhere or dynamically configured. For example, it can be configured using XML or Hashtable. next I will briefly introduce how to configure it.
1. Use XML configuration
Tomcat multi-domain configuration and Tomcat Domain ConfigurationEnvironment
One tomcat, multiple projects are deployed below
There is an independent IP Address
Multiple top-level (second-level) domain names direct to different projects.
DNS Configuration
DNS has no special requirements. You only need to point all configurations to this IP address.Tomcat configurati
POJO class and ing configuration file, pojo ing configuration file
Requirements on persistent objects
1. Provides a no-argument Constructor so that Hibernate can use Constructor. newInstace () to instantiate a persistent object.
2. Provide an identifier property ). It is usually mapped to the primary key field of the database table. Without this attribute, some functions will not work, such as Session. save
First, the configuration is delimited by the = sign, preceded by the expression of the configuration item, followed by the configured valueFunction: Can read TXT configuration file and modify TXT configuration fileWe can understand the form of key=value, above, can explain some, no nonsense, the code below it.Private S
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.