Tag: PHP
-
Post Views: 11 1. Screenshot of the code that can be verified successfully under Windows 8.1: 2. When the RESTClient test under FIFEFOX of CentOS, the verification fails: 3. Analyze the code and find that the loading intl extension failed: 4. Run the command on CentOS: yum install php-intl to install the intl extension: 5. The intl installation is successful,…
-
Post Views: 16 1. You need to implement this URL first:https://www.shuijingwanwq.com/2014/12/26/439/ 2. The current php version is php 5.3.3 3. Edit /etc/yum.repos.d/remi.repo, set[remi]Enabled=1 below,[remi]Indicates php 5.4 version, there are 5.5 and 5.6 below, here use 5.4 4. Execute the yum repolist command to see if the remi source is added successfully 5. Uninstall PHP 5.3.3 related programs 6. Install the…
-
Post Views: 12 Because passport.xxx.com and soft.xxx.com are two secondary subdomains of xxx.com, in the case of both processing exit status, the Send a synchronization login notification through ucenter to realize login, but in many cases, passport.xxx.com and soft.xxx.com may One is the login status, the other is the logout state; at this time, you need to realize the synchronization…
-
Post Views: 11 1. Use Putty to connect to the server remotely; 2. The current operating system is CentOS 6.5 64-bit. 3. Check the disk space usage, command: df-h 4. Check the disk space usage, including the data disk that has not been mounted, command: fdisk-l Friendly reminder: If you execute the fdisk -l command and find that there is…
-
Post Views: 9
-
Post Views: 11 The reason is that there are no expansion packs in the official source! Since the source code compilation and installation is more troublesome, I decided to add another source, and finally decided to use the EPEL source. The steps to install the EPEL source are as follows: 1. Install the yum priority plugin yum install yum-priorities…
-
Post Views: 16 First, the installation steps of Apache are as follows: 1. Prepare the installation file of apache. Its download address is:http://mirrors.hust.edu.cn/apache/httpd/binaries/win32/,其文件名称为:httpd-2.2.25-win32-x86-no_ssl.msi。其中2.2.25表示Apache服务器的版本号;win32-x86表示此安装文件是专门为Windows操作系统提供的;no_ssl表示此安装文件不支持安全套接层协议SSL。 2. Double-click the installation file “httpd-2.2.25-win32-x86-no_ssl.msi” to start the installation, as shown in the picture apache-1. 3. Click the “Next” button in the welcome interface to start the next step, as shown in the picture Apache-2. 4.…
-
Post Views: 16 http://cn2.php.net/manual/zh/function.file.php file — read the entire file into an array, through the file function, you can directly correspond to the data in the database one by one, and complete the modification of the data!
-
Post Views: 52 The difference between echo(), print(), print_r() echo() is a language structure, no return value The function of print() is basically the same as echo(), and it is also a language structure. The difference is that print has a return value, and always returns 1 print_r is a recursive print for output array objects 2. What is the…