phpStudy使用技巧:配置站点域名、开启Xdebug

phpstorm+phpstudy 配置xdebug(无需开启浏览器扩展) 今天又被xdebug折磨了,忘记了以前咋配置了现在百度发现好多都是各种浏览器扩展而且也没有真正的用到项目上的都是测试的地址怎么样的。如果验证失败请根据内容进行修改,这里我放一下自己的验证吧,这里也困扰了我一下,我是thinkphp项目 所以根目录是public下。10.这是我php.ini中最后的配置 xdebug2.x与3.x的参数不一致 我这里两个版本的参数都包含了…这里就是我检查出来的问题(用我刚才的php.ini是没有问题的)配置服务器 本地也是需要配置的。PhpStudy部分。 阅读详情

和我一样正在使用phpStudy集成环境,或者之前也有用过的朋友,有其它不为人熟知的使用技巧,欢迎补充!

  • 配置站点域名

其它选项菜单--站点域名管理(这个没研究出来怎么截图)


终于可以截图了:


打开本地host文件配置站点(又不能截图。。。)

在最下面添加站点域名,指向本地主机地址127.0.0.1,然后结束


  • 开启Xdebug

一张xx画质的图说明:


告别环境配置烦恼:手把手教你用phpstudy为不同WordPress站点配置独立的PHP版本 本文详细介绍了如何使用phpstudy为不同WordPress站点配置独立的PHP版本,解决多项目开发中的环境配置难题。通过phpstudy的版本隔离功能,开发者可以轻松管理PHP 7.2至8.2的多个版本,提升工作效率并确保插件兼容性。文章包含环境准备、PHP版本矩阵构建、站点级版本控制及高级调试等实战内容。 阅读详情

相关推荐

PhpStudy:PHP开发环境配置与使用指南

PHP开发环境配置是Web开发的基础环节,集成环境工具如PhpStudy通过预配置的Apache/Nginx、MySQL和PHP版本管理,极大简化了开发环境的搭建过程。其核心原理是通过封装底层服务配置,提供可视化操作界面,实现环境隔离与快速切换。这种技术方案特别适合需要多版本PHP支持的项目开发,能显著提升开发效率。在工程实践中,PhpStudy解决了环境配置复杂、组件兼容性等痛点,广泛应用于本地开发、教学演示等场景。本文以PhpStudy v8.1为例,详解其安装步骤、多项目管理技巧及安全配置要点,特别适

weixin_30607659的博客 317

PHPstudy本地搭建测试网站域名的方法

打开 phpstudy 其他选项菜单   打开 host     把本地域名 127.0.0.1 或者 localhost 改成自己想更改的 (我的是feiyu.com)    写更改域名                                                                                           在设置网站目录  ...

feiyucity的博客 4814

phpstudy站点域名管理

结合tp5隐藏public 分两步: 一、第二域名可以设置成不带www的 第二步 打开hosts文件 增加 127.0.0.1 www.tv.com127.0.0.1 tv.com # localhost name resolution is handled within DNS itself. 127.0.0.1 localhost # ::1 ...

易天海 1647

phpstudy2018 安装xdebug扩展

第一步:查看PHP版本信息 第二步:到xdebug下载页去下载最新的版本(注意:要下载PHP对应版本) 第三步:把扩展php_xdebug-2.7.0alpha1-7.2-vc15-nts.dll放到php的扩展目录(ext文件中) 我的路径为:D:\phpStudy\PHPTutorial\php\php-7.2.1-nts 第四步:打开php.ini...

Jenny的博客 1万+

deap数据集的情绪检测代码环境搭建与实现

deap数据数据集很大

f的博客 4157

边表法

边表法是用来绘制填充一个面的,边表法的关键是边表和连接边表的扫描线。 对于边的描述利用边表数据结构,包含边与扫描线的交点x坐标,边的最大y坐标,这样可以知道边加入到哪些扫描线上,便还有一个指针来记录扫描线上其它边。 //边数据结构 #pragma once #ifndef __CAETZ__ #define __CAETZ__ #include "pch.h" #include "CPoin...

