wamp

腾讯云wamp搭建网站

不问归期 提交于 2019-12-01 09:45:21
接,很久以前的远程桌面连服务器。 首先得远程桌面连上服务器 ̄ω ̄ ,然后。。。 在服务器上下载wamp并安装。 1.新的服务器上安装wamp一般会报错: 报错系统缺少msvcr110.dll 文件or另一个什么文件(时间久了,有点忘了)。 解决方法:需要重新安装vcredist (vcredist是针对于不同CPU所出的优化补丁执行程序,是一种基于C++的软件需要的库文件,有些程序在安装相应的vcredist文件环境下才能运行,比如dll),下载地址: 按需下载 。 2.wamp配置文件httpd.conf外网访问设置问题 wamp配置文件httpd.conf(左键wamp图标,在Apache中找)要设置能让外网访问,否则别的设备无法访问你的网站。2.2版本的wamp,屏蔽下面两行代码即可。 这一条参考了该博客: 云服务器上Wamp搭建网站 3.服务器防火墙的80端口 腾讯云的话,在控制台中找到安全组。 在入站规则中添加规则,开放80端口。可以看到图片上有一个“教我设置”,可以自己去查看,讲的很清楚。 4.wamp图标是黄色 最直接的方法是,重新装一遍试一下。 右键wamp图标,在tools中,test80和3306端口,看看被谁占用了。然后,可以给他换一个端口。但是作为一个强迫症,我非常的暴躁,那么另外的方法就是,在任务管理器中根据pid找到它,并关掉。或者通过更改配置文件来修改

新手搭建自己的网站(2)

狂风中的少年 提交于 2019-12-01 08:52:15
配置开发环境:Wamp + PhpStrom 这里为了方便,直接选用了"Wampserver + Phpstrom"的组合,Wamp是一款集成了Apache+Mysql/MariaDB+Perl/PHP/Python的软件,之后如果真的愿意往这方面发展,建议自己把这些都一个一个配置一遍(学长说的); 1.配置Wampserver 这里推荐下载3.0.6版本的,因为之前下载的3.1.3版本,在上传文件时会出错,而且目前没找到解决办法,所以直接用3.0.6的吧。 Wamp3.0.6下载 在安装之前,先要做一件事情,去下载一个“msvcr100.dll丢失修复工具”,也可以用这个方法: 点击打开链接 因为很多电脑直接安装Wamp后,打开就会报错, 如图: 为了防止这个问题,应该先去修复这个问题(网上也有很多其他教程); 假如你安装Wamp之前没有做这个步骤,记住要先卸载wamp,修复后再装一遍! 安装步骤: 接下来就是一通“next”,一直点就是了; 图中会有这俩界面,点击"是": 点“打开”; 接下来这个也一样,点"是"; 点“打开”; 安装完毕之后,运行Wamp; 右键点击Wamp的红色图标,设置中文: 打开浏览器,输入 localhost,看到以下图片,说明安装成功! 2.配置PhpStrom 安装: 一直“next”,这几个勾都打上; 安装完成: 打开PhpStrom,破解,

Apache time stamp incorrect

不羁岁月 提交于 2019-12-01 07:39:17
I am using WAMP server running PHP. At a particular step I am trying to capture system time and add it to the database with the following query $strSQLInsert = "UPDATE track SET State = 'Repeat' , DateTime = '" . date("m/d/Y h:i:s a") . "', where AccID like '". $values['SampleID'] ; but the time stamp is way off than my system time. The date is okay. I googled and found out that I can update my .htaccess with this line SetEnv TZ America/Los_Angles But I couldn't find where htaccess is. How do I get the correct time stamp. Try to change the timezone in the php.ini configuration file, and then

What is the WebSocket error on status 200?

