wamp

wamp配置虚拟主机

。_饼干妹妹 提交于 2019-12-03 21:52:17
因为wampserver的php版本一直是5.x版本;因此转投xmapp用了一段时间; 意外发现wampserver3更新了;php也终于更新到7了; 果断还是决定回到wampserver的怀抱; 然后有意外的发现了wampserver3有了新功能;可以方便的增加一个虚拟主机; 这要比之前写的一篇博客 设置本地wamp环境挂载多站点同时运行 的方法方便太多了; 经过一番实验确实好用;于是写出来分享给大家了; wampserver3 下载链接: http://pan.baidu.com/s/1gep94ZL 安装的过程中可能会报如下错误; 无法启动此程序,因为计算机中丢失VCRUNTIME140.dell。尝试重新安装该程序以解决此问题。 解决的办法就是下载vc_redist http://pan.baidu.com/s/1qWWuvvQ 然后卸载wampserver再重新装一次; 什么?你安装的时候没报错?那还浪费什么时间;直接看下面; 我的环境是这样的; windows版本:10 wampserver版本:3 wampserver目录::E:\tongbu\wamp64 目的: 浏览器地址栏输入 localhost 访问的到 E:\tongbu\wamp64\www 目录 浏览器地址栏输入 test.com 访问到 E:\tongbu\wamp64\test 目录 操作过程: 1

How to use Jawampa (Java WAMP implementation) to subcribe to an event

牧云@^-^@ 提交于 2019-12-03 21:34:55
i want to use the poloniex API. https://poloniex.com/support/api/ So far i made Jawampa ( https://github.com/Matthias247/jawampa ) running with IntelliJ. My first Question is, how to login successfuly? (The Docu of Jawampa doesnt help) I got a API Key and a Secret. Which functions i have to use in the builder of Jawampa: withRealm withRoles withConnectorProvider withConnectionConfiguration withSerializations withStrictUriValidation withAuthId withAuthMethod withObjectMapper I have so far this code try { WampClientBuilder builder = new WampClientBuilder(); builder.withConnectorProvider

PHP: No php.ini file

和自甴很熟 提交于 2019-12-03 17:04:54
问题 I just started to learn PHP and in order to do that I installed wampserver on my windows 8.1. When I try to launch, it works properly but I have two problems: 1) I have an error in my localhost page: *** ERROR *** The PHP configuration loaded file is: - should be: C:/wamp64/bin/apache/apache2.4.17/bin/php.ini or c:/wamp64/bin/php/php5.6.16/phpforapache.ini I tried to find the php.ini file but it doesn't exist. In my phpinfo() it is (none) in front of Loaded Configuration file. 2) The other

Installing PEAR on wampserver

£可爱£侵袭症+ 提交于 2019-12-03 16:30:03
问题 All the guides for installing PEAR on wampserver, such as the Symfony guide, say I am to run a go-pear.bat script within some PEAR directory. I am on wampserver 2.1 and there is no PEAR directory and no go-pear batch script to be found. Is this just different because I have a newer version? Is there somewhere I can download these missing installation scripts? 回答1: It's not installed per default on all setups. But you can download the plain go-pear script for that: http://pear.php.net/go-pear

How to install PHPUnit with WAMP?

て烟熏妆下的殇ゞ 提交于 2019-12-03 16:10:54
问题 I'm a newbie programmer and I have tried for an embarrassingly long time to get PHPUnit set up and working with WAMP. I have read the documentation and went through various sites to see what I'm doing wrong, but I give up! I need someone to explain this to me like I'm mildly retarded. I've probably seen all the guides on how to set it up, but feel free to link me to something you believe is foolproof! 回答1: Try this blog : http://nishutayaltech.blogspot.in/2011/04/installing-phpunit-on-windows

WampServer Apache httpd.exe application was unable to start correctly (0xc0000142) after Windows 10 Creators Update (1703))

冷暖自知 提交于 2019-12-03 16:08:48
问题 The Windows 10 Creators update seems to have hosed Apache's httpd service, which now errors when I first start the WampServer. The official form confirms this suspicion. WampServer version 3.0.6. However, none of the suggested solutions on the forum worked, as of the time of this post. Thus, I've opened this question so that us community members can work to find a solution here. Note that downgrading Windows is not a viable solution here. 回答1: Update: looks like the 3.0.8 patch resolves the

html not parsing as php in wamp

十年热恋 提交于 2019-12-03 16:01:51
I am using this snippet in my .htaccess file to parse html as php: <FilesMatch "\.(html|htm|txt)$"> SetHandler application/x-httpd-php5 </FilesMatch> this is working fine in my website(online) but not in my localhost (using WAMP latest version).. but if I change the above code to: <FilesMatch "\.(html|htm|txt)$"> SetHandler application/x-httpd-php </FilesMatch> then, this is working fine in my localhost but not in my website.. I have to add/remove the 5 in SetHandler application/x-httpd-php to work in either one side. Please, help me.. You can edit your local httpd.conf file, and add the mime

PHP mail() on Windows: no errors, the email isn't sent

浪尽此生 提交于 2019-12-03 15:58:48
I'm currently trying to debug an Elgg-based website (I didn't develop it) and I would like to send the emails directly from local development machine (WinXP). I'm running WAMP with Apache 2.2.11 and PHP 5.3.0 After some searching, the simplest solution that I've come across is using fake sendmail to forward it to my GMail/Google apps account via SMTP and let it do the sending. The problem is that I get no errors whatsoever, but the email isn't being sent. Here's what I did: Copied the sendmail.exe and sendmail.ini to a subfolder in WAMP Configured it via sendmail.ini (the configuration

wamp tmp folder takes some GB of space while running magento in localhost

吃可爱长大的小学妹 提交于 2019-12-03 14:59:11
问题 wamp tmp folder takes some GB's of space while running magento in localhost , like this some files are created in Wamp/tmp folder, while i using magento cachegrind.out.1367384833 cachegrind.out.1367384834 cachegrind.out.1367384835 file contain code like this version: 1 creator: xdebug 2.2.0 cmd: C:\wamp\www\magento\index.php part: 1 positions: line like this it contain some 80k lines in each file how to solve this problem? thanks in Advance 回答1: That seems to be due to profiling enabled in

What are the php.ini parameters to set for sending email? [duplicate]

99封情书 提交于 2019-12-03 12:47:32
问题 This question already has answers here : Sending emails with WAMP (6 answers) Closed 6 years ago . I want to send email from my PHP code, but I received warning messages. So what are the php.ini parameters to set ? 回答1: To check/change your PHP mail configuration: Open your php.ini file (if you don't know where this is, see below) Search for the line that reads [mail function] Add/change the details of your mail server. This could be a local mail server or the mail server of your ISP. Save