wamp

Is it Possible to use PHP HttpRequest in WAMP?

删除回忆录丶 提交于 2019-12-02 02:43:24
问题 I am trying to use PHP HttpRequest Class and it seems that it's not installed with WAMP. Is it possible to have this extension available on Windows. I saw somewhere that "a DLL for this PECLis not available at this moment". Can someone confirm if it's possible to use PHP HttpRequest on Windows 回答1: In case you mean the class described at http://docs.php.net/class.httprequest: It's exposed by the http extension module. There are some win32 builds of this module (for php 5.3) at http:/

Apache配置httpd-vhosts虚拟主机总结及注意事项

只谈情不闲聊 提交于 2019-12-02 02:23:03
,用记事本打开apache目录下httpd文件(如:D:\wamp\bin\apache\apache2.2.8\conf),找到如下模块 # Virtual hosts #Include conf/extra/httpd-vhosts.conf 去掉前面的#,这样就开启了httpd-vhosts虚拟主机文件。这时候重启wamp环境,无法打开localhost,需要在httpd- vhosts.conf配置一下。 2,用记事本打开httpd-vhosts文件,配置好localhost虚拟主机,参照httpd- vhosts文件中实例,修改成如下: <VirtualHost *:80> ServerAdmin webmaster@dummy-host.localhost DocumentRoot "D:\wamp\www" ServerName localhost ServerAlias localhost ErrorLog "logs/dummy-host.localhost-error.log" CustomLog "logs/dummy-host.localhost-access.log" common </VirtualHost> 来源: oschina 链接: https://my.oschina.net/u/1262504/blog/194248

WampServer64的2.5版本配置多站点

不羁岁月 提交于 2019-12-02 02:22:51
在度娘上面找了很多配置文章,都是老版本的,讲解不详细,改来改去把配置文件改乱了,改完重启变成橙色,各种问题,研究的差不多了,卸载重装,重新配置,顺利解决问题。下面详细讲解一下,分享出来,两分钟就可以搞定。 整个配置过程要用到3个文件,先打开这些文件方便下面修改 C:\Windows\System32\drivers\etc 下的 hosts文件 D:\wamp\bin\apache\apache2.4.9\conf\extra 下的 httpd-vhosts.conf D:\wamp\bin\apache\apache2.4.9\conf 下的 httpd.conf 1.编辑httpd.conf 查看 LoadModule php5_module "d:/wamp/bin/php/php5.5.12/php5apache2_4.dll" PHPIniDir d:/wamp/bin/php/php5.5.12 Include conf/extra/httpd-vhosts.conf 这三句,如果被#注释了的话,去掉# 第三句话一般注释的,去掉注释后就能开启配置站点 然后就不用管httpd.conf了。 2.编辑 httpd-vhosts.conf 上面那步的第三句话就是让本文件的配置起作用 站点的范例,可以参照它写一个,也可以按照我下面的标准写一个站点信息,可以写多个站点信息

Oracle 11.1.0.7 and WAMP oci_connect failure

帅比萌擦擦* 提交于 2019-12-02 01:29:07
问题 I'm trying to configure a simple connection between my local WAMP server and some Oracle 11.1.0.7 I have. Apparently PHP has all sorts of solutions and magic situations where it fails to start. I'm running the latest 32bit version from WAMP (I fetched it today again just to check) The db machine is also 32bit, not local here are my attempts in connecting to the database, everytime I got the same error : $db = "(DESCRIPTION=(ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = some.ip.addr)(PORT

Wamp server error. could not execute run action

六眼飞鱼酱① 提交于 2019-12-02 00:43:52
问题 I am trying to start wamp serve which was totally running fine on my laptop two weeks ago, but now after two weeks I suddenly get this error: could not execute menu item(internal error)[exception] could not execute run action: the directory name is invalid When I click on wamp, then I go to apache, then I select service then test port 80 and this is what I see: when I write localhost, it goes there but when I click on Localhost and phpMyAdmin, i get this error: please tel me how I can fix

Windows7(64位)安装memcache扩展

橙三吉。 提交于 2019-12-02 00:14:29
准备工作: ( 1 ) Windows7 为 64 位系统 ( 2 ) wampserver 已安装,且为 64 位。(安装地址: http://www.wampserver.com/en/ ) 请选择好 php 版本号,因为会涉及到 memcache 扩展文件的下载 ( 3 )请先判断好安装的 PHP 是 ts 版本还是 nts 版本,判断方法如下: 1 )编写 phpinfo.php 文件: <?php Phpinfo(); ?> 2 )运行 phpinfo.php 文件,查看 Thread Safety 选项(这个选项就是用来查看是否是线程安全的)。如果是 enabled ,则表示所安装的 PHP 为 ts 版本的 ; 否则就是 nts 版本的。 ( 下载的 memcache 扩展文件为 ) ( 4 )通过( 2 )( 3 )的下载和判断,下载 memcache 扩展所需要的文件。下载地址为: http://pecl.php.net/package/memcache/3.0.8/windows ( Note:PHP5.3 和 5.4 版本,没有 64 位的扩展文件下载) ( 5 ) memcached 64 位下载 (下载地址: http://download.csdn.net/download/zhaotengfei36520/8182503 ) 做好准备工作

WAMP 2.5 X64 Not working

[亡魂溺海] 提交于 2019-12-01 23:56:35
I get the error... The program can't start because MSVCR110.dll is missing from your computer. I have installed both Microsoft Visual C++ 2010 Redistributable Package x64 and x32 bit. I don't know what else to do. Because I'm still getting the error. Is there anything else I can try? You do not need to install the full Visual Studio Compile. You need to have these MSVC runtimes installed, it looks like you were missing the MSVC11 (2012) runtime. What you need : The 2008 Redist (32bit) is used by wampmanager even if you installed the 64bit WAMPServer. The 2010 Redist is used by some versions of

codeigniter setting session variable with a variable not working

你离开我真会死。 提交于 2019-12-01 23:53:14
Using codeigniter running locally on WAMP and dealing with sessions. I tried the default session handler, db session, native session and now db session. They all result in the same issue and I can't for the life of me figure it out. The problem is that I am trying to set a session variable using a variable. I have confirmed the variable and have echoed it out and all is well in the controller. The controller calls on a view and the variable is there as well. The view calls on a uploader file and this is where the variable randomly gets set to "style.css" for some reason. If I set the session

Restore Database in WAMP

岁酱吖の 提交于 2019-12-01 23:43:32
I had few databases related to different projects in the WAMP. I don't know what happened, Today, when I go to PhpMyAdmin, I was just able to see the default databases and rest of my databases are not showing and even the php code related to those databases are throwing database not found errors. But when I go to "D:\wamp\bin\mysql\mysql5.1.30\data" the folders with my DB names are there. But not sure how to restore those DBs and I don't have any backup of the DB, Can any one help me how to restore them? Rohit Kumar Choudhary You can copy these file to another location and reinstall the same

403 forbidden. You don't have permission to access / on this server. localhost. wamp 2.5

时光怂恿深爱的人放手 提交于 2019-12-01 23:28:05
I am facing problem to access localhost even 127.0.0.1 is not working; from my own computer. But, i have no problem for /phpmyadmin. I am using wamp 2.5 Apache/2.4.9 (Win64) PHP/5.5.12 Server at 127.0.0.1 Port 80 for win 8.1. httpd.conf # # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.4/> for detailed information. # In particular, see # <URL:http://httpd.apache.org/docs/2.4/mod/directives.html> # for a discussion of each configuration directive. # # Do NOT