PHP is used by administrators of more than 3 million Internet sites worldwide, making it one of the most popular server-side scripting languages. It is characterized by fast running, stable and reliable, cross-platform, and open source software. Depending on the level you use, PHP can be very simple or complex, you can use it to send HTML table elements only, and you can integrate Java and XML into your PHP application.
If you have a certain understanding of PHP or have read some preliminary teaching materials, these techniques can expand your understanding of PHP, so that you master some of the common and advanced PHP features.
First, the installation of PHP as Apache DSO
PHP is often used with Apache on the Linux/unix platform, with three installation options available when installing PHP: static mode, dynamic mode (DSO), CGI binary mode.
Because it is easy to maintain and upgrade, I strongly recommend that you install PHP in DSO mode. For example, if you installed PHP to support only the database at initial installation, and then you want to install a module that supports encryption, just run "make clean", add new configuration options, and then run "make" and "Make install". A new PHP module will be installed in the appropriate location in Apache, and then re-launch Apache without recompiling Apache.
The following steps will install a completely new Apache and install it in the DSO mode:
1, from the Apache Software Foundation to get the latest version of the Apache source code;
2. Put the obtained source code into the/usr/local/or/opt/directory, or any directory you specify;
3. Run Gunzip to unzip the file and get the file suffix. tar;
4. Run the following command to install the file into the Apache_[version] directory:
TAR-XVF Apache_[version].tar
5. Enter the/usr/local/apache_[version] directory (or the directory where the compressed files are installed in step 4);
6. Type the following command to prepare for compiling Apache, replace the [path] with your own path, for example,/usr/local/apache[version], and now set the new value of Mod_so, which will allow Apache to use the DSO module;
7. After returning to the prompt state, type make and wait to return to the prompt again;
8. Execute the "make install" command.
Now that Apache is installed, the system will return to the prompt state. Next we start installing PHP:
Second, the use of PHP itself dialogue
Third, the document is our friend
Iv. Maintenance of PHP and file systems
Five, rich array functions
Vi. creation of dynamic images
Seven, PHP-based user authentication
Viii. php and COM
Ix. PHP and Java
X. PHP and XML
http://www.bkjia.com/PHPjc/486085.html www.bkjia.com true http://www.bkjia.com/PHPjc/486085.html techarticle PHP is used by administrators of more than 3 million Internet sites worldwide, making it one of the most popular server-side scripting languages. It is characterized by fast running speed, stable and reliable, cross-platform ...