Wednesday, February 18, 2009

Platforms, Servers, Databases, and PHP

PHP is cross-platform

server module

PHP is designed to integrate easily with databases.

1. directly
2. open database connectivity (ODBC)



A1: The manual for PHP is available at http://www.php.net/manual/.



A2: 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





A3: The Apache configuration file is called httpd.conf.



A4: The line is


AddType application/x-httpd-php .php


It ensures that Apache treats files ending with the .php extension as PHP scripts.



A5: PHP's configuration file is called php.ini.

No comments:

Post a Comment