De L'esprit À La Machine L'approche Professo-Académique
De L'esprit À La Machine L'approche Professo-Académique
L'approche Professo-Académique
ZCE
Séances
FirstScript
To create and run PHP scripts, you need to have a few things in
place:
A computer running Web server software, such as Apache or
Internet Information Server (IIS)
The PHP server module installed on the same computer. This
module talks to the Web server software; this is the PHP
engine that actually does the work of running your PHP scripts
If you want to build database-driven Web applications — and
you probably will — you also need a database server installed.
Options include MySQL, PostgreSQL, and SQL Server. This
book mostly refers to using MySQL, so that's the database
server that you'll install here
Many combinations of operating system and Web server software
(not to mention versions of PHP) are available. For example,
operating systems that can run PHP include Linux, Windows,
and Mac OS X, and Web server software includes Apache, IIS,
and Zeus. To keep things simple, this chapter concentrates on
installing PHP and Apache on Ubuntu Linux, Microsoft
Windows, and Mac OS X.
1. Download wampserver
2. http://windows.php.net/download/
3. Copy
◦ Wampserver.conf(extension_dir )
◦ php.ini (extension_dir)
◦ phpForApache.ini(extension_dir , rename php.ini-development)
1. Setting Your Time Zone
;date.timezone = America/Los_Angeles
OR
.htaccess
php_value date.timezone America/Los_Angeles
OR
date_default_timezone_set( "America/Los_Angeles" );
Compiling PHP Yourself
Todo http://windows.php.net/snapshots/
MSDOS
TP
Running PHP Remotely
http://www.putty.org/
Phpinfo();