wampserver安装部署的一系列问题

wampserver部署PHP项目 (在这里项目文件夹名为“yizhuanSecondhandShop”,以你的项目名为准哦),你应该能够看到你的PHP项目在本地服务器上运行的结果。如果你的项目需要数据库支持,确保连接数据库的配置与之前设置的数据库信息相匹配。例如我的的项目叫做“yizhuanSecondhandShop”,那么在“www目录”下创建一个名为“my_project”的文件夹,并将你的项目文件放入其中。在所有的网站项目中一般都会有单独的文件配置链接数据库,下面是这个项目的链接数据库代码块,需要修改对应你本地的数据库参数。 阅读详情

1.缺少msvcr110.dll文件,无法正常启动

打开页面:https://www.microsoft.com/en-us/download/details.aspx?id=30679

下载前面两个文件,安装修复,ok

卸载wamp,重新安装

2.橙色状态,端口占用

wamp默认端口号为80端口,更改端口:

.将httpd.conf中
#Listen 12.34.56.78:80
Listen 0.0.0.0:80
Listen [::0]:80
改成

.
#Listen 12.34.56.78:80
Listen 0.0.0.0:8090
Listen [::0]:8090

此时wamp启动的首页界面地址不再是localhost,而是localhost:8090


3.更改数据库

点击首页下面的phpmyadmin进入后台配置,点击数据库进行相关操作

4.更改数据库端口,

点击phpmyadmin,出现#1405报错,不能进入数据库

经过查找发现数据库端口被占用

解决办法:更改数据库端口:

(1)图标:mysql-->my.ini

将文件中默认的3306端口改成3307

(2)wamp\apps\phpmyadmin4.1.14\libraries下配置文件config.default.php。 
$cfg['Servers'][$i]['port'] = '' 
这句注释表明这里空表示使用的是MySQL的默认端口3306。只要把它改为: 
$cfg['Servers'][$i]['port'] = '3307'; 

重启就好了

5.允许外网访问

打开..\wamp\bin\apache\apache2.4.9\conf\httpd.conf配置文件,

# AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride all
    Require all granted   #添加允许外部访问
 
    #
    # Controls who can get stuff from this server.
    #
 
    #   onlineoffline tag - don‘t remove
    # Require local  #注释请求本机访问


</Directory>

重启OK


6.php配置允许短标签

php.ini中

short_open_tag = Off     ==>      short_open_tag = On


7.配置默认跳转路径

想要打开localhost:8090  跳转到  localhost:8090/teamtoy
(1).在www下新建welcome.php文件,写入代码
<?php 
//重定向浏览器 
header("Location: 10.25.37.164:8090/teamtoy"); 
//确保重定向后,后续代码不会被执行 
exit;
?>  

保存
(2).httpd.conf修改
DirectoryIndex index.php index.php3 index.html index.htm
==>
DirectoryIndex welcome.php index.php index.php3 index.html index.htm


以上几点本人亲测,希望有帮助!

Wampserver部署WordPress Wampserver部署WordPress一 工具 wampserver软件: WampServer是一款由法国人开发的Apache Web服务器、PHP解释器以及MySQL数据库的整合软件包。免去了开发人员将时间花费在繁琐的配置环境过程,从而腾出更多精力去做开发。 下载地址:https://sourceforge.net/projects/wampserver/wordpress网站程序安装 阅读详情

相关推荐

使用 WampServer 在 Windows 计算机上成功安装了 WordPress

这将是您本地 WordPress 站点的 URL,因此请务必选择您容易记住的名称。但是,请记住,根据您安装程序的位置,它可能会有所不同。当您单击下载按钮时,将打开一个表格,询问您的个人详细信息。现在您知道了您的 Windows 操作系统类型,只需选择正确的 WampServer 软件版本即可。在下一个屏幕上,您将看到一条成功消息,表明 WordPress 已连接到您的数据库,您可以继续安装。登录后,您需要单击 phpmMyAdmin 中的数据库,为 WordPress 创建一个新数据库。

m0_56063470的博客 1689

处理WampServer输入localhost显示404

处理WampServer输入localhost显示404 有一段时间没用WampServer了,今天想用它做一下课设,发现输入localhost后不能正常显示 之前用并没有出现这种错误,看了看wampserver的图标并不是绿色,有服务还未启动,于是挨个测试了apache服务器和MySQL的端口(80和3307)发现如下情况。。。 80端口被别的进程占用了,改下端口即可 在wampserver...

qq_43128902的博客 3318

如何部署php 项目到 Wampserver

前言 之前把同学部署php项目遇见了一些问题,在此记录一下,万一以后遇到呢。 下载软件 服务器采用的是wampserver,因为它自带一个精简版的mysql. wampserver 下载链接:http://pan.baidu.com/s/1miMAUE0 密码:p1s9 之后安装就行。 部署 然后把项目部署到wampserver安装路径中的WWW目录下,这是网站默认的根目录。之后去

dawn_after_dark的博客 1万+

wampserver遇到的问题

Forbidden You don’t have permission to access / on this server. You don’t have permission to access /phpmyadmin/ on this server. 解决办法 wampserver安装完成后,本地搭建wamp,输入http://127.0.0.1访问正常,当输入http://localhos

流风雨情的博客 692

UE5实战技巧:TextRender高效集成中文字体与材质优化

本文针对UE5中TextRender组件显示中文的常见问题,提供了一套完整的实战解决方案。详细讲解了如何通过手动创建字体资产、精准控制字符集来优化性能,并重点介绍了通过调整材质中的Lerp节点参数(如设为-85, 92)来解决中文字体显示残缺和边缘模糊等核心难题,帮助开发者实现高效且美观的中文文本渲染。

weixin_28040125的博客 380

杭电oj2023题题目详解(Java版)

杭电oj2023题详解

m0_51065958的博客 978

wamp335 The configuration file contains a syntax error on line 404.[EParseError] inwalid section tag

文件地址 D:\wamp64\wampmanager.ini。卸载360浏览器以后一切正常。

xueqiang1124的专栏 898

IAR调试CC1310的错误:Fatal error:Failed to connect to the XDS emlulator (Error -241 @ 0x0:)

从simplelink_cc13x0_sdk_2_10_00_36导入collector工程后,rebuild后进行debug,出现了如图错误:Fatal error:Failed to connect to the XDS emlulator (connect ICEPick)...(Error -241 @ 0x0)A router subpath could not be accessed....

qq_40417648的博客 6228

装wamp过程遇到的一些问题

今天刚跟着教程学习装一个wampserver,有时候apache不能用,有时候数据库不能用,看着橙色的图标不好受啊,这里记录一下网上搜索了解后的一些方法: 1.首先,如果装好之后,发现无法访问localhost或者phpmyadmin;先看一下是不是有将wamp切换到在线状态; 可能此刻问题就解决了; 如果还没解决: 看看是否是别的程序占用了80端口,如果是的话,结束进程 具体操作: https...

weixin_42304037的博客 260

skill使用教程,从小白到大神进阶

(2)突然无法使用(NodeJS安装参考):如果正常使用中,突然发现claude命令无法启动claude-code了,可能是claude-code正在后台自动更新,等待几分钟后再尝试使用,如果还是不行,请先运行下列代码移除claude-code,注意,如果你的node安装目录不同,要替换成自己的安装目录:rm -rf /opt/homebrew/lib/node_modules/@anthropic-ai/claude-code。安装完成后,让我们启动 Claude Code,看看它长什么样。

weixin_45036829的博客 2010

Netapp FAS2750热备盘替换失败问题分析与解决

本文深入分析了Netapp FAS2750存储系统中热备盘替换失败的故障现象,揭示了磁盘分区属主不匹配导致数据同步无法启动的根本原因。通过详细的排查步骤和解决方案,帮助运维人员快速恢复aggr状态,并提供了长期预防措施和最佳实践建议,确保存储系统的高可用性。

weixin_33737774的博客 399

安装wampserver出现的问题

安装wampserver出现找不到MSVCR100与图标为黄色如何解决 最近要用到wampserver进行项目部署中途出现一些问题这边有解决的具体方案 安装之前必须将mysql服务关闭,并将mysql切换为手动开启 1.安装时出现找不到MSVCR100.dll的问题: ​ 出现的问题是因为没有安装VC++运行库 ​ 进入https://www.microsoft.com/en-us/downloa...

weixin_43927582的博客 773

基于深度学习实现实时视频目标检测

实时视频目标检测是计算机视觉领域的研究热点之一,其应用场景包括智能监控、自动驾驶、机器人视觉等多个领域。深度学习技术的快速发展使得实时视频目标检测变得更加可行和准确。本文提出一种基于深度学习实现的实时视频目标检测系统,使用Python和OpenCV作为开发工具,具有高效、准确和实时的特点。 本系统的主要需求是实现实时视频目标检测功能,可以在不同的应用场景中使用。具体的需求如下:2.1 视频输入本系统需要从摄像头或视频文件中获取实时视频流,并对视频流中的目标进行检测和跟踪。2.2 目标检测本系统需要使用深度学

