php_mysql_apache [Electronic resources] نسخه متنی

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

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

php_mysql_apache [Electronic resources] - نسخه متنی

Julie C. Meloni

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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







Workshop


The workshop is designed to help you anticipate possible questions, review what you've learned, and begin putting your knowledge into practice.

Quiz


1:

From a Linux/Unix operating system, how would you get help on configuration options (the options that you pass to the configure script in your PHP distribution)?

2:

What line should you add to the Apache configuration file to ensure that the .php extension is recognized?

3:

What is PHP's configuration file called?

4:

Can a person browsing your Web site read the source code of PHP script you have successfully installed?

Answers

A1:

You can get help on configuration options by calling the configure script in the PHP distribution folder and passing it the --help argument:



./configure --help

A2:

The line



AddType application/x-httpd-php .php

ensures that Apache will treat files ending with the .php extension as PHP scripts.

A3:

PHP's configuration file is called php.ini.

A4:

No, the user will see only the output of your script.

Activities


1:

Install PHP on your system. If it is already in place, review your php.ini file and check your configuration.

2:

Familiarize yourself with the process of creating, uploading, and running PHP scripts. In particular, create your own "hello world" script. Add HTML code to it, and add additional blocks of PHP. Experiment with the different PHP delimiter tags. Which ones are enabled in your configuration? Take a look at your php.ini file to confirm your findings. Don't forget to add some comments to your code.


/ 323