weixin_42376458的博客 2101

phpStudy中如何去添加站点域名

修改phpStudy站点域名的方法

weixin_72940775的博客 1254

【CASS精品教程】032:CASS11台阶画法案例大全

一、普通无边台阶 二、普通有边台阶 三、普通圆弧无边台阶 四、U型台阶 五、曲线U型台阶 六、L型台阶

智慧空间实验室 7466

PHPStudy 配置域名无效

在PHPStudy 中配置了域名并且配置中也已经配置到项目的目录、host文件中也添加了虚拟域名,但是访问域名只相当于给127.0.0.1 (localhost)配置了虚拟域名,并没有访问到项目的目录下。 解决方法: (发现apache httpd.conf文件 没有引入vhosts.conf 文件) .apache配置: 1.编辑httpd.conf文件,开启虚拟主机,位置:在apache...

icoo_lmj的博客 1万+

C和C++Everything教程的简介

C和C++Everything教程的简介 C和C++Everything教程,该专栏目前已有8000博文,订阅该专栏相当于同时订阅以下所有收费专栏

希望我的博客,能帮上你解决学习中工作中所遇到的问题 4392

ican项目四汽车零件智能测量

ican项目四汽车零件智能测量

weixin_72050316的博客 561

搭建PhpStorm+phpStudy+XDebug调试环境的,保姆级能用教程。

将项目部署到phpStudy里(启用自动部署)。在phpStudy里,完成php.ini文件的[xDebug]模块配置,开启debug端口。这里是关键点关键点关键点关键点。网上绝大部分的教程都是这里没有做正确。在PhpStorm里,完成Server配置(主要是配置debug端口和开启与phpStudy的远程映射(mapping))。

cocca883的专栏 6700

万字长文,小白新手怎么开始做YOLO实验,从零开始教!整体思路在这里,科研指南针!

万字长文,小白新手怎么开始做YOLO实验,从零开始教!整体思路在这里,科研指南针!

Coding... 1万+

windows phpStudy + phpstorm + xdebug 配置

步骤简述: 1、在 phpstudy 中开启 xdebug 2、下载合适的 xdebug 版本并配置 3、在 phpstorm 中设置 xdebug 4、安装并设置浏览器 xdebug 插件 详细: 1、开启 xdebug 2、 将 phpinfo() 打印出的页面信息复制到下面的页面的输入框中,并根据提示下载正确的 xdebug 二进制文件和设置 php.ini http://www.xdeb...

程序猿在武汉 436

PCL SVD分解求变换矩阵【2026最新版】

该算例使用奇异矩阵分解来求变换矩阵,输入的是同名点坐标输出的是变换矩阵。博客长期更新,本文最近一次更新时间为:2026年5月10日。

点云侠的博客 36万+

Unity 横版游戏开发天花板?状态机、联机同步与横版动作游戏架构全都有

在 Unity 横版动作游戏开发领域,最耗时间的往往不是角色移动,而是整套“可扩展架构”的搭建。包括角色状态管理、敌人 AI、武器系统、关卡编辑器、联机同步、输入适配、UI 与存档系统等。2D Action Platformer Kit 的核心价值,并不只是“提供素材”,而是它已经帮开发者搭好了一整套适用于横版动作游戏的底层框架。

2403_88403568的博客 425

应用phpStorm和phpstudy以及Xdebug进行断点调试

最近项目需要php,作为一个不会PHP的程序猿,也没啥辙,硬着头皮上白。 前一段时间应用wampserver安装过PHP的应用环境,感觉挺麻烦,配置啥的都不太友好,这几天看PHP的东西,发现phpstudy还挺好使,安装部署一波。 安装步骤不再赘述,直接进行下一步,phpStorm应用phpstudy配置xdebug进行调试。 PS:网上也有很多安装xdebug调试的,但不少写的都支支吾吾的,是不想让我们这种php小白学会么。。。 1,调整phpstudy代码配置与phpS...

lpping90的专栏 781

深度学习工具包 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")

phpstudy+PHPSTORM配置xdebug断点调试

