wampserver

wamp server :How to deploy jsp application

我是研究僧i 提交于 2019-12-01 23:36:04
问题 I am newly started using WAMP server. I am unable to deploy my java application on it. only Html pages run. Please help with directory structure and where to keep jsp, java, .class ,war,xml files. JSP code is shown on html page when i click link for jsp. 回答1: WAMP Server is primarily meant for PHP/MySQL Development on Windows and does not support Java/JSP out of the box.(AFAIK) While it would be possible to use the same WAMP installation for configuring it to support JSPs, you would still

WampServer下开启curl

徘徊边缘 提交于 2019-12-01 22:27:42
先关闭wampserver 找到wamp/bin/php下的php.ini,取消extension=php_curl.dll的注释 找到wamp/bin/apache下的php.ini,取消extension=php_curl.dll的注释 保存重启wamp 注:配置的wampserver版本为2.4(x86),之前机器装的wampserver2.0配置后curl仍无法用,如果遇到配置不成功的情况可以考虑换个版本试一下。 另:网上有说将php目录下的libeay32.dll、libsasl.dll以及php/ext下的php_curl.dll拷贝到system32下,在wampserver2.0下尝试过也不行,不知道是wampserver的问题还是没作用,更换wampserver版本后没做此操作,curl正常使用。 来源: oschina 链接: https://my.oschina.net/u/1388718/blog/185920

How to solve WAMP localhost 500 internal error

