Use php + xslt on windows _ PHP Tutorial

Source: Internet
Author: User
Use php + xslt on windows. 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 in the dlls directory and use php + xslt on windows.

1. Download php 4.0.6 to http://www.php.net

2. Decompress php-4.0.6-win32.zip to c: \ php.

3. Configure php on web server

3. Copy the following four files in the dlls directory to windows \ system (32 ).

Expat. dll
Sablot. dll
Xmlparser. dll
Xmltok. dll

4. Modify php. ini

Modify extension_dir to point to the correct extension directory

Extension_dir = c:/php/extensions

Find the following line

; Extension = php_sablot.dll

To:

Extension = php_sablot.dll

If the cgi mode is configured in php, you do not need to restart the web server. Otherwise, you may need to restart the web server.

5. Let's test it with an example.

Test. xml
======================================




This is the first article.



Test. xsl
======================================












Test. php
======================================
$ Parser = effect_create ();
Effect_run ($ parser, 'Test. xsl ', 'Test. XML ');
Print effect_fetch_result ($ parser );
Effect_free ($ parser );
?>


Finally, the parser does not support GB2312. :(

Limit 1. Download php 4.0.6 2 from the http://www.php.net. Decompress php-4.0.6-win32.zip to c: \ php 3. Configure php 3 on the web server. Copy the following in the dlls directory...

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.