记录一下 花了一上午时间失败了(心态都炸了,本来就调试有问题,后面网站都打不开了),于是全推倒重新配置一遍并记录一下。 首先配置我们的网站,配置好后进入我们网站测试一下。 发现报错403。 网上大都是开启目录索引,然后我也测试了一下效果还行,暂时先这样吧,有没有影响后面来看。 这里我们注意上面两个文件要删除,然后这里我弄了个PHP文件,内容是phpinfo。 这里扩展还是要打开xdebug的。 接下来我们要配置pip.ini文件,可以从这里打开,默认是我们这个phpstudy的路径下 打开

clayzx的博客 1202

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

C# WinForm 基于DirectShow.dll编写的程序,可边预览边保存视频,音频和图片

基于微软的DirectShow.dll的二次开发1.自动识别连接的摄像头跟麦克风且可以对其进行选择(默认选中第一个)2.可录制wmv和avi两种格式的视频并且都带有音频,avi可以录制的分辨率和帧数进行选择,wmv默认进行了淸晰度优化如不喜欢可去除代码中有相关提示3.可在预览点开之后进行拍照,也可边录制视频边拍照4.添加了视频和音频的压缩功能(酌情使用)这次二次开发发现C#对DirectShow的相关信息太少,这次做完也不敢藏私共享出来,还望大家指正

PHPstudy + VScode配置PHP开发环境

晚安晚安晚安晚安晚安玛卡巴卡!

Draken_17的博客 4770

TPshop商城本地部署实战:用PHPStudy快速搭建含伪静态配置的测试环境

本文详细介绍了如何使用PHPStudy快速搭建TPshop商城的本地测试环境,包括PHP和MySQL的基础配置、多站点管理、伪静态设置及数据库优化等关键步骤。通过实战案例和常见问题解决方案,帮助开发者高效部署和调试TPshop商城系统,提升开发效率。

t1u2v的博客 988

php代码审计环境搭建与图文配置(PhpStorm+Xdebug)

本文用phpstudy搭建zzcms站点,PhpStorm+Xdebug进行详细代码审计。

王德宝的博客 2796

phpstorm配置XDebug

php代码审计XDebug配置

杨同学的博客 2075

PHP web站点动态调试配置

phpstorm + phpstudy 动态调试web站点

R3332136304的博客 938

phpstorm使用xdebug断点调试

都1202年了,你调试php的时候还在使用print_r();die();吗,今天说一下php断点调试工具xdebug,无需google的xdebugHelper!无需在postman请求时加cookie! 相关环境:windows10,phpstudy,php7.3,phpstorm2021.1.1 一、环境配置 首先需要开启php环境的xdebug扩展,安装扩展的方法请自行百度,php.ini中的配置如下 说明:我使用的phpstudy,开启扩展后会自动在php.ini中自动添加xdebug的配置;

xdscode的博客 982

PhpStorm+Xdebug+PhpStudy开发环境配置笔记

一只Php开发小白记录的PhpStorm+Xdebug+PhpStudy开发环境配置笔记

weixin_43521848的博客 789

phpstorm 使用 Xdebug 调试代码

用过 Java、C# 等静态语言的同学调试代码经常是打个断点,然后轻松调试,而 PHPer 调试代码时经常是 echo $a;exit; 非常的不方便,有的同学有时候打完断点没删就给 commit 上去了,这就造成了很多困扰,有没有办法更优雅的调试呢?那当然有的,这里用到一个 PHP 模块 xdebug,xdebug 安装教程,使用它进行 HP 代码调试,能有效减少工作量和 BUG 调试时间,特别是在某些复杂的程序中,光靠看都无法找出问题 Xdebug 是一个开放源代码的 PHP 程序调试器 (即一

weixin_43814458的博客 722
上一篇: js简单代码分享到QQ空间、新浪微博
下一篇: php文件操作:文件写入字符串、数组
李维山
李维山 领域专家: 前端开发技术领域 领域专家: 前端开发技术领域
博客等级 码龄9年 828粉丝 281原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

李维山

帮到你就行 不差钱

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值