dm-php develop environment

Click here to load reader

Upload: miningmachine-ore

Post on 09-Mar-2016

226 views

Category:

Documents


5 download

DESCRIPTION

DM-php develop environment

TRANSCRIPT

Windows Macintosh Adobe Dreamweaver MySQL PHP Web

DreamweaverPHP Windows Macintosh Adobe Dreamweaver MySQL PHP Web

Dreamweaver PHP Web Apache IISPHP MySQL XAMPP for Windows MAMP for Mac OS X

PHP Dreamweaver PHP MySQL

PHP Web

MySQL

Dreamweaver CS5 PHP

MySQL Web MySQL

Windows PHP

PHP Web Dreamweaver PHP PHP Web MySQL phpMyAdmin MySQL Web

XAMPP PHP/MySQL WampServer http://www.wampserver.com/en/ Dreamweaver PHP

Mac Mac OS X PHP

XAMPP Apache Web 80 Microsoft Internet Information Services IIS Web Web 80

IIS ASP ASP.NET IIS Web XAMPP Dreamweaver ASP Microsoft Web Platform Installer IIS PHP IIS PHP MySQL phpMyAdmin Windows MySQL phpMyAdmin IIS

XAMPP

XAMPP XAMPP

Windows

Apache Friends XAMPP for Windows Basic RAR

EXE XAMPP C:\ C:\xampp 275MB

Windows y n Enter

XAMPP 1 1 Enter XAMPP Control Panel x Enter

1.XAMPP

Apache MySQL Windows XAMPP Control Panel Apache MySQL Start Start Stop 2

2.XAMPP Control Panel Apache MySQL

Windows mysql apache

Apache Web

Apache Windows C:\xampp\apache\logs\error.log

MySQL C:\xampp\mysql\data .err

Apache MySQL Windows SvcFileZilla Mercury FTP Dreamweaver PHP

http://localhost/

3 XAMPP

3. XAMPP

Security http://localhost/security/xamppsecurity.php

4 MySQL

MySQL

4. MySQL

phpMyAdmin MySQL cookie

pma Yes

Password Changing (mysqlrootpassword.txt)

Password Changing

PHP

XAMPP PHP

XAMPP 3

phpinfo()

PHP PHP 5

5.phpinfo() PHP

PHP PHP

PHP

MySQL phpMyAdmin

MySQL phpMyAdmin

XAMPP ToolsphpMyAdmin

phpMyAdmin 6 root Go

6. phpMyAdmin

phpMyAdmin 7

7. phpMyAdmin MySQL

PHPMySQL phpMyAdmin

MySQL phpMyAdmin IIS Dreamweaver CS5 PHP Dreamweaver 1

Windows MySQL phpMyAdmin IIS

IIS PHP MySQL phpMyAdmin

IIS Web XAMPP WampServer MySQL phpMyAdmin

MySQL Windows Downloads Windows Essentials

Typical Install

MySQL Finish

MySQL Server Instance Configuration Wizard

Detailed Configuration

Developer Machine

Multifunctional Database

Decision Support (DSS)/OLAP

Windows Install As Windows ServiceInclude Bin Directory in Windows Path

Execute MySQL

phpMyAdmin IIS

phpMyAdmin MySQL phpMyAdmin PHP

phpMyAdmin phpMyAdmin

phpMyAdmin-x.x.x x

phpmyadmin

IIS phpmyadmin C:\inetpub\wwwroot

phpmyadmin config

http://localhost/phpmyadmin/setup/index.php

Internet phpMyAdmin

ServersAdd

Server hostnamelocalhostServer port

Server socket

Connection typetcpAuthentication typeconfigUser for config authrootPassword for config auth MySQL

ActionsAddAddCancelAdd

phpMyAdmin phpMyAdmin phpMyAdmin

ConfigurationSave

Windows config config.inc.php phpmyadmin

config

http://localhost/phpmyadmin/ phpMyAdmin 7

PHP Mac PHP Dreamweaver CS5 PHP

Mac OS X PHP

PHP Web Dreamweaver PHP PHP Web MySQL phpMyAdmin MySQL Web

Apache Web PHP Mac OS X PHP MySQL Terminal MAMP

Mac MAMP Apache Web MySQL phpMyAdmin

ApacheMySQL phpMyAdmin MAMP Dreamweaver CS5 PHP

MAMP PRO Dreamweaver PHP MAMP PRO

