




版權說明:本文檔由用戶提供并上傳,收益歸屬內容提供方,若內容存在侵權,請進行舉報或認領
文檔簡介
1、Word文檔本地網站環境搭建(IIS7.0+php5+MySQL5.0)本地安裝IIS7.0(基于windows7系統)1.打開電腦控制面板”,找到程序”,點擊打開或關閉windows功能“計其機控制面板幫助和支持防.宙閱 視恿本比打力更被您的計算機段直井二之,苫PHPMYSWindows lijtg。|Word文檔打開或關閉Windows功能若要打開一科功能.請選擇其品園S.若要關閉一種功能,請清除其S庭悵埴克的框表示儀打開詼功能的TP分.Indexing£日rviceMInternetExplorer11InternetInformationServi日謁Internet值3Ej
2、FTP展嘉磊引口Web管遑二M用匚1)萬雛網服務點開Internet信息p寥產蟹邃媚b管理里面的選項上謁謁贏謁口宜n囹畫囹Microsoft.NETFramework3.5.1MicrosoftMessageQueue(MSUQ)原務善N用暗RIP偵聽器TabletPC組件TelnetE蹈器fWindows功能打開或關閉Windows功能®若要打開一種功能.請i碎其豆選框.若要關團一種功能,請清除其翱他.埴充的梃表示仗打開該功靛的一部分。Web管理M用US6苣是兼容性JIS6WM兼容性ZIIS6竺理拄苣恪211由6期本工具7us五精率ansWns管理展務M1IS磔旺本和TMns管理控
3、制臺臣IMicrosoft.NETFramework3.5,1pjWindows功能打開或關閉Windows功能m要打開一種功能,清選修其復選框,若要關閉一種功能,請清喙其復選亂填充的相H7萬維網洽資a01安全性QV常見H17P功能尸TTD晨豈呈全部打上勾安裝花Web服第號內容加HTML如圖堂支用的支持.k.WebDAV發布V靜態內容k目錄潑覽二k也有酸能動態內容,無縮<靜態內容壓縮日M.應用程序開發功能國上團*國二如,NET擴展性ASPASP.NETCG1Word文檔7ISAPI擴展Misapi鬣選器也服務器支包含.二H運行狀況和滲斷ZHTTP日志MODBC日志記錄01跟蹤0清求監視器
4、k日志工具畫上自定義日志i+rMicrosoftMessageQueue隕符器aniNFS取第安裝完之后,回到控制面板五百方it莫坦,a用戶假戶和家庭安全£.i&SQ4tMM為展打用戶旺季長野J網絡和Internet直看網環標志都任后襄件和聲音苜容總酊生7團機新物i£網版的.稼國用博大.安置程序寧"第5_外觀和個性化*«L.更皿EF更五地立時M注空導用分理時鐘、語言和區域PKWfiSEBrlEA更就顯示諾三jfk輕榜訪問Hy店用WinJet學改的,百tt4tWS!lE拉中虎三貢謝和安親 阿珞司IjiEermet明胸聲告程序用戶昧戶和題定金 外加第
5、M1也化Birta再育的區域 發檢注阿可 neem- A,,鳥&1曬風確畫s至V-,力慢亍咕問,可將書三立主的書照欄a.卜里程至事卜后瓢町處,力撰作中心檢量計耳他我志并找夷間工整亞百用戶廿星初即席正計司機三降也瞬香將計尊施±意田1?岸的時間點Windows防火騎啜苴時*183WindowsRfiStfl*系城E若二制M的大小隧屋狀氏耳幡百印indo*K卷田/兌許證厚小問菅斯敬十苴嘰的昌海皆沒后露.0.WindowsUpdate<1日習五馨用芻幼更新臉亙更新曼若已安硫更界W電源選項里汽電池沒宜啜,物1肛看費由后里巴電弼翔的由更茂計算值矣時可由備傷和還原:步擊手!S3的計麗
6、從占I曬跤件BitLocker施動器加定曾TT工具B制金內I湘明西分區等任若哥生日忑審廿限任更FhshPlayer(32te)11到這里為止,IIS7.恢裝成功測試:在瀏覽器里打開網站里面的默認網站當在瀏覽器里面由現IIS7的圖片,說明我們IIS安裝成功!BienvenueTervetuloa敬迎vplkommenWelcomeWiflkommenBenvenutoWelkomIIS7internet information services'Nnn comVLLKOMLN歡迎WitamyValkommenHo$ Geldin法直空音u匚卜二、PHP5.0環境配置解壓我們的軟件包,復制
7、php-5.2.6-win32至UD盤php-52.6-WinJ2'予雙三層工口1*1/1917:1B立怦央垂粗一包含事碑二醉一#建立I峽H5QSSKQ2一K近巧間笛依目B叱一叁片訴i曲返土下蛀Jl百條1-二;'j!N7(Ci)i_i工作叫JiSCit間曲拄性附1立他,好好學習(HQ*ta網港22打開文件夾*MT1BmLit的砥粒S良片0迅J«:,喇&WW7(COj工傳信2jte«曲JMKtfffH1KIQNEtwib*nyK|ldlFce«se闋Eqlid.腐I腐IpbpSxpHc,pFpSapache_hoDte£ht2.dl
8、l&的p.hp,口的口hgipgiwpiphpSapache2_2cW如日kHUnewsphpSIEhe2_2_Ster_dl邕snjpshccWwlbibdIIphpEacheijfilw*.di,iptfiSraap.工IphpSnupidllibwjfjf-dilibmciEHbrnhaiJi,dlldllLJTfiKPM«;F|翌天M臉支過能留取源鼻打開方宜時ph吟UlwaEditeh爭添MS陽I悅忤0L-3BlUfl,ph|hrflr,,(T)婁星財的酷t(¥l:ft謚題W國習耐4內暢麗國富弁蛉函電療2nnJ PhP -記事本in i 回 ii-i文闡F)
9、編專舊is式gj查看(S-部血記;TherootofthePHPpages,usedonlyifnonenipty-;ifPHPwasnotcompiledwithFORCE_RED1RECT,youSHOULDsetdoc_roat;ifyouarerunningphpasaCGIunderanymebserver(.o-thcrthanIIS);seedlocwDentationforsecurityissues.Thealternateistousethe;cgi.forcc_rcdirectconfigiurationbelowdoc_root=;The directory under
10、 which PHP opens the script using /username used only ;if nonempty.user dir;Directory in extension dir修改或pp文件夾下面ext文件夾的路徑1 '11''(nodules) residE-which the loadable eitensions; Whether or not to enable the dl() function-; properly in mul ti tJireaded scrversp ; di sabled on them.enable_dl
11、 = OnSUCh £15The dl0 function does NOT work IIS or ZcuSp mid is nutomatically; cgi. for ce_T e di rec t is necessary to ; most web servers- Left undefined步 ;turn it off here AT YOUR ONN RISK ;*Ydu CAN safely turn this off for;cgi. force_tedirect = 1provideEecurity running PHP as: a CGI uudeTPHP
12、 turns this on by default. You canIIS,in fact, you MUST. *; if cgi.nph is enabled;every request.;cel, nph = 1cgito always sent Status : 200 with; if cgis force_redirect; (iPLanet) web serversj; will look for to know; cause security isuesjis turned oniyou HAY needandyou are not running under Apache o
13、r Netscapeto set an environment variable name that PHPit is OK to continue execution. Setting this variabie MAY KNOW WHAT YOU ARE DOING FIRST.cgi . redirect statu5 env文件(F)的楣式gj查看m犁即川);TherootofthePHPpages,usedonlyifnonenipty-;ifPHPwasnotcompiledwithFORCE_RED1RECT,youSHOULDsetdoc_roat;ifyouarerunnin
14、gphpasaCGIunderanymcbserver(.o-thcrthanIIS);seedlocwDcntationforsecurityissues.Thealternateistousethe;cgi.forcc_rcdirectconfigiurationbelowdocroo't=;ThedirectoryunderwhichPHPopensthescriptusing/Usernameusedonly;ifnonempty.user_dir=;Directoryineitensions(modules)resideestension_dir*"D:phpext
15、";Whetherornottoenablethedl()function-Thedl()functiondoesNOTwork;properlyinmultithireadedscrverspsuchasIISorZeuspmidisnutomatically;disabledonthem.enable_dl=On;cgi.force_TedirectisnecessarytoprovideEecurityrunningPHPas:aCGIun-der;mostwebservers-Leftundefined步PHPturnsthisanbydefault,Toucan;turni
16、toffhereATYOURONNRISK;ouCANsafelyturnthisoffforIISinfactjyouMUST.*;cgi.force_tedirect=1;ifcgi.nphisenableditwillforcecgitoalwayssentStatus:200with;everyrequest.;cel,nph=1;ifcgisforce_redirectisturnedoniandyouarenotrunning;underApacheorNetscape;(iPLanet)webserversjyouBAYneedtosetanenvirommentvariable
17、namethatPHP;willlookfortoknowitisOKtocontinueezecutian.SettingthisvariableMAY;causesecurityisuesjKNONWHATYOUAREDOINGFIRST.;cgi.i,edirectstatusenv=;Word文檔二I php -記事本文件(H -舊 楣式(理 查看M 梨勘單); extension folders as well as the separate PECL DLL download (PHP 5).; Be sure to appropriately set the eztension_
18、dir directive.;ext ensi on=php_bz2. dl1;eitcnsi on=php_curl. dl1;ezt cnsi 口nFphp_dbai. <111;eit ensi un=>hp_dbaise. dl l;ext ension-Dhp_exif- dll;st msg nn=f qi 1;ex* ensi cm=也 dl 1;ezt ensi on=php_Eettest-;ext ensi on=php_ginpx dl 1;eztension_php_ifs. dl1;extensi on-php_imap. dl1;ezt ertsi on
19、=php_interbase. dl 1;czt ensi on=php ldap. dl1;eitension-phpmcryp t-dl1去掉這四個前面的分號;extension-php_nhashr dl1 ;eit ensi Qji=php_jniroe_iiagic& dll ;eitension=php_minga dll;eztension=php_msql. dl1/;eztension=php_mssql. dll Teztension=hp_iiiysql. dll ;eztensi on=php_mysqli. dll ;ezt ensi on=php_oci 8
20、. dl 1 ;eztension=phpopens a1, dl1 :eitension=phpj>do. dl1:extension-php_pdo_firebird, dll ;eitension=php_pdoinssql- dll ;eit ensi op=php_pdo_inysql, dl 1 ;eitension=php_pdo_aci- dill ;eztension=php_pdo_oci8. dll ;extension=php_pdo_odbc. dll ;eztensi on-php pdo pgsql. dl1保存復制我們修改好了的php.ini文件到C盤wi
21、ndows文件夾下面然后在復制D:卜面的所有文件到C盤下面。最后:打開我們的iis信息管理Word文檔Word文檔添加模決映后國漢清求路徑(P):*php丁'二|日午四湛:,二七匚n模塊(M:FastCgiModule可防文仲可選卜日添加嘎決肛Oi要為此可執行文件創建Fd&tCGI應用程序嗎?單擊"型將此m前倒FstCCI集合中r以及允許此可執行文件作為FastCGl應用程序運行.到此,php5.0環境配置完成。三、MYSQL數據庫安裝打開我們的安裝包,點擊安裝my£ql-5.0.27-win32于訪問,可將書簽直接放在書簽欄中,)件包件包kmysq1-5.
22、0.27*Win32mysql-5.0.27*Win32k(H漏埔E)查看(V)TMC0智聯H)織,包含到庫中,共享,新建文件夾riKSer/口IM桌面,加P.最近訪問乾位置L亨MySQLServer5.0-SetupWizardWelcometotheSetupWizardforMySQLServer5.0TheSetupWizardwillirratallMySQLServer5.0release5.0.27onyourcomputer.TocontinoejdckNext,WARNING;Thisprorainisprotectedbycopyrightlaw.INext>ICan
23、cel點MySQLServer5.0-SetupWizardSetupTypeChoosethesetuptypethatbestsuitsyocrneeds.Pleaseselectasetuptype.1TypicalCommonprogramfeatureswillbeinstBlIed,Recomnencledforgeneraluse.Complete ,£fAllprogramfeatureswillbeinstalled.Requiresthemostdiskspace.)dCustomChoosewhichprogramfeaturesyouwantinstalled
24、andft+ieretheywillbeinstalted,Recooirrieridedforadvancedusers.<BackNext>Cancel慮MySQLServer5.0-SetupWizardCustomSetupSelectUheprogramfeaturesyouwantinstalled.Clickt>naniconinthelistbelowtochangehowafeatureisinstalled,*市FF-QI-乂MySQLServerCl忙ntProgramsMySQLInstenceM3口四申DocunnentatioriFeatureDe
25、5criDtionComponentsdevelopersDeveloperCompcments*叫ThisfeaturewillinstalledtorunfromrKtw。匕當目Thisfeature,andall&ubfeaturewillbeinstalledtoruntromthenetwork.Installtc怔)Thisfeaturew;lIbein吐311adwhenrequired.XThisfeaturewillnotbeavail3bIe,j§lMySQLServer5.0-SetupWizardCustomSetupSelecttheprogramf
26、eaturesyouwantinstalled.Clickorrankoninthelistbelowtochangehowafeatureisinstiled.-iji*國.MySQLServerClientProgramsMySQLInstanceManagerDocumentationDeveloperComponentEInstalltoC:'ProgramFites僅鴕)'MySQLWySQLSer'er5.0'LFeatureDescriptionComponentsusedbydevdopers,ThisfeaturerequiresOKEonyo
27、urharddrive.Ithas3of3subfeaturesseected.Thesubfeaturesrequire27MBonyourharddrive.Change.Word文檔jS MySQL Server 5.0 - Setup WizardWizard CompletedSetup has finished installing MySQL Server 5.0. Cick Finish to exit the wizard.J Configure the MySQL Server nowUse this option to generate an optimized MySQ
28、L conftg file setup a Windows service running on a dedicated port and to set the password ibr the root account.< Bao.Finish匚,.匚口MySQL.comSign-UpLoginorcreateanewM¥5Q_,8fnaccount.Pleaseloginorselecttheoptiontocreateanewaccount.CreateanewfreeMySQLcomaccountIfyoudonotyethaveaMySQL.comaccount,se
29、lectthsoptionandcompletEthefbllo'ingthreesteps.LogintoMySQLxonnSectthisoptionifyoualreadyhaveaMySQL,comaccount,Pleasespedfyyourk)gininformationbelow.Emailaddress:Password:oSkip£ign-UpMySQLServerInstanceConfigurationWizardWekometotheMySQLServerInstanceConHgurationWizardL0.8TheConfigurationWi
30、zardwllallowyoutoconfiguretheMySQLServer5.0serverinstance,ToContinue,dickNext.Next>CancelMySQLServerInstanceConfigurationWizardMySQLServerInstanceConfigurationConfiguretheMySQLSen,-er5.0sen,jerinstance.Pleaseselectaconfigurationtype.33oDetailedConfigurationChoosethisconfigurationWpetocreatetheopt
31、imalserversetupforthismadiinenStandardConfigurationUsethisonlyonmachines出atdonotalreadyhaveaMySQLserverinstallation.Thiswilluseageneralpurposeconfigurationfortheserverthatcanbetunedmanually.<Ba*Next>MySQLServerInstanceConfiguratiorWizard一k-aMySQLServerInstanceConfigurationConfiguretheMySQLServ
32、er5,0serverinstance.Pleaseselecta5ervertype.Thiswillinfluencememory,dtskandCPUussge.QDeveloperMachine1.Thistsadevelopmentmadiinerandmanyotherapplicationswilberunonit.MySQLSer,/ershould:onlyuseaminimalamountofmemoryHSemurMachineSeveralserverapplicationswilberunningonthismachineChoosethisoptionforv-,e
33、b/applicationservers.MySQLwillhavemediunnmEmoryusage.DedicatedMySQLServerMachineThismachineisdedicatedtoruntheMySQLDatabaseServerNootherservers,suchasaweborrnaiserver,willberun,MySQLwilutilizeuptoallavailablememory.<BadeNext>MySQLServerInstanceConfiguraticnVizard一MySQLServerInstanceConfigurati
34、onConfiguretheMySQLSender5.0senjerinstance.Pleaseselectthedatabaseusage.口MultifunctionalDatat>a»eGeneralpurposedatsbases.ThiswiloptmizetheserverfbrtineuseofthefesttransactionalImoDBstorageengineandthehighspeedMylSAMst)or*geengine.TransactionalDatabaseOnyOptimizedfurapplicationserversandtrans
35、actionalwebapplications.ThiswillmakeInnoDBttiemamstorageengine.NotethattheiMylSAMenginecanstilbeused.Non-TransactionalDatabaseOnlvISuitedforsimplewebapplications,monitoringorloggingapplkations1/Ja$wellasanalvsisprograms.Onlyttienon*transactionalMylSAMstorageenginewilbeactivoted.<BadNext>ICance
36、l._MySQLServerInstanceConfigurationWizardMySQLServerInstaneeConfigurationCanfiguretheMySQLServer5,0serverinstance.PleaseselectthedrivefixtheInnoDBdatafilurifyoudonotwanttousetheckfauhsettings.InnoDBTablespaceSettingsPleasechoosethedtiveandcfirectorywheretheInnoDBtable&paceshouldbeplaced.仁Install
37、ationPathDriveInfoWIN7MTFSVolumeName;FieSystefin:Please set the approximate number of concurrenct connectons to the server,CancelNext >MySQL Server Instance Configuration WizardMySQL Server Instance ConfigurationConfigure the MySQL Server 5.0 server inlsnce.| 24<8 GB Dtskspn Uwe W.4 GB Fr«
38、; DskspanWord文檔DecisionSupport(E>SS)/OLAPOnline Transaction PrcMzessing (OLTP), . Choose this option for highly concurrent applications that may haveat any one time up to 500 active connectioris such as heavily loaded web servers.Q Manual Setting-Please enter the approxiCcurcurrent connechons:Can
39、celSelectthisoptonfordatabase6即lie占tionsthatwillnotrequireahighnumberofconcurrentconnectons.Anumberof20connectionswillbe35EumEd.MySQL Server Instance Configuration WizardMySQLServerInstanceConfigurationWizardHySQLServerInstanceConfigurationConfiguretheMySQLSerer5.0sen,jerinstance.Pleaseselectthedefa
40、ultcharacter5et,QStandardCharacterSetMakesLatin1thedefaultcharset.ThischaractersetissuitedfarEnglishandotherWestEuropeanlanguages,BestSupportForMuHzilingualt5mMakeIJTF3thedefaultcharacterset.This話therecommendedcharactersetiwstoringtextinmanydifferentlanguages.Character Set:latnlManualSelectedDefault
41、CharacterSet/CollationPleasespedfythecharactersettous巳<日日改Next>|CancellMySQLServerInstanceConfigurationWizardMySQLServerInstanceConfiguretkxiConfiguretheMySQLServer5,0serverinstance.PleasesettheWindciwsoptons.InstaIIAsWindowsServiceSerwte Name:MySQLThiststherecommendedwaytoruntheMySQLserveranW
42、indows.VLaunchtheMySQLServerautomaticalyIncludeBinDirectoryinWindowsPATHChedithisoptiontoindudethedirectorycontainingttieserver/dentexecutablesintheWindowsPATHvariablesotheycanbecalledfromthecommandline.< BackNext >CancelMySQLServerInstanceConfigurationWizardMySQL Server Instance Configuration
43、Configure the MySQL Senj&r 5.0 sen er instance.Please set the SECunty aptons.此處為數據庫密碼,13vr Modify Security Settings數據庫名為rootNew root password:Confirm:iter the root issword.type the password.此處都打上勾anymous AccountiablerootaccessfromremotenwchhestfhThisoptonnilaeateananonymousaccountonthisserver.Pl
44、easeV*rotethatthiscanleadtoaninsecuresystefn.MySQLServerInstanceConfigurationWizardMySQLServerInstanceConfiguretionConfiguretheMySQLServer5.0serverinstanceReadytoexecute.(_jPrepareconfiguration(JWriteconfigurationfile。StartserviceOApplysecuritysettingsPleasepressExecutetostarttheconfiguration.Fi
45、3; f f/5QL'.MySQLSv&勺 Prepare corrfiguratjon Write configuration file :c?時,f Start serviceM Apply securih' settingsMySQLServerInstanceConfigurationWizardMySQLServerInstanceConfigurationConfiguretheMySQLServer5.0serverinstance.Processingconfiguration.到此安裝成功Configurationfilecreated.Windows
46、serviceMySQLigWiled.Servicestartedsuccessfullv.Securitysettingsapplied.PressFinishtoclosetheWizard.現在我們安裝一個管理數據庫的軟件,有phpadmin,NavicatMySQLFront,在這里我們使用NavicatMySQLFront來管理我們的數據庫。'NadcalMHQLTrDfil為嶼訪問,可將書論亙主或在書雉早.卜承掄就'士曰f工tg就件電INavicfltMQLFrDnt文件用iafifE】asm工成nBf®i(H)魚uss法*下登夏當二最曰目的位置慎由“此
47、注解imytqLcs二uH*ftiii迅留下疵J臺京:計尊孤£W1N7(C)一工作但,RW的.-I耐空性iF;)口郊煙一好育學習(H01和維JM陽福之卞燈霰-PremiumSoftNavicat8.2forMySQL瘴洋Hz a歡迎安裝PreniiumSoftNavicat8.2forMySQL即將在您的計算機上安裝PnemiumSoftNavicat82forMySQLo建議您關閉所有的運行程序后繼續。點擊下一步繼續,點擊取消取消安裝。Copyright2DIDftierriiumScftCyberlenhLtd.fittrijhrtsneserved.下一步陽”|取消-PremiumSoftNavicat8.2forMySQL許可證在維續前,清閱讀以下重要信息;清閱讀版權許可,維續前必須同意其中的條款中End-UserLic
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯系上傳者。文件的所有權益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網頁內容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經權益所有人同意不得將文件中的內容挪作商業或盈利用途。
- 5. 人人文庫網僅提供信息存儲空間,僅對用戶上傳內容的表現方式做保護處理,對用戶上傳分享的文檔內容本身不做任何修改或編輯,并不能對任何下載內容負責。
- 6. 下載文件中如有侵權或不適當內容,請與我們聯系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 銀行從業資格證考試的關鍵思維強化與試題與答案
- 2025年度工程項目承包合同協議
- 注冊會計師考試常見題型切入思路試題及答案
- 個體門窗安裝協議案例
- 個人借款協議范本
- 微生物環境監測的重要性試題及答案
- 建設高效社團組織架構計劃
- 有效的項目知識管理體系構建試題及答案
- 證券從業資格證考試基礎理論試題及答案
- 2025年證券從業資格證答疑與試題答案
- 小學生勞動課件
- 高二下學期《家校攜手凝共識齊心協力創輝煌》家長會
- (二模)滄州市2025屆高三總復習質量監測 生物試卷(含答案詳解)
- 內部審計流程試題及答案
- 2025-2030中國燃料乙醇行業現狀調查及投資前景策略分析研究報告
- 2025年四川蓬安相如旅游開發有限責任公司招聘筆試參考題庫含答案解析
- 2025建筑材料供應商采購合同模板2
- 機械基礎試題庫及參考答案
- 2025浙江1月卷讀后續寫及滿分語料10類40句 (真假小偷) 原卷版
- 2024年農藝師考試實務考核試題及答案
- 餐飲合伙協議合同范本
評論
0/150
提交評論