别等时光非礼了梦想. 提交于 2019-12-01 20:17:13
今天手贱杀毒选择了自动处理,结果把我的mysql的一个文件被360当做木马处理了!!导致我WAMPSERVER无法启动,mysql数据库也无法连接,你妹。重装mysql后,WAMPSERVER 还是无法启动,重装,结果访问localhost出现 500 internal error。你妹,搞了半天说句实话,baidu不给力,google虽然是好是坏,但是解决问题还是要靠google。 在一个国外的论坛上发现类似问题。1中方法是删除 .htaccess文件,但是删除后其他类似localhost/post/admin回报404错误。 第二种也是比较好的一种,应该是我以前装WAMPSERVER的时候设置过不过忘了。就是在Apache server的httpd.conf文件中 找 到 LoadModule rewrite_module modules/mod_rewrite.so 去掉前面的(#),重启服务,就可以工作了。 英文原文 I found a solution for WAMP users. They unusually need to enable the mod_rewrite for their Apache server. In the httpd.conf find " LoadModule rewrite_module modules/mod_rewrite.so "

Call to undefined function pg_connect() - Wamp

江枫思渺然 提交于 2019-12-01 16:53:33
I want to connect to PostgreSQL, Im using wamp 64 bit. I have here Apache 2.4.2 PHP 5.4.3 Mysql 5.5.24 I also uncomment in php.ini the php_pgsql and php_pdo_pgsql. but i can't connect , It gives me error like this : Error suppression ignored for ( ! ) Fatal error: Call to undefined function pg_connect() Is there anybody know the solution regarding on my problem. I just need it badly. Thank you . darhamid Open php.ini Find ;extension=php_pgsql.dll and remove the semicolon at the beginning Find ;extension=php_pdo_pgsql.dll and remove the semicolon at the beginning Save the file Restart apache

wamp server 3.0 virtual host on another device

▼魔方 西西 提交于 2019-12-01 14:17:30
I am trying to view my site on other devices, mainly mobile devices. I am using Wampserver 3.0 with apache 2.4.17. I am also using the virtual host feature built in wampserver to view my site and my code is not in the wamp64\www\ folder, instead it is in my documents folder. I have been able to allow other devices view the wampserver default page but whenever I go to my website i get "fitly's server DNS address could not be found" Here is the httpd-vhosts.conf file <VirtualHost *:80> ServerName localhost DocumentRoot C:/wamp64/www <Directory "C:/wamp64/www/"> Options Indexes FollowSymLinks

memcache not working on windows?

被刻印的时光 ゝ 提交于 2019-12-01 13:27:03
i installed memcached and I also started the service by typing net start "memcached Server" and it said the service already started so i restarted apache and tried a couple of codes for using memcached: <?php //phpinfo(); $memcache = new Memcache; $memcache->connect("localhost",11211); //change if necessary $tempArray = array('fish', 'cow', 'demon'); $temp = serialize($testArray); $memcache->add("key", $temp, 60); print_r(unserialize($memcache->get("key"))); ?> but it gives an error: Fatal error: Class 'Memcache' not found in C:\wamp\www\temp.php on line 3 does this mean memcache is not

memcache not working on windows?

丶灬走出姿态 提交于 2019-12-01 11:40:09
问题 i installed memcached and I also started the service by typing net start "memcached Server" and it said the service already started so i restarted apache and tried a couple of codes for using memcached: <?php //phpinfo(); $memcache = new Memcache; $memcache->connect("localhost",11211); //change if necessary $tempArray = array('fish', 'cow', 'demon'); $temp = serialize($testArray); $memcache->add("key", $temp, 60); print_r(unserialize($memcache->get("key"))); ?> but it gives an error: Fatal

PHP SESSION data lost between page loads with WAMPserver 2.0 on localhost

*爱你&永不变心* 提交于 2019-12-01 11:16:43
I have a PHP authentication system on my website using the $_SESSION variable. A form submits a username and password to the file "login.php". It is handled like this: <?php include '../includes/sessionstart.inc.php'; ?> <?php ob_start(); ?> if($_POST){ $q = mysql_query("SELECT id, company FROM users WHERE username = '".mysql_real_escape_string($_POST['username'])."' AND password = '".md5($_POST['password'])."'"); if(mysql_num_rows($q) >= 1){ $f = mysql_fetch_Array($q); $_SESSION['company'] = $f['company']; $_SESSION['id'] = $f['id']; $_SESSION['logedin'] = true; session_write_close(); ob

WampServer 安装使用详解

假装没事ソ 提交于 2019-12-01 09:50:30
什么是WampServer 安装 配置 修改MySQL 配置 Apache 修改端口 设置其它主机访问 什么是WampServer WampServer是一款由法国人开发的Apache Web服务器、PHP解释器以及MySQL数据库的整合软件包。免去了开发人员将时间花费在繁琐的配置环境过程,从而腾出更多精力去做开发。 WampServer就是Windows Apache Mysql PHP集成安装环境,即在window下的apache、php和mysql的服务器软件。 安装 1. 下载 WampServer,官网: http://www.wampserver.com 。 如果下载慢,可以去我的 CSDN下载 2. 打开直接安装。安装完成后会出现: 意思就是让你选择默认的文件浏览器,一般它直接给你打开到了 C:\Windows 目录下,直接点 打开 就好了 3. 选择邮箱。如果你不确定可以直接点下一步 4. 至此就安装完成了。接下来是对其进行配置 配置 安装完成后,打开WampServer,会发现它是英文的。现在可以修改它的显示语言 1. 右击 右下角的 WampServer程序,选择 Language - chinese 2. 启动 WampServler有三种状态 服务器关闭状态,颜色为 红色 服务器开启,但是为离线状态,颜色为 橙色 服务器开启,在线状态,颜色为 绿色

PHP-WampServer安装(超详细)

冷暖自知 提交于 2019-12-01 09:50:18
PHP-WampServer安装 对于新手来说,PHP的开发使用WampServer是最合适不过了的,一键装好环境,安装过程也非常的简单,一路next就可以了。 WampSever 下载链接: https://sourceforge.net/projects/wampserver/ 这里是Win10 64位的 1.点击上面的下载链接,点击Download 2.下载完成后,双击安装程序 3.选择ok 4.选择I accept,点击next 5.点击next 6.更改安装路径,点击next。 7.点击next 8.点击Install 9.等待安装完成 10.我这里选择是,然后选在自己电脑上的Chrome了。(想用IE的可以选否) 11.我这里选择是,然后选在自己电脑上的Sublime Text3了。(想用Notepad可以选否) 12.点击Next 13.点击Finish。 安装完成 启动–双击打开桌面的快捷方式即可。 测试 打开浏览器,输入 localhost 回车,看到下图,即安装成功! 使用 找到安装目录下的www目录 想要运行的 php 代码写在这里面即可。 关于Wampserver的其他使用自己慢慢摸索,非常的简单。 创作不易,喜欢的话加个关注点个赞,蟹蟹蟹蟹。 来源: CSDN 作者: 快乐的小小程序猿 链接: https://blog.csdn.net/xu