系统Windows 7 sp1 64位,搭建32位服务器,以下软件都选择32位vc11运行时zip包,软件需要vc11运行时的支持,官方网址(vc11 update 4) http://www.microsoft.com/en-us/download/details.aspx?id=30679 下载32位版。
Apache 2.4.12
Apache Http Server 官方只提供源代码(http://httpd.apache.org/docs/current/platform/windows.html#down)下载地址 http://www.apachehaus.com/cgi-bin/download.plx
PHP 5.5.23
PHP for Windows分TS和NTS(线程安全,没有线程安全),搭配Apache的是要TS的版本。下载地址 http://windows.php.net/index.php
MySQL 5.6.23
免费的选 Community版本。下载地址 http://dev.mysql.com/downloads/mysql/
phpMyAdmin 4.3.13
通过 web 界面操作数据库的开源工具,一般都要用。下载地址 http://www.phpmyadmin.net/home_page/downloads.php
配置 Apache,配置文件 httpd.conf,Define SRVROOT "/Apache24" 改为存放 apache 的绝对地址,正常的话启动apache打开浏览器就可以看到 “it works” 的默认页面。
加载 PHP 需要在配置文件中添加一些信息
PHPIniDir "x:/xxx/xxx/php55"
LoadModule php5_module "x:/xxx/xxx/php55/php5apache2_4.dll"
配置 PHP,复制 php.ini-development 到 php.ini,修改 extension_dir 为 ext 的绝对路径,打开需要的扩展。
php_curl 有点问题无法加载,curl 依赖 openssl,php 由 apache 加载,apache 目录下有同样的 openssl 版本。估计是模块本身的设置吧,替换 php_curl.dll 文件解决,参考 http://stackoverflow.com/questions/10939248/php-curl-not-working-wamp-on-windows-7-64-bit/10977022.
php_ldap 也无法正常开启,ldap 依赖 openssl 以及 libsasl,因为 libsasl 在 php 目录下,可以指定 apache 加载,在 httpd.conf 中添加 Loadfile
"xxxxxx/php55/libsasl.dll"(libsasl.dll的绝对路径)解决,也可以拷贝 libsasl 到系统路径解决
MySQL 复制 my-default.ini 到 my.ini,修改绝对路径
basedir = mysql 的绝对路径
datadir = mysql 数据的存放路径
另外还有个 myPhpAdmin,复制 config.simple.inc到config.inc,修改 $cfg['blowfish_secret'] = 'xxx'; (任意字符)
This is needed for cookie based authentication to encrypt password in cookie
没什么问题后就可以用 phpMyAdmin 登录数据库了,新版的工具不允许 root 空密码,所以想要设置 mysql root 密码
http://dev.mysql.com/doc/refman/5.5/en/resetting-permissions.html

Long URLs, often cluttered with keywords and tracking parameters, can deter visitors. A URL shortening script offers a solution, creating concise links ideal for social media and other platforms. These scripts are valuable for individual websites a

Laravel simplifies handling temporary session data using its intuitive flash methods. This is perfect for displaying brief messages, alerts, or notifications within your application. Data persists only for the subsequent request by default: $request-

Laravel provides concise HTTP response simulation syntax, simplifying HTTP interaction testing. This approach significantly reduces code redundancy while making your test simulation more intuitive. The basic implementation provides a variety of response type shortcuts: use Illuminate\Support\Facades\Http; Http::fake([ 'google.com' => 'Hello World', 'github.com' => ['foo' => 'bar'], 'forge.laravel.com' =>

This is the second and final part of the series on building a React application with a Laravel back-end. In the first part of the series, we created a RESTful API using Laravel for a basic product-listing application. In this tutorial, we will be dev

The PHP Client URL (cURL) extension is a powerful tool for developers, enabling seamless interaction with remote servers and REST APIs. By leveraging libcurl, a well-respected multi-protocol file transfer library, PHP cURL facilitates efficient execution of various network protocols, including HTTP, HTTPS, and FTP. This extension offers granular control over HTTP requests, supports multiple concurrent operations, and provides built-in security features.

Do you want to provide real-time, instant solutions to your customers' most pressing problems? Live chat lets you have real-time conversations with customers and resolve their problems instantly. It allows you to provide faster service to your custom

The 2025 PHP Landscape Survey investigates current PHP development trends. It explores framework usage, deployment methods, and challenges, aiming to provide insights for developers and businesses. The survey anticipates growth in modern PHP versio

In this article, we're going to explore the notification system in the Laravel web framework. The notification system in Laravel allows you to send notifications to users over different channels. Today, we'll discuss how you can send notifications ov


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

SublimeText3 Chinese version
Chinese version, very easy to use

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

SublimeText3 Linux new version
SublimeText3 Linux latest version

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.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.
