0% found this document useful (0 votes)
28 views

De L'esprit À La Machine L'approche Professo-Académique

This document discusses the basic requirements for running PHP scripts which include a web server like Apache or IIS, the PHP server module installed on the same computer, and optionally a database server like MySQL. It then provides instructions on installing PHP and Apache on Ubuntu Linux, Windows, and Mac OS X. Specific steps are outlined for downloading WAMPServer on Windows and configuring the timezone and other PHP settings.

Uploaded by

Abdelahad Satour
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

De L'esprit À La Machine L'approche Professo-Académique

This document discusses the basic requirements for running PHP scripts which include a web server like Apache or IIS, the PHP server module installed on the same computer, and optionally a database server like MySQL. It then provides instructions on installing PHP and Apache on Ubuntu Linux, Windows, and Mac OS X. Specific steps are outlined for downloading WAMPServer on Windows and configuring the timezone and other PHP settings.

Uploaded by

Abdelahad Satour
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

De l'esprit à la machine

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();

You might also like