对着背影说爱祢 提交于 2019-12-01 06:23:33
I have bought a WebSocket module and installed it on my WAMP environment. I also have a PHP script which generates the IPC file at the correct location and loops forever to listen to events. However, using this client-side code: var websocket = null; var connect = function() { var button = document.getElementById('connect-button'); // This function is a convenience function, to set the content // of the response display var setResponse = function(text) { var element = document.getElementById('response'); element.innerHTML = text; } // A message telling the user we started connecting is always

how to connect SQL server with php web application using wamp server?

本小妞迷上赌 提交于 2019-12-01 06:08:00
问题 i am using wamp server 2.5 and php 5.5.12 and SQL server 2014 . i am trying to connecting a php application . but its giving me an error to connecting a database 回答1: The MSSQL extension is not available anymore on Windows with PHP 5.3 or later. SQLSRV, an alternative driver for MS SQL is available from Microsoft: » http://www.microsoft.com/en-us/download/details.aspx?id=20098 Step by Step Download SQLSRV32.EXE (Microsoft Drivers for PHP for SQL Server) from: http://www.microsoft.com/en-us

Setup include path for PEAR on Wamp

眉间皱痕 提交于 2019-12-01 05:49:34
问题 Installed PEAR and followed the directions on http://www.phpunit.de/manual/current/en/installation.html: pear config-set auto_discover 1 pear install pear.phpunit.de/PHPUnit. Then, I created the test: <?php # error reporting ini_set('display_errors',1); error_reporting(E_ALL|E_STRICT); # include TestRunner require_once 'PHPUnit/TextUI/TestRunner.php'; # our test class class ExampleTest extends PHPUnit_Framework_TestCase { public function testOne() { $this->assertTrue(FALSE); } } # run the

PHPMailer Hangs on Send

走远了吗. 提交于 2019-12-01 04:36:29
I had successfully setup a web app using WAMPSERVER on a desktop used by a few people internally, this used PHPMailer to an internal SMTP server without encryption or authentication and it worked. That desktop crashed and I've migrated to a "new" desktop. I had an SVN setup so I was even using most of the same files and config. One difference which might matter is that the old desktop was 64-bit and the new is 32-bit. This means I'm using different versions of WAMPSERVER. The mailer just hangs. I don't get a PHP error or a PHP timeout. I just never reach the end of my script. The crazy part

Apache time stamp incorrect

跟風遠走 提交于 2019-12-01 04:16:40
问题 I am using WAMP server running PHP. At a particular step I am trying to capture system time and add it to the database with the following query $strSQLInsert = "UPDATE track SET State = 'Repeat' , DateTime = '" . date("m/d/Y h:i:s a") . "', where AccID like '". $values['SampleID'] ; but the time stamp is way off than my system time. The date is okay. I googled and found out that I can update my .htaccess with this line SetEnv TZ America/Los_Angles But I couldn't find where htaccess is. How do

Error #1045 Access Denied in PhpMyAdmin

大兔子大兔子 提交于 2019-12-01 04:08:13
Basically I changed the password of MySQL via CMD and after that when I tried to visit the phpmyadmin page it shows me Error #1045 Access Denied. I would like to how to fix this problem. Thanks in advance. Dmitro Go to phpMyAdmin folder (in my case it is C:\wamp\apps\phpmyadmin3.2.0.1). In the file config.inc.php change the line $cfg['Servers'][$i]['auth_type'] = 'config' to $cfg['Servers'][$i]['auth_type'] = 'cookie' Now the password will be asked on your first visit of the phpMyAdmin page you have to change the database password value in C:\wamp\apps\phpmyadmin3.4.5\config.inc.php into your

How to config .htaccess files of CakePHP in WampServer?

二次信任 提交于 2019-12-01 03:48:47
问题 I'm absolutely confused about what I must do to run my sample in CakePHP... I'm using WAMP Server and it is located in "C:/program files/wamp/" and I use another partition for my projects: "E:/Projects/". there is a folder for Learning CakePHP: " E:/Projects/cakephp/ ". I've put all the CakePHP extracted contents in that folder ( consist of: index.php, .htaccess, readme.txt and folders: app, cake, plugins, vendors )... First, I set an alias name ( test ) in Apache that pointed to " E: