search

phpMyAdmin4.4.10装配

Jun 13, 2016 pm 12:22 PM
apachehttpdphpphpmyadminquot

phpMyAdmin4.4.10安装

1.下载地址:

phpMyAdmin4.4.10

https://files.phpmyadmin.net/phpMyAdmin/4.4.10/phpMyAdmin-4.4.10-all-languages.zip

Apache 2.4.12(VC9)

http://www.apachehaus.com/cgi-bin/download.plx

php-5.4.42(VC9)

http://windows.php.net/download#php-5.4

2.安装注意事项

xp系统不支持VC11的apache。

下载的apache和php要同为VC9版本或者VC11版本,还要安装VC库否则会报错。

(1)没有安装VC库启动apache会提示

错误提示:“无法启动此程序,因为计算机中丢失MSVCR100.dll。尝试重新安装该程序以解决此问题。”


(2)apache加载PHP时会报错


3.安装apache

(1)将apache解压到D:\phpMyAdmin\Apache24下

(2)修改D:\phpMyAdmin\Apache24\conf\httpd.conf文件

将Define SRVROOT改成"D:/phpMyAdmin/Apache24"路径

(3)启动Apache

开始 --- 运行,输入cmd,打开命令提示符。分别输入如下命令(每行回车)
d:
cd D:\phpMyAdmin\Apache24\bin
httpd

如果httpd.conf配置正确的话,输入httpd回车后是没有任何提示的。不要关闭命令窗口(关闭命令窗口就是关闭Apache),本地浏览器访问。出现“It works”那么就说明apache已经正确安装了。


(4)把Apache加入系统服务

关闭httpd命令窗口,不然会报错的。

开始 --- 运行,输入cmd,再打开一个命令提示符。分别输入如下命令(每行回车)

d:

cd Apache24\bin

httpd.exe -k install -n "servicename" \\加入服务。servicename是服务里面的名字,可以自定义。

如果要卸载这个服务的话,先要停止这个服务,然后输入httpd.exe -k uninstall -n "servicename"卸载这个服务。

4、安装PHP

(1)将PHP解压到D:\phpMyAdmin\php5.4.42

(2)复制php.ini-development文件,将其文件名改成php.ini

(3)打开php.ini文件

修改成extension_dir = "D:\phpMyAdmin\php5.4.42\ext"

extension=php_mbstring.dll和extension=php_mysql.dll前面的分号去掉

(4)打开Apache24\conf下httpd.conf

在#LoadModule xml2enc_module modules/mod_xml2enc.so后面加上下面语句

LoadModule php5_module "D:/phpMyAdmin/php5.4.42/php5apache2_4.dll"
AddHandler application/x-httpd-php .php
PHPIniDir "D:/phpMyAdmin/php5.4.42"

(5)在D:/phpMyAdmin/Apache24/htdocs新建一个index.php,内容为重启 Apache 服务器。访问出现php的信息就说明php已经成功安装


5.安装phpMyAdmin

(1)删除D:/phpMyAdmin/Apache24/htdocs里的所有文件

(2)将phpMyAdmin所有文件解压到htdocs里

(3)修改D:\phpMyAdmin\Apache24\htdocs\libraries下config.default.php文件

$cfg['Servers'][$i]['host'] = 'localhost';修改mysql服务器地址

$cfg['Servers'][$i]['port'] = '3306';修改mysql端口号

$cfg['Servers'][$i]['user'] = 'root';修改mysql用户名

$cfg['Servers'][$i]['password'] = 'root';修改mysql密码

(4)重启apache,访问出现



版权声明:本文为博主原创文章,未经博主允许不得转载。

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
PHP Dependency Injection Container: A Quick StartPHP Dependency Injection Container: A Quick StartMay 13, 2025 am 12:11 AM

APHPDependencyInjectionContainerisatoolthatmanagesclassdependencies,enhancingcodemodularity,testability,andmaintainability.Itactsasacentralhubforcreatingandinjectingdependencies,thusreducingtightcouplingandeasingunittesting.

Dependency Injection vs. Service Locator in PHPDependency Injection vs. Service Locator in PHPMay 13, 2025 am 12:10 AM

Select DependencyInjection (DI) for large applications, ServiceLocator is suitable for small projects or prototypes. 1) DI improves the testability and modularity of the code through constructor injection. 2) ServiceLocator obtains services through center registration, which is convenient but may lead to an increase in code coupling.

PHP performance optimization strategies.PHP performance optimization strategies.May 13, 2025 am 12:06 AM

PHPapplicationscanbeoptimizedforspeedandefficiencyby:1)enablingopcacheinphp.ini,2)usingpreparedstatementswithPDOfordatabasequeries,3)replacingloopswitharray_filterandarray_mapfordataprocessing,4)configuringNginxasareverseproxy,5)implementingcachingwi

PHP Email Validation: Ensuring Emails Are Sent CorrectlyPHP Email Validation: Ensuring Emails Are Sent CorrectlyMay 13, 2025 am 12:06 AM

PHPemailvalidationinvolvesthreesteps:1)Formatvalidationusingregularexpressionstochecktheemailformat;2)DNSvalidationtoensurethedomainhasavalidMXrecord;3)SMTPvalidation,themostthoroughmethod,whichchecksifthemailboxexistsbyconnectingtotheSMTPserver.Impl

How to make PHP applications fasterHow to make PHP applications fasterMay 12, 2025 am 12:12 AM

TomakePHPapplicationsfaster,followthesesteps:1)UseOpcodeCachinglikeOPcachetostoreprecompiledscriptbytecode.2)MinimizeDatabaseQueriesbyusingquerycachingandefficientindexing.3)LeveragePHP7 Featuresforbettercodeefficiency.4)ImplementCachingStrategiessuc

PHP Performance Optimization Checklist: Improve Speed NowPHP Performance Optimization Checklist: Improve Speed NowMay 12, 2025 am 12:07 AM

ToimprovePHPapplicationspeed,followthesesteps:1)EnableopcodecachingwithAPCutoreducescriptexecutiontime.2)ImplementdatabasequerycachingusingPDOtominimizedatabasehits.3)UseHTTP/2tomultiplexrequestsandreduceconnectionoverhead.4)Limitsessionusagebyclosin

PHP Dependency Injection: Improve Code TestabilityPHP Dependency Injection: Improve Code TestabilityMay 12, 2025 am 12:03 AM

Dependency injection (DI) significantly improves the testability of PHP code by explicitly transitive dependencies. 1) DI decoupling classes and specific implementations make testing and maintenance more flexible. 2) Among the three types, the constructor injects explicit expression dependencies to keep the state consistent. 3) Use DI containers to manage complex dependencies to improve code quality and development efficiency.

PHP Performance Optimization: Database Query OptimizationPHP Performance Optimization: Database Query OptimizationMay 12, 2025 am 12:02 AM

DatabasequeryoptimizationinPHPinvolvesseveralstrategiestoenhanceperformance.1)Selectonlynecessarycolumnstoreducedatatransfer.2)Useindexingtospeedupdataretrieval.3)Implementquerycachingtostoreresultsoffrequentqueries.4)Utilizepreparedstatementsforeffi

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

Video Face Swap

Video Face Swap

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

Hot Article

Hot Tools

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

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.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

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.