XML and PHP [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

XML and PHP [Electronic resources] - نسخه متنی

Vikram Vaswani

نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
تنظیمات قلم


اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
لیست موضوعات
افزودن یادداشت
افزودن یادداشت جدید

Appendix A. Recompiling PHP to Add XML Support

"A journey of a thousand leagues begins with a single step."

Lao Tzu

In your sojourn through this book, you may have noticed that many of the examples require special extensions to be compiled into PHP in order to function correctly. In the event that your PHP build doesn't already include support for these XML-specific extensions, you will need to recompile PHP to activate support for these extensions.

Some of these extensions can be activated simply by adding an appropriate compile-time parameter during the build process; others require more complex configuration, including the installation of specific external libraries. This appendix documents the entire process, describing how the different pieces can be put together to create a PHP build that supports all the technologies discussed in this book.

It should be noted at the outset that this appendix is intended only as an overview of the process of recompiling PHP as a static Apache module with support for XML-specific extensions. It is not intended to replace the installation instructions that ship with each of the packages described as follows. In the event that you encounter difficulties in installing or compiling any of the packages discussed in this chapter, you should refer to the package's installation instructions or web site for detailed troubleshooting information.

With that caveat out of the way, let's get started!

Plug and Play

If your Apache build supports DSO modules, you should look at PHP's INSTALL file for more information on the process of compiling PHP as a DSO module, and check the section titled "Adding PHP" for a list of the compile-time options necessary to enable XML support.

If you have no idea what the previous sentence means, ignore it and keep reading.

/ 84