Windows7下的php环境配置教程
这篇文章主要介绍了Windows7下的php环境配置教程,本文讲解了Windows7下的PHP环境配置步骤,包含下载安装文件、配置PHP、添加到系统变量和检测安装是否成功等步骤,
一:下载程序包
首先到php官网下载程序包,官网地址:
二:解压
解压你的程序包,放在除c盘外的目录下(文件夹非中文命名)
三:修改php安装包文件
在php根目录下找到“php.ini-development”并修改为:“php.ini”
php.ini中找到(如下的自己没有设置)
找到下列语句,并将这些语句前的「;」去掉:
复制代码 代码如下:
;extension=php_gd2.dll
;extension=php_mysql.dll
;extension=php_sockets.dll
找到下列这两句:
复制代码 代码如下:
;On windows:
;extension_dir = "ext"
将上面的后一句改为(注意去掉前面的分号):
复制代码 代码如下:
extension_dir = "D:\php-5.5.7\ext" //你存放php的目录
四:添加进坏境变量
win7理的环境变量设置和xp差不多,右击【计算机】--【属性】--【高级系统设置】然后在系统属性里选择【高级】--【环境变量】
五:检测php版本号

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

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

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

Hot Topics

Recently, some friends reported that their computer prompts "The copy of Windows 7 internal version 7601 is not genuine." They all want to know if the copy of Windows 7 is not genuine 7601 and affects the use of it. The main reason for this is that the user's system has not been activated. Today I will give it to you. Let’s talk about the simplest solution to the problem that the copy of internal version 7601 is not genuine. Friends in need can come and take a look. The copy of windows7 internal version 7601 is not genuine. Method 1: 1. Press "win r" on the keyboard at the same time, then enter "CMD", and then press "Enter" to confirm. 2. Enter "SLMGR-REARM" in the pop-up window. Please note that there is a space in the middle. Don't miss it. 3. Then press Enter to confirm. A dialog box will pop up and click "Confirm".

Some Win7 system users don’t know how to open the computer’s resource manager window. In fact, the operation is not difficult. You need to open the computer’s start menu first, or directly search in the search box and open the resource manager window. In this regard, this article This article has compiled several methods and shared them with everyone. Interested users can continue reading. How to open Explorer in Windows 7: Tutorial 1 1. Click the [Start] icon in the lower left corner and enter [Windows File Explorer] in the search box. 2. In the search results, click the [Windows Explorer] option as shown in the figure below, and click Open. Tutorial 2 1. Find and double-click the [Computer] icon, and click the [▶] icon at the top. 2. In the pop-up menu bar, root

The differences between Windows 10 and 7 include user interface, compatibility and application support, security, performance and speed, updates and support, network and cloud integration, DirectX and game support, etc. Detailed introduction: 1. User interface. Windows 10 introduces a new user interface with a modern look and experience. It uses a tiled Start menu that contains dynamic tiles that can display real-time information and quickly access applications. Windows 7 has a traditional start menu and taskbar, which is more classic and familiar, etc.

Why can’t Windows7 Security Center be opened? Recently, a user asked this question. The system has a built-in security center function, but it cannot be opened when using it. I don’t know what’s going on. How should I solve it? In response to this problem, this article brings a detailed solution, which is simple to operate and shared with everyone. If you are interested, take a look. How to open Windows 7 Security Center? 1. Open System and Security in the computer control panel. 2. Click Management Tools and click Services. 3. Find the service SecurityCenter, right-click on the properties and select Auto-Open, then open the Security Center to see if it works. 4. If that still doesn’t work, find these two services RemoteProcedureCall (RP

In Windows 7, the function of the screen saver is not to "display some content for others to see in order to prevent the computer screen from being idle". The function of the screen saver is to: 1. Protect the screen; 2. Through the screen saver, you can set Password can protect user files when the user leaves the computer; 3. Protect the content displayed on the screen by the current user from being seen by others.

1. Start VMware Player (also in the VM installation directory, I tried VMware Workstation without success); 2. Start the virtual machine system; 3. Click the setting item in VirtualMachine in the VMware Player menu; 4. Select Option; 5. Select ShareFolders; 6. , add the folder to be shared on the host (the folder is located on the host); 7. Return to the host (win7 system), right-click the folder in 6, select "Share", and select "Homegroup (Read, Write)"; 8. , right-click My Computer and click "Map Network Drive&rdq"

The differences between Windows 10 and 7 include page design, functionality, performance and security. Detailed introduction: 1. Windows 10 has made major improvements in interface design, introducing a new Start Menu, which combines the traditional Start Menu with the modern UI elements of Windows 8. Windows 7 retains the traditional Start Menu design and is more familiar. and stability; 2. Windows 10 introduces some new features to make the user experience more convenient. One of the important features is virtual desktops and so on.

The latest news on this site on January 10, 2023. According to Microsoft’s official announcement today, ESU support for Windows 7 systems will end on January 10. The end of this service also means that no security patches will be launched to win7 enterprise users. Since then, Microsoft has officially provided paid ESU security patches. Data shows that Windows 7 was released in October 2009, ended mainstream support in 2015, and ended extended support in 2020. Then Microsoft launched ESU, allowing for paid subscriptions to security patches. It is worth noting that according to records from the data statistics company Statcounter, as of November 2022, Windows 7’s market share is 10.25%, and Windo
