亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

Home php教程 php手冊 經(jīng)典的php for win32安裝 (轉(zhuǎn))

經(jīng)典的php for win32安裝 (轉(zhuǎn))

Jun 21, 2016 am 09:13 AM
application nbsp php quot windows

1.到 www.php.net 下載最新的 php for win32.
2.解壓全部文件到你需要的目錄,推薦你選擇: c:\php3\;??
3.拷貝文件php3-dist.ini到你的windows目錄,然后更名為php3.ini;??
c:\windows 95或98是這個名字??
c:\winnt or c:\winnt40 這是NT的目錄??
4.編輯你的php3.ini文件:把extension_dir選項設(shè)置成你解壓文件的目錄,這里我
們的是c:\php3??
5.把doc_root設(shè)置成你的WEB站點的根目錄,如c:\apache\htdocs或者c:\webroot
??
6.從這里開始我們要分開設(shè)置了:??

*Windows 95/98/NT and PWS/IIS 3的走這邊:??
運行regedit程序;??
@找到這個注冊鍵: HKEY_LOCAL_MACHINE /System /CurrentControlSet /Servic
es /W3Svc /Parameters /ScriptMap.??
@在編輯菜單中選: New->String Value.??
@在鍵名處鍵入你希望讓PHP3解釋器解析的文件擴展名:例如 .php3 前面有個點,
不要忽略!??
@雙擊剛剛建的注冊鍵,在鍵值處輸入PHP.EXE文件的路徑及文件名,例如 c:\php3
\php.exe %s %s 這兩的s%可不能少喲,否則........??
@你可以重復(fù)上面兩個步驟來增加很多要PHP3解析的文件名,我就增了一個aaa來讓
它解釋....:))))))??
@找到這個注冊鍵:HKEY_CLASSES_ROOT??
@在編輯菜單里選新建->主鍵??
@把這個主鍵命名為.php3 同上面一樣,然后雙擊它的缺省值,輸入 phpfile??
@現(xiàn)在再在HKEY_CLASSES_ROOT建一個名為phpfile的主鍵,把它的缺省值設(shè)為 PHP
Script,然??
后在phpfile上單擊右鍵選擇新建->串值,命名為Shell,??
在Shell上擊右鍵,新建一個Open鍵,??
在Open上擊右鍵,新建一個command鍵??
把command鍵的鍵值設(shè)為php.exe的路徑和文件名,如 c:\php3\php.exe,??
OK了!??

*apache同志來這里看看:??
·把所有的PHP文件解壓到c:\php3g下;??
·把PHP3-DIST.ini更名成php3.ini,然后拷到WINDOWS目錄下;??
·在apache的conf目錄下編輯httpd.conf文件??
·把下面幾行按實際的地方設(shè)置好:??
ScriptAlias /php3/ "c:/path-to-php-dir/"??

AddType application/x-httpd-php3 .php3??

AddType application/x-httpd-php3 .phtml??

Action application/x-httpd-php3 "/php3/php.exe"??


·Windows NT and IIS 4??
在INTERNET SERVICE MANAGER (MMC)里,??
選擇站點??
右擊,調(diào)出屬性,選擇主目錄標簽??
單擊配置按鈕,選擇應(yīng)用程序標簽??
單擊增加,在可執(zhí)行文件框里輸入 c:\php3\php.exe s% s% 注意不要丟掉s%??
在擴展名框里輸入 .php3??
設(shè)置安全級,如果你使用NTFS文件系統(tǒng)的話,讓PHP文件的目錄擁有客戶的執(zhí)行權(quán)
!


----------------------------------------------------------------------
---
轉(zhuǎn)載自"草堂論壇"
原文由"蠟人"發(fā)表



Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undress AI Tool

Undress AI Tool

Undress images for free

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

PHP Tutorial
1488
72
How to reset the TCP/IP stack in Windows How to reset the TCP/IP stack in Windows Aug 02, 2025 pm 01:25 PM

