search
HomeBackend DevelopmentPHP TutorialCompile eAccelerator.dll for PHP 5.2.12 and 5.2.13 under Windows (with download)_PHP tutorial

First of all, let me explain some of my parameters:
Operating system: Windows 7 Ultimate
Web Server: Apache 2.2.14
Visual Studio: 6.0 (don’t dislike it because it is an old version, even under Win7 It can still be used, of course you can use Visual Studio 2008)

What is eAccelerator?
eaccelerator is a free and open source PHP accelerator that optimizes and dynamic content caching, improves the caching performance of PHP scripts, and almost completely eliminates the server overhead of PHP scripts in the compiled state. It also optimizes scripts to speed up their execution efficiency.

1. First download the compiled PHP binary package. (Will be used later) The address is as follows:
http://cn.php.net/distributions/php-5.2.12-Win32.zip

http://cn.php.net/distributions/php-5.2.13-Win32.zip

2. Download the PHP source code, which will be used later when compiling eAccelerator. The address is as follows:
http://cn2.php.net/get/php-5.2.12.tar.bz2/from/a/mirror

http://cn2.php.net/get/php-5.2.13.tar.bz2/from/a/mirror

3. Upgrade PHP:
This process is very simple. First, close Apache, and then replace all the files extracted from the compressed package with the original files. For example, if your original PHP program file is located in D:php, then please decompress php-5.2.13-Win32.zip (or php-5.2.12-Win32.zip) to this path to overwrite the original file.

4. Start Apache, we will receive an error message and Apache cannot start. Open the Apache log file (the file path is apachelogserror.log), we will see this prompt message:

Copy the code The code is as follows:

PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.11.
Rebuild it for your PHP version (5.2.13) or download precompiled binaries.

It means that the current eAccelerator is compiled for PHP 5.2.11 and is not suitable for 5.2.13. We should recompile eAccelerator.

5. Download a copy of the source code of eAccelerator. The address is as follows:
http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.zip

6. Unzip the PHP source code downloaded in step 2 to a directory, such as E:php. Then open your PHP program directory (that is, the directory where your php.exe is located), find the php5ts.lib file in the dev subdirectory, and copy it to the location E:php.

7. Open E:phpext, create a directory below and name it eaccelerator, and then extract the compressed package downloaded in step 5 into this directory. The directory structure at this time should be like this:
Compile eAccelerator.dll for PHP 5.2.12 and 5.2.13 under Windows (with download)_PHP tutorial

8. Open the win32 subdirectory, there should be a project file named eAccelerator.dsw, open it with the VS development environment (for example, I use VS6.0), open "Components" > "Configuration", Select the option Win32 Release PHP5 and click "Close".

Compile eAccelerator.dll for PHP 5.2.12 and 5.2.13 under Windows (with download)_PHP tutorial
9. Press the F7 key (or select the edit button in the toolbar) to start compilation. Wait for a moment, the compilation is successful, and you can see a generated file in the win32 directory. Release subdirectory, open this subdirectory, and you will see that the eAccelerator.dll file has been generated.
Copy this file to your PHP extension directory (such as D:phpext), replace the original file, and then start Apache, you will find that eAccelerator has been loaded successfully.
Compile eAccelerator.dll for PHP 5.2.12 and 5.2.13 under Windows (with download)_PHP tutorial

or

Click here to download the compiled dll file

Article from: .yinzhili

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/321647.htmlTechArticleFirst explain some of my parameters: Operating system: Windows 7 Ultimate Web Server: Apache 2.2.14 Visual Studio: 6.0 (Don’t think it’s an old version, it can still be used even under Win7,...
Statement
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
c盘的users是什么文件夹?可以删除吗?c盘的users是什么文件夹?可以删除吗?Nov 10, 2022 pm 06:20 PM

c盘的users是用户文件夹,主要存放用户的各项配置文件。users文件夹是windows系统的重要文件夹,不能随意删除;它保存了很多用户信息,一旦删除会造成数据丢失,严重的话会导致系统无法启动。

CS玩家的首选:推荐的电脑配置CS玩家的首选:推荐的电脑配置Jan 02, 2024 pm 04:26 PM

1.处理器在选择电脑配置时,处理器是至关重要的组件之一。对于玩CS这样的游戏来说,处理器的性能直接影响游戏的流畅度和反应速度。推荐选择IntelCorei5或i7系列的处理器,因为它们具有强大的多核处理能力和高频率,可以轻松应对CS的高要求。2.显卡显卡是游戏性能的重要因素之一。对于射击游戏如CS而言,显卡的性能直接影响游戏画面的清晰度和流畅度。建议选择NVIDIAGeForceGTX系列或AMDRadeonRX系列的显卡,它们具备出色的图形处理能力和高帧率输出,能够提供更好的游戏体验3.内存电

启动任务管理器的三个快捷键是什么启动任务管理器的三个快捷键是什么Sep 21, 2022 pm 02:47 PM

启动任务管理器的三个快捷键是:1、“Ctrl+Shift+Esc”,可直接打开任务管理器;2、“Ctrl+Alt+Delete”,会进入“安全选项”的锁定界面,选择“任务管理器”,即可以打开任务管理器;3、“Win+R”,会打开“运行”窗口,输入“taskmgr”命令,点击“确定”即可调出任务管理器。

微软的pin码是什么微软的pin码是什么Oct 14, 2022 pm 03:16 PM

PIN码是Windows系统为了方便用户本地登录而独立于window账户密码的快捷登录密码,是Windows系统新添加的一套本地密码策略;在用户登陆了Microsoft账户后就可以设置PIN来代替账户密码,不仅提高安全性,而且也可以让很多和账户相关的操作变得更加方便。PIN码只能通过本机登录,无法远程使用,所以不用担心PIN码被盗。

win10自带的onenote是啥版本win10自带的onenote是啥版本Sep 09, 2022 am 10:56 AM

win10自带的onenote是UWP版本;onenote是一套用于自由形式的信息获取以及多用户协作工具,而UWP版本是“Universal Windows Platform”的简称,表示windows通用应用平台,不是为特定的终端设计的,而是针对使用windows系统的各种平台。

windows操作系统的特点包括什么windows操作系统的特点包括什么Sep 28, 2020 pm 12:02 PM

windows操作系统的特点包括:1、图形界面;直观高效的面向对象的图形用户界面,易学易用。2、多任务;允许用户同时运行多个应用程序,或在一个程序中同时做几件事情。3、即插即用。4、出色的多媒体功能。5、对内存的自动化管理。

win10为什么没有“扫雷”游戏了win10为什么没有“扫雷”游戏了Aug 17, 2022 pm 03:37 PM

因为win10系统是不自带扫雷游戏的,需要用户自行手动安装。安装步骤:1、点击打开“开始菜单”;2、在打开的菜单中,找到“Microsoft Store”应用商店,并点击进入;3、在应用商店主页的搜索框中,搜索“minesweeper”;4、在搜索结果中,点击选择需要下载的“扫雷”游戏;5、点击“获取”按钮,等待获取完毕后自动完成安装游戏即可。

在windows中鼠标指针呈四箭头时一般表示什么在windows中鼠标指针呈四箭头时一般表示什么Dec 17, 2020 am 11:39 AM

在windows中鼠标指针呈四箭头时一般表示选中对象可以上、下、左、右移动。在Windows中鼠标指针首次用不同的指针来表示不同的状态,如系统忙、移动中、拖放中;在Windows中使用的鼠标指针文件还被称为“光标文件”或“动态光标文件”。

See all articles

Hot AI Tools

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.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

Repo: How To Revive Teammates
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

mPDF

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),

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.