分享毕业设计的案例和论文 1941

使用wampserver服务部署showdoc项目

wampserver可真是个好东西啊,最近公司需要整理一下接口文档(因为之前一直都是以word的形式提交到SVN上的,每次写接口文档都很麻烦,而且还不好管理),得找个好用又方便的东西来统一管理一下!正好当时手里面没什么事情,这个事情就落到我头上了!百度了一下,有的人用Swagger,有的人用RAP,还有的人用DOClever,五花八门的,看来看去,感觉还不如showdoc好用(可能是在上一家公司用...

qq_38400856的博客 672

c++ webrtc基础(1) :webrtc源码下载与编译、项目模块介绍、学习资料推荐

本篇博客介绍webrtc源码的下载与编译,以及推荐webrtc学习资料。 源码下载 电脑环境:win10/win11 64bit,合理的上网环境,没有合理的网络环境无法拉取、下载webrtc代码和工具,宽带速度要快,尽量50M. 主要步骤如下: (1) 安装git (2) 打开cmd控制台,下载google开发工具depot_tools: git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git (3) 新建一个目

琅嬛福地 3297

redhawk:Low Power Analysis

1.rush current与switch cell 在standby状态下为了控制leakage power我们选择power gating的设计方式,使用power switch cell关闭block/power domain的电源。 power switch的基本介绍可见: 低功耗设计-Power Switch power switch的table中有四种状态,对应block工作、待机和上电,下电。low power analysis主要分析上电的过程。 上电过程可以看做mos电容

m0_61544122的博客 3206

【WampServer】Windows本地部署WampServer环境并实现远程访问服务界面

Wamp 是一个 Windows系统下的集成安装环境,是一组常用来搭建动态网站或者服务器的开源软件,其因拥有简单的图形和菜单安装和配置环境受到广大用户的喜爱,本篇教程就和大家分享一下如何安装 WampServer 以及结合cpolar内网穿透工具实现公网访问内网的WampServer 服务。

A1_3_9_7的博客 3313

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

在Win系统部署WampServer并实现公网访问本地服务【内网穿透】

Wamp 是一个 Windows系统下的集成安装环境,是一组常用来搭建动态网站或者服务器的开源软件,其因拥有简单的图形和菜单安装和配置环境受到广大用户的喜爱,本篇教程就和大家分享一下如何安装 WampServer 以及结合cpolar内网穿透工具实现公网访问内网的WampServer 服务。

m0_68662723的博客 2402

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

WampServer安装和配置及ECShop环境搭建步骤

WampServer安装和配置及ECShop环境搭建步骤

qq_53946385的博客 2951

Probability and Statistics - 4th edition

Probability and Statistics - 4th edition

WampServer本地部署结合内网穿透实现公网访问本地服务

Wamp 是一个 Windows系统下的集成安装环境,是一组常用来搭建动态网站或者服务器的开源软件,其因拥有简单的图形和菜单安装和配置环境受到广大用户的喜爱,本篇教程就和大家分享一下如何安装 WampServer 以及结合cpolar内网穿透工具实现公网访问内网的WampServer 服务。

m0_69984273的博客 3817

Wampserver默认mysql密码重置,Wampserver教程,Wampserver安装教程,网站发布外网

Wampserver默认mysql密码,Wampserver教程,Wampserver安装教程

woqiangge的专栏 2632

wampserver部署php教程,在win10使用WampServer部署magento

在win10使用WampServer部署magento,1、安装wampserver及php、apache、mySQL组件,访问http://www.wampserver.com/en/#download-wrapper,下载以下文件并依次安装:1.1. vcredist_x64 - 可在 Microsoft 官网下载1.2. vcredist_x86- 可在 Microsoft 官网下载1.3...

weixin_29164843的博客 359

以安装WordPress为例介绍如何使用WampServer

这篇文章就来介绍一下如何在本地虚拟一个服务器来创建个人网站。这里要用到的一个软件是WampServer,它可以在本地虚拟服务器环境,创建后的网站可以随意折腾,甚至软件本身也提供有绿色版本(Wampee),解压后即可运行。 在这里以安装WordPress为例介绍如何使用WampServer, WordPress是现今全球最流行的博客平台,没有之一。它拥有丰富的主题和插件资源,多样地利用这些资源

viana37的博客 4198
上一篇: springmvc下载文件
下一篇: springboot打包运行问题解
programmeryu
博客等级 码龄11年 23粉丝 67原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值