Build a php development environment:1. Prepare and install the following software:MySQL 5.1.30: http://dev.mysql.com/downloads /.Apache 2.2.14: http://httpd.apache.org/. Three text boxes appear during installation, the above two enter your local IP (
I. What is SQL relay?
SQL relay is an open source database pool connected to the Proxy Server
Ii. What databases does SQL relay support?
* Oracle* MySQL* mSQL* PostgreSQL* Sybase* MS SQL Server* IBM DB2* Interbase* Sybase* SQLite* Lago* ODBC* MS
Write PHP extensions in C Language
1: pre-defined
In the home directory, you can also write a file in any other directory, such as caleng_module.def.
The content is the name and parameters of the function you want to define:
Int A (int x, int
First, make sure that lamp is configured successfully.
Environment: opensuse12.2 Lamp
What we need to implement today is the PHP File Upload module. The above image and PDF documents are used as examples.
The procedure is as follows:
Modify PHP. ini
Official Website: http://redis.io/download
Windows
Reference to http://www.cnblogs.com/chenping-987123/archive/2012/01/29/2331079.html
I learned some basic operations
Redis-Server:
Redis-benchmark:
Redis-CLI:
Then PHP drops redis
First, enable the mcrypt software to run, then install the PHP extension module and configure it in PHP. ini.
The mcrypt software depends on the libmcrypt and mhash libraries, so the installation configuration sequence is from right to left.
I
What is CGI?
CGI is a common gateway interface. It is a tool for the HTTP server to "talk" with programs on your or other machines, the program must run on the network server.
CGI can be written in any language as long as it has standard input,
The following is a method: If (! Function_exists ('imagecreate ')){Die ('the current server does not support GD module ');}If not, how can I configure it? Download the dll file of the gd module, modify php. ini, and restart the server.The PHP plot
Install and use eAccelerator. 1. install PHPeAccelerator on github. comeacceleratoreacceleratordownloads to download the latest installation package, decompress the installation package, go to the decompressed folder directory, compile: Copy
1.
This article mainly introduces how to add Xdebug extensions in PHP. For more information about how to download the corresponding DLL
2. Place the file in the ext folder under the PHP installation directory.
3. modify php. ini
The code is
This article provides a detailed analysis of php_screw1.5: php encryption: Installation and Use. For more information, see the php file stored on the server in text format, it is easy for others to read the source code. to protect the source code,
Use php + iist1 on windows. Download php4.0.62 from www.php.net. Decompress php-4.0.6-win32.zip to c: php 3. Configure php3 on webserver. Copy the following four files in the dlls directory to expat. dllsablot. dllx in windowssystem (32) and use php
Php_screw1.5: php encryption: installation and usage details. Php files are usually stored on the server in text format and are easily read to the source code. to protect the source code, you can encrypt the source code. to implement this function,
Summary of optimizing PHP code skills. Summary of optimizing PHP code skills 1. if a method can be static, it is declared as static, and the speed can be improved by 14; 2. echo is more efficient than print, because echo does not return values,
The iconv function library can convert character sets. it is an indispensable basic function library in php programming. 1. download the libiconv function library http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.9.2.tar.gz;
2. decompress tar-zxvf
Build a PHP development environment in Windows. There are many Integrated PHP development environments, such as XAMPP and AppServ ...... the PHP environment can be set up with one-click installation. However, this installation method is not flexible
Question 1: Why does "APACHE. EXE: cannotdeterminelocalhostname." appear ."? Answer 1: because ServerName is not specified by default in Windows Apache, an error occurs during running. The solution is to modify httpd in the conf directory under the
Php memory is insufficient. When you run the php program again, Allowedmemorysizeof8388608bytesexhausted (triedtoallocate1298358bytes) occurs. cause: make sure it is not the cause of the program (for example, when you run the php program again
For security reasons, the server does not allow php or other languages to execute the exec command. when you have special requirements for php to execute the exec command on the server, you need to set two places, otherwise, the execution will fail.
This article introduces how to import massive data to a database by reading TXT files based on PHP. A friend in need has a TXT file containing 0.1 million records. the format is as follows:
Column 1 column 2 column 3 Column 4 column 5A 00003131 0 0
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.