Windows Windows PHP

MAMP Apache PHP Apache PHP MAMP MAMP MAMP 8888 Apache

Internet PHP MAMP Web 80

System PreferencesInternet & NetworkSharing

Web Sharing

MySQL

MAMP MAMP

Mac MAMP

Mac MAMP

MAMP MAMP & MAMP PRO

Agree

MAMP Applications 8

8. MAMP

MAMP Applications

MAMP MAMP PRO

MAMP

MAMP

Applications/MAMP MAMP

MAMP URL http://localhost:8888localhost :8888 Web 8888

MAMP Apache Server MySQL Server 9

9.MAMP Apache MySQL

PreferencesPorts Apache MySQL 8888 8889 10

10. MAMP

Set To Default Apache And MySQL Ports

Apache 80MySQL 3306 Dreamweaver

OK Mac

MAMP

80Apache System PreferencesInternet & SharingWeb Sharing Skype 80Skype PreferencesAdvanced 42815 Apache 80 MAMP Reset MAMP Ports

Open Start PageMAMP URL :80 localhost 80 :80

MAMP phpinfo PHP 11

11.PHP

PHPMySQL phpMyAdmin PHP PHP

PHP

PHP Dreamweaver PHP

Dreamweaver CS5 PHP

PHP Web Dreamweaver Dreamweaver URL

PHP Dreamweaver

PHP

PHP

XAMPP C:\xampp\htdocs

IIS C:\inetpub\wwwroot

WampServer C:\wamp\www

MAMP /Applications/MAMP/htdocs

URL http://localhost/

MAMP http://localhost:8888/ URL

Dreamweaver >

PHP Test Site Dreamweaver

php_test

Mac

12 PHP

12. PHP

PHP

Dreamweaver

Dreamweaver

(+)

/

Local Testing

php_test

Web URL php_test URL http://localhost/Web URL http://localhost/php_test/ 13

13.Web URL

MAMP Web URL http://localhost:8888/php_test/

PHP MySQL 14

14.PHP MySQL

15

15.

PHP

Dreamweaver

>PHP

The time is now .

timetest.phpHTML PHP 16

16.

17

17.PHP Web

Web URL

Web Apache IIS PHP

Web URL 13 (htdocs wwwroot www PHP http://localhost/ URL

MAMP localhost :8888

80 3306 8888 8889 MAMP

PHP

php_test 18

18.

MySQL

MySQL MySQL root

MySQL phpMyAdmin MySQL Windows XAMPP Mac MAMP Web PHPMySQL phpMyAdmin PHP

Web MySQL

phpMyAdmin http://localhost/phpmyadmin/

Mac OS X MAMP http://localhost/MAMP/ http:localhost:8888/MAMP/ phpMyAdmin

Windows XAMPP root MySQL root

phpMyAdmin 19

19. phpMyAdmin MySQL

XAMPP MAMP

Create New Database php_testCreate

feedback_demo phpMyAdmin Windows MySQL PHP Linux Web Windows Linux

CollationCollation

phpMyAdmin php_test Import

File To ImportLocation Of The Text FileBrowse php_test.sql PHP assets

Go

phpMyAdmin

MySQL

phpMyAdmin root MySQL Windows Mac MySQL php_test

phpMyAdmin 19

Privileges

phpMyAdmin PrivilegesPrivileges

Add A New User

User Name phptestuser

LocalHost localhost

Password

Go

Global privileges php_test

Database-specific Privilegesphp_test 20

20. MySQL

MySQL

Web SELECTINSERTUPDATE DELETEGo 21

21. Web SELECTINSERTUPDATE DELETE

php_test MySQL Dreamweaver MySQL

comments.php php_test Customer Comments 22

22. PHP

comments.phpDocument PHP MySQL

DatabasesWindow>Databases (+) MySQL Connection

MySQL Connection

connTest

MySQL Server localhost

Mac MAMP localhost:8889

User Name phptestuser

Password phptestuser

Database php_test

phpMyAdmin 20 phpMyAdmin

Test

Dreamweaver

Dreamweaver Dreamweaver

Web MySQL

Dreamweaver MySQL

OKDatabase

connTest Tables 23

23.Databases

comments.php 24

24.

PHP Dreamweaver PHP Web

PHP PHP MySQL MySQL Dreamweaver PHP Web Dreamweaver PHP

Dreamweaver PHP Dreamweaver Web