ToresolvenetworkconnectivityissuesinWindows,resettheTCP/IPstackbyfirstopeningCommandPromptasAdministrator,thenrunningthecommandnetshintipreset,andfinallyrestartingyourcomputertoapplychanges;ifissuespersist,optionallyrunnetshwinsockresetandrebootagain

What are the main pros and cons of Linux vs. Windows? What are the main pros and cons of Linux vs. Windows? Aug 03, 2025 am 02:56 AM

Linux is suitable for old hardware, has high security and is customizable, but has weak software compatibility; Windows software is rich and easy to use, but has high resource utilization. 1. In terms of performance, Linux is lightweight and efficient, suitable for old devices; Windows has high hardware requirements. 2. In terms of software, Windows has wider compatibility, especially professional tools and games; Linux needs to use tools to run some software. 3. In terms of security, Linux permission management is stricter and updates are convenient; although Windows is protected, it is still vulnerable to attacks. 4. In terms of difficulty of use, the Linux learning curve is steep; Windows operation is intuitive. Choose according to requirements: choose Linux with performance and security, and choose Windows with compatibility and ease of use.

How to troubleshoot a failed Windows installation How to troubleshoot a failed Windows installation Aug 02, 2025 pm 12:53 PM

VerifytheWindowsISOisfromMicrosoftandrecreatethebootableUSBusingtheMediaCreationToolorRufuswithcorrectsettings;2.Ensurehardwaremeetsrequirements,testRAMandstoragehealth,anddisconnectunnecessaryperipherals;3.ConfirmBIOS/UEFIsettingsmatchtheinstallatio

How to enable Hyper-V in Windows How to enable Hyper-V in Windows Aug 04, 2025 am 12:53 AM

Hyper-VcanbeenabledonWindowsPro,Enterprise,orEducationeditionsbymeetingsystemrequirementsincluding64-bitCPUwithSLAT,VMMonitorModeExtension,BIOS/UEFIvirtualizationenabled,andatleast4GBRAM.2.EnableHyper-VviaWindowsFeaturesbyopeningoptionalfeatures,chec

How to solve touchpad not working issues on Windows? How to solve touchpad not working issues on Windows? Aug 05, 2025 am 09:21 AM

Checkifthetouchpadisdisabledbyusingthefunctionkey(Fn F6/F9/F12),adedicatedtogglebutton,orensuringit’sturnedoninSettings>Devices>Touchpad,andunplugexternalmice.2.UpdateorreinstallthetouchpaddriverviaDeviceManagerbyselectingUpdatedriverorUninstal

How to change screen resolution in Windows How to change screen resolution in Windows Aug 02, 2025 pm 03:08 PM

Right-clickthedesktopandselect"Displaysettings"toopenthedisplayoptions.2.Underthe"Display"section,clickthe"Displayresolution"dropdownandchoosearesolution,preferablytherecommendedoneforbestimagequality.3.Confirmthechanges

How to fix 'The default gateway is not available' in Windows How to fix 'The default gateway is not available' in Windows Aug 02, 2025 am 06:54 AM

RestartyourcomputerandroutertorefreshDHCPleasesandresetnetworkinterfaces.2.RuntheNetworktroubleshooterviaSettingstoautomaticallydetectandfixcommonissues.3.OpenCommandPromptasAdministratorandrunipconfig/release,ipconfig/renew,ipconfig/flushdns,netshwi

how to fix 'the computer is not configured for a smart card' on a win pc how to fix 'the computer is not configured for a smart card' on a win pc Aug 02, 2025 am 10:26 AM

EnsureSmartCard,SmartCardRemovalPolicy,andCertificatePropagationservicesarerunningandsettoAutomaticinservices.msc;2.InstallorupdatesmartcardreaderdriversviaDeviceManagerorthemanufacturer’swebsite,andinstallrequiredmiddlewarelikeActivClientorOpenSCifn

See all articles