More than 3 million Internet website administrators around the world are using PHP, making it one of the most popular server-side scripting languages. It is characterized by fast running speed, stability, reliability, cross-platform, and open source software. Depending on your level of use, PHP can be as simple as it can be as complex as just sending HTML table elements, or you can integrate Java and XML into your PHP application.
If you have a certain understanding of PHP or have read some preliminary textbooks, these techniques can expand your understanding of PHP and enable you to master some common and advanced PHP functions.
1. Install PHP as Apache's DSO
PHP is often used with Apache on the LinuxUnix platform. When installing PHP, there are three installation methods to choose from: static mode, dynamic mode (DSO), and CGI binary mode.
Due to ease of maintenance and upgrades, I highly recommend installing PHP in the DSO way. For example, if the installed PHP only supports databases during the initial installation, and then you want to install modules that support encryption, just run "make clean", add new configuration options, and then run "make" and "make install", one The new PHP module will be installed in the appropriate location in Apache, and Apache will be restarted without recompiling Apache.
The following steps will install a new Apache and install PHP in DSO mode:
[url=http://www.now.cn/indexr.php?r=!bbstoudeng]
1. Get it from the Apache Software Foundation The latest version of Apache source code;
2. Place the obtained source code in the usrlocal or opt directory, or any directory you specify;
3. Run Gunzip to decompress the file and obtain a file with the suffix .tar;
4. Run the following command to install the file into the apache_[version] directory:
tar -xvf apache_[version].tar
5. Enter the usrlocalapache_[version] directory (or the directory where the compressed file was installed in step 4) ;
6. Type the following command to prepare for compiling Apache, replacing [path] with your own path, for example, usrlocalapache[version]. Now that the new value of mod_so has been set, it will allow Apache to use the DSO module;
7. Type make after returning to the prompt state, and wait to return to the prompt state again;
8. Execute the "make install" command.
At this point, Apache has been installed and the system will return to the prompt state. Next we start to install PHP:
2. Dialogue using PHP itself
3. Files are our friends
4. Maintenance of PHP and file systems
5. Rich array functions
6. Creation of dynamic images
7. Based on PHP user certification
Eight, PHP and COM
Nine, PHP and Java
Ten, PHP and XML
Brothers IT education: www.lampbrother.net
Brotherhood Gao Luofeng free apprenticeship: http://www.hdb.com/ party/lzcw-comm.html
PHP Video Teaching School-Brothers IT Education| PHP" Essential Edition, please contact the official website customer service for details:
http://www.lampbrother.net