wamp

PHP 7.0 cURL not working - WAMP on Windows 10 64 bit [duplicate]

久未见 提交于 2019-12-03 08:51:30
This question already has answers here : PHP - SSL certificate error: unable to get local issuer certificate (14 answers) cURL is not working when I run curl on my WAMP server. Anyone know how to activate this for php 7.0+? I have tried to uncomment extension=php_curl.dll in php.ini Here is my error message: cURL Error #:SSL certificate problem: unable to get local issuer certificate Edvard Åkerberg Download ca-bundle.crt from https://github.com/bagder/ca-bundle/blob/e9175fec5d0c4d42de24ed6d84a06d504d5e5a09/ca-bundle.crt Put the file in c:\wamp64\ Change php.ini to the following curl.cainfo="C

NodeJS res.send is not a function

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying the following code but it's giving me an error, "res.send is not a function". Please help me. Here's the code: var http = require('http'); var fs = require('fs'); var connect = require('connect'); var express = require('express'); var app = express(); app.get('/', function(res, req ) { res.send('Hello World'); }); var server = app.listen(8888, function(){ var host = server.address().address; var port = server.address().port; console.log("Example app listening at http://%s:%s", host, port); }); The server is running fine and is

Install PEAR with Wamp 2.1

匿名 (未验证) 提交于 2019-12-03 08:44:33
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I want to install PEAR on my windows 7. I have Wamp 2.1 with php 5.3.4 It seems that there's no such files as "go-pear.bat" in this new version of wamp. Then how can I install PEAR ? Thank you. 回答1: Please follow the PEAR installation instructions on the PEAR website. And yes, you can follow the Unix steps to get a go-pear.phar file. 回答2: I have followed these steps and it works for me 1. download go-pear.phar right from pear website. http://pear.php.net/go-pear.phar 2. Copy this file in c:/wamp/bin/php/php5.3.8 3. Open command

WAMP server. Very large data directory in MySQL?

寵の児 提交于 2019-12-03 08:42:49
问题 I have problem with wammp server. In directory "..\WampServer\bin\mysql\mysql5.5.8\data" was created files with very large size. Full size of this directory is 50GB. What is these files? How can I fix this problem? The names of files are: mysql-bin.000001 mysql-bin.000002 ................ mysql-bin.000227 The size of all files is 49GB Thanks in advance! 回答1: By default whenever you make a change to a MySQL database it creates a log of the query and stores it in a file simlare to mysql-bin

git commit and push via batch file on Windows

匿名 (未验证) 提交于 2019-12-03 08:35:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I do same task often of committing and pushing changes to remote branch. Being lazy sometimes, I needed to put set of git commands to automatically perform these steps: cd D:\wamp\www\projectName git checkout dev git add . git commit -am "made changes" git push pause I also tried: cd D:\wamp\www\projectName call git checkout dev call git add . call git commit -am "made changes" call git push pause and cd D:\wamp\www\projectName git.exe checkout dev git.exe add . git.exe commit -am "made changes" git.exe push pause Everything works excpet for

Re installing Wamp Server without replacing the existing mysql database

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have some problem with WAMP server installed on my computer, every time I am trying to access a server file in the browser the page keeps on loading for hours and does not give me any errors. So what I though is to go ahead and install and new one but my existing MySQL database has lot of data inside it that I do not want to loose, I tried to backup the database using command line but no help there as well. Is there any way I can install a new WAMP server while keeping my existing MySQL database? 回答1: The wamp server stores all of mysql

cakephp & httpd.conf issues on windows based apache server (wamp)

冷暖自知 提交于 2019-12-03 08:06:40
So, i was wondering if some one could clarify following occurrence and maybe suggest how I could tackle this. sorry for the weird coloring of the code Let me explain the set up first. I have wamp server installed and it is located physically on one hd and then my development files are located on separate hd. So i have added alias to access specific dev folder in httpd.conf i have following ServerRoot D:/Program Files/wamp/bin/apache/apache2.2.11 Listen 80 ServerName localhost:80 DocumentRoot D:/Program Files/wamp/www <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny

How to restore MySQL database from WAMP?

吃可爱长大的小学妹 提交于 2019-12-03 07:50:14
Last month I had to reinstall Windows and I've moved the WAMP folder to another partition. Now I've installed WAMP again but I need the old database. How can I take the old MySQL database from the saved WAMP folder on the safe partion? In the wamp/bin/mysql/../data/ I have my old databases. If I copy the database folder only, in phpMyAdmin I can't see all the tables/views from the old database. noonex Looks like you use InnoDB tables, so you should also copy ib* files in data folder (but this will overwrite any InnoDB table created in new installation.) Alternatively (even better) you may set

InnoDB working, still showing “Database server does not support InnoDB storage engine message”

孤人 提交于 2019-12-03 07:40:22
问题 I'm trying to install Magento on a local server using WAMP. InnoDB is set as the default engine but it still shows me the message: Database server does not support InnoDB storage engine. I really don't know what to do. Can someone help? 回答1: Go To Line 59 of the file app/code/core/Mage/Install/Model/Installer/Db/Mysql4.php Replace: public function supportEngine() { $variables = $this->_getConnection() ->fetchPairs('SHOW VARIABLES'); return (!isset($variables['have_innodb']) || $variables[

404 Not Found The requested URL was not found on this server

自古美人都是妖i 提交于 2019-12-03 07:22:57
问题 I'm having small troubles and was wondering if someone can help me over the hump. I pulled a copy of a website down from Hostgator and I'm trying to set it up on my local machine using WAMP but, I keep getting an error when trying to access the site. Here is what I have tried..I went to Apaches httpd.conf file and uncommented the # from LoadModule rewrite_module modules/mod_rewrite.so. Also I have changed the AllowOverride None to All. With that said, Im not sure what else to look for. Please