


WindowsXP+IIS+PHP5+MySQL5+Zend+GD library+phpMyAdmin+PHPWind 5.3 installation_PHP tutorial
一、准备工作:
1、安装好
2、准备好所需用到的软件,我所用的具体如下:
php(做为现在的主流开发语言) V5.2.1 For Windows
http://www.skycn.com/soft/516.html
MySQL(和PHP搭配之最佳组合) For Windows V5.2 Alpha
http://www.skycn.com/soft/1262.html
php(做为现在的主流开发语言)MyAdmin For
Zend Optimizer V3.2.6 For
php(做为现在的主流开发语言)Wind论坛系统 V5.3
http://www.skycn.com/soft/34201.html
3、系统构建设定:
本例中MySQL(和PHP搭配之最佳组合)系统“root”用户口令为“123456”,论坛数据库名为“MyData”。
如果大家的系统设定与此不同,请注意在相关处自行修改。
另:在所配截图中,请注意鼠标箭头所指。
二、php(做为现在的主流开发语言)安装:
1、将“php(做为现在的主流开发语言) V5.2.1 for (标准化越来越近了):NAMESPACE PREFIX = Windows”安装包直接解压到“F />
2、将“F:MyForumProgphp(做为现在的主流开发语言)”目录下的“php(做为现在的主流开发语言).exe”、“php(做为现在的主流开发语言)-win.exe”及“php(做为现在的主流开发语言).ini-recommended”等三个文件拷贝到“C:WinXP”目录下;将“F:MyForumProgphp(做为现在的主流开发语言)”目录下所有的“.dll”文件拷贝到“C:WinXPsystem32”目录下。我在拷贝时未见有重名提示,如有重名提示就选择覆盖。
另:有些教程上特别提到:“要将‘F:MyForumProgphp(做为现在的主流开发语言)ext’目录下所有的‘.dll’文件也拷贝到‘C:WinXPsystem32’目录下”,我没拷也装成了,但不知道将来在使用过程中会不会有影响。
3、将“C:WinXPphp(做为现在的主流开发语言).ini-recommended”文件改名为“php(做为现在的主流开发语言).ini”,然后用记事本打开编辑。
查找字符串“register_globals = Off”,将“register_globals = Off”改为“register_globals = On”(见下图);
查找字符串“extension_dir =”,将“extension_dir = "."”改为“extension_dir = "F:MyForumProgphp(做为现在的主流开发语言)ext"”(见下图);
Search for the string ";
;extension=php(as the current mainstream development language)_gd2.dll This item is used to support the GD library. It is generally required and must be selected
;extension=php(as the current mainstream development language)_ldap.dll Optional
;extension=php(as the current mainstream development language)_mbstring.dllThis If this option is not selected, use php(as the current mainstream development language)MyAdmin will prompt an error, and must select
;extension=php(as the current mainstream development language) _mssql(Powerful database platform on WINDOWS platform).dll This item is used to support mssql(Powerful database platform on WINDOWS platform) database, optional
; extension=php (as the current mainstream development language)_MySQL(the best combination with PHP).dll This item is used to support MySQL(the best combination with PHP) )Database, required
3. Configure iis (Microsoft's WEB server platform) to support php (as the current mainstream development language) :
1. Running mode selection: php(as the current mainstream development language)There are two running modes: cgi(not many people use it now) and ISAPI . Generally speaking, the cgi (not many people use it now) mode consumes high system resources and is easily unreflected due to timeout, but it is actually safer; while the ISAPI mode has high execution efficiency and consumes system resources Small, strong load capacity, but slightly less safe. This example is about local installation, and the security requirements can be relaxed appropriately. Therefore, the configuration steps are introduced using the ISAPI mode as an example.
2. Double-click "Administrative Tools" in "Control Panel" to run "Internet Information Services", and in the "Internet Information Services" window that pops up, click on the "+" sign on the left step by step. Until the "Default Website" appears; right-click on the "Default Website" and click "Stop" to stop the Web support of iis(Microsoft's WEB server platform) for configuration (see the picture below).
3. Right-click on "Default Website" and click "Properties" (Note: At this time, "Default Website" has become "Default Website (Stop)"), start configuring iis(Microsoft's WEB server platform) (see the picture below).
4. In the "Default Website (Stop) Properties" window that pops up, click "Home Directory" and change " "Local Path" is set to "F:MyForumProgMyBBS" (see the picture below);
Note: "Execute permissions" in the "Application Settings" column "The item should be "Pure Script" (default option, see the picture below);
Then, click the "Configure" button on the right (See picture below);

What’s still popular is the ease of use, flexibility and a strong ecosystem. 1) Ease of use and simple syntax make it the first choice for beginners. 2) Closely integrated with web development, excellent interaction with HTTP requests and database. 3) The huge ecosystem provides a wealth of tools and libraries. 4) Active community and open source nature adapts them to new needs and technology trends.

PHP and Python are both high-level programming languages that are widely used in web development, data processing and automation tasks. 1.PHP is often used to build dynamic websites and content management systems, while Python is often used to build web frameworks and data science. 2.PHP uses echo to output content, Python uses print. 3. Both support object-oriented programming, but the syntax and keywords are different. 4. PHP supports weak type conversion, while Python is more stringent. 5. PHP performance optimization includes using OPcache and asynchronous programming, while Python uses cProfile and asynchronous programming.

PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

PHP remains important in the modernization process because it supports a large number of websites and applications and adapts to development needs through frameworks. 1.PHP7 improves performance and introduces new features. 2. Modern frameworks such as Laravel, Symfony and CodeIgniter simplify development and improve code quality. 3. Performance optimization and best practices further improve application efficiency.

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip

PHP type prompts to improve code quality and readability. 1) Scalar type tips: Since PHP7.0, basic data types are allowed to be specified in function parameters, such as int, float, etc. 2) Return type prompt: Ensure the consistency of the function return value type. 3) Union type prompt: Since PHP8.0, multiple types are allowed to be specified in function parameters or return values. 4) Nullable type prompt: Allows to include null values and handle functions that may return null values.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Dreamweaver CS6
Visual web development tools