Home  >  Article  >  Backend Development  >  PHP XML Classes for MySQL_PHP Tutorial

PHP XML Classes for MySQL_PHP Tutorial

WBOY
WBOYOriginal
2016-07-15 13:25:22673browse

I assume people use PHP because of its price tag: free. MySQL provides a free database solution for developers who need to add database functionality to their systems. The disadvantage of these solutions is that they are somewhat complex to set up and manage.

The PHP version I used in this article is PHP 4.3.4 for Win32, which can be downloaded from The PHP Group. The version of MySQL is MySQL 4.0.16 for Win32, which can be obtained from MySQL.com. Installing MySQL is easy - just follow the instructions. PHP is a little more complicated.

There are two files on the PHP download page: a ZIP file and an installation file. Because we need to add the extension in the ZIP file, both files need to be downloaded. The following is a simple step to do after downloading:

1. Install PHP using the installation file;

2. Unzip iconv.dll and place it in the Windows system folder;

3. Create a directory "extensions" in the PHP installation directory (default is C:PHP);

4. Unzip the PHP_domxml.dll file to this directory;

5 . Find the PHP.ini file in the Windows folder and open it with Notepad or other text editor. Find "extensions_dir=" in this file, and then change its value to the full path of the extensions folder set in step 3;

6. Find ";extension=PHP_domxml.dll" and delete the beginning of this line semicolon;

7. Restart the web server.

Then use the following code to create a PHP page "test.PHP" in your Web directory. (This code runs normally on Windows 2000 SP3 running IIS 5.0.)


www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/446682.htmlTechArticleI assume people use PHP because of its price tag: free. MySQL provides a free database solution for developers who need to add database functionality to their systems. These solutions...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn