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

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

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

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

Vikram Vaswani

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


اندازه قلم

+ - پیش فرض

حالت نمایش

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

Testing the Software

After you've successfully installed PHP, either as an Apache module or a standalone binary, you should test it to ensure that all required extensions have been successfully compiled in.

You can do this by creating a PHP script containing the following lines:

// name this file "verify.php"

Then, depending on how you chose to compile PHP, do one of the following:

If you compiled PHP as an Apache module, copy this file to your web server's document root (in this example, /usr/local/apache/htdocs/) and then access it by pointing your web browser to http://your_web_server/verify.php.

If you compiled PHP as a standalone binary, execute this script from the command line:

$ /usr/local/bin/php verify.php

In either case, the output should be an HTML page that looks like Figure A.1.

Figure A.1. The output of a phpinfo() call.

Examine this output to ensure that all the extensions you need are active.

/ 84