系统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

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-

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.

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' =>

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

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

PHP logging is essential for monitoring and debugging web applications, as well as capturing critical events, errors, and runtime behavior. It provides valuable insights into system performance, helps identify issues, and supports faster troubleshoot

Laravel simplifies HTTP verb handling in incoming requests, streamlining diverse operation management within your applications. The method() and isMethod() methods efficiently identify and validate request types. This feature is crucial for building

The Storage::download method of the Laravel framework provides a concise API for safely handling file downloads while managing abstractions of file storage. Here is an example of using Storage::download() in the example controller:


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 Linux new version
SublimeText3 Linux latest version

WebStorm Mac version
Useful JavaScript development tools

Dreamweaver CS6
Visual web development tools

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

SublimeText3 Chinese version
Chinese version, very easy to use
