wamp

mod_rewrite not working for Apache 2.2 on Windows 7

好久不见. 提交于 2019-11-29 22:58:22
问题 I have WampServer up and running on my Windows 7 machine. It is installed in C:/wamp. I have set up my configuration using the following VirtualHosts in the C:/wamp/bin/apache/Apache2.2.1.7/conf/extras/httpd-vhosts NameVirtualHost *:80 <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot "C:/wamp/www" <Directory "C:/wamp/www"> Options Indexes Includes FollowSymLinks ExecCGI MultiViews AllowOverride all Order Allow,Deny Allow from all </Directory> </VirtualHost>

curl is activated but is not showing in phpinfo

会有一股神秘感。 提交于 2019-11-29 21:14:00
问题 I have a problem that curl is not showing in phpinfo as i am using wampserver(64 bit) but when i open php and then php extensions a tick is placed in front of php_curl in my wamp server but still curl is not displayed in phpinfo. Can anyone help me? 回答1: I ran into this issue myself a couple of days ago, the only way I could fix it is by installing apache addon version 2.2.9 and php addon version 5.3.1 Both are available in the addons section of the download page at http://www.wampserver.com

wamp server not working on 8.1

北城余情 提交于 2019-11-29 19:53:23
问题 I just upgrade to win8.1 from win8 and I can't start wamp server (2.2 x64) It was working fine on win8 回答1: Try checking that the Apache and MySQL services are still registered as services. Look in Windows Services for services called - 'wampapache' and wampmysql' Or if you have WAMPServer 64bit wampapache64 and wampmysqld64 If they dont exist do the following:- wampmanager -> MySQL -> Service -> Install Service wampmanager -> Apache -> Service -> Install Service Then try to restart all

Failed to create COM object 'X': Class not registered in another WAMP

こ雲淡風輕ζ 提交于 2019-11-29 18:14:24
There already is a working WAMP instance in a Windows 7 in which the line $x = new COM("X"); does instantiate a COM object. I was trying to locate a bug, and decided to use a fresh new WAMP installation on the same Windows 7 system as the previous one. In the new one, the same line produces: Failed to create COM object 'X': Class not registered ( Error code: 0x80040154 ) Now, since the first WAMP comes with it's own installation application (along with its DLL which holds the COM class) I can't exactly figure out what I need to change in the new WAMP so the line above will instantiate the

WAMP Server virtual hosts configuration

心已入冬 提交于 2019-11-29 16:31:01
问题 OK, I have my wamp installed and simply can't setup my virtual hosts properly. Here's what I have: Wamp install dir: F:\wamp Projects dir: F:\www # F:\wamp\bin\apache\apache2.4.2\conf\extra\httpd-vhosts.conf <Directory "F:\www"> AllowOverride AuthConfig FileInfo Indexes Limit Options Order Deny,Allow AllowOverride All Allow from all </Directory> NameVirtualHost 127.0.0.1 <VirtualHost 127.0.0.1> ServerName localhost DocumentRoot "F:\wamp\www" </VirtualHost> # Yes, it's a symfony2 project

http://localhost/phppgadmin/ -> 403 Forbidden

两盒软妹~` 提交于 2019-11-29 15:15:09
问题 I try to install postgreSql on my wampserver So I follow some tutorial and some other... But when I access to localhost/phppgadmin/ , an error occurs: Forbidden You don't have permission to access /phppgadmin/ on this server. Though I active php_pgsql and php_pdo_pgsql in PHP extensions... My phppgadmin.conf: # File phppgadmin.conf Alias /phppgadmin "C:/wamp/apps/phppgadmin5.1/" <Directory "C:/wamp/apps/phppgadmin5.1/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny

WINDOWS + WAMP + Zend Framework 配置

余生长醉 提交于 2019-11-29 15:11:11
WINDOWS 下WAMP环境下 的 Zend Framework 配置 1,安装WampServer 下载WAMPSERVER并安装,在本例中,安装在C:\wamp下。 2 安装Zend Framework 解压缩 Zend Framework 压缩包中 \library\ 至 C:\wamp\library ,记住,路径别搞错了。 3 开启支持rewrite module 编辑 httpd.conf。 - 编辑 C:\wamp\bin\apache\Apache2.2.10\conf\httpd.conf 文件。或 - 右击托盘里WampServer小图标 --> Apache --> httpd.conf # LoadModule rewrite_module modules/mod_rewrite.so 去掉 '#',改为: LoadModule rewrite_module modules/mod_rewrite.so 4 PHP library 设置 - 编辑 C:\wamp\bin\php\php5.2.7\php.ini,或 - 右击托盘里WampServer小图标 --> PHP --> php.ini ; Windows: "\path1;\path2" ; include_path = ".;c:\php\includes" 去掉 ';',并且加上Zend

WAMP and pcntl_fork

自作多情 提交于 2019-11-29 14:42:30
问题 Is there a way to make pcntl_fork work in WAMP? I need to develop a forking solution and test it locally. 回答1: No, it's not possible. The PCNTL extension requires *nix platforms. Now, with that said, what are you trying to do, and can you solve it without forking...? Edit: Some alternatives to launching background processes: Unix/Linux: exec('nohup php yourscript.php > /dev/null 2>&1 &'); Windows; $com = new Com('WScript.shell'); $com->run('php yourscript.php', 10, false); For documentation

在win8/win8.1中wamp启动curl失败的解决方法

谁说胖子不能爱 提交于 2019-11-29 13:07:41
因为最近准备好好学习一下cURL,所以在我的win8.1本本上安装了一个wamp,安装完毕之后一切正常,准备操练一下cURL的时候,出现报错,说是没有定义curl_init();这个函数。用phpinfo()看了一下配置,果然没有发现加载cURL。检查了php.ini文件,配置确实没有错误,然后就在网上进行了搜索,发现还真是有不少同样的情况,他们说的解决办法也很多,什么修改这个配置那个配置了,把三个***.dll文件复制到system32文件夹下了,但是我的直觉是就是php_curl.dll文件出现的错误,只要能找到一个正确的php_curl.dll替换上去,问题应该就能够迎刃而解了。 在乱七八糟的信息中还真是让我找到了一篇文章,完美的解决了这个问题,他也是说的是.dll文件的事,并且在外国人的博客上成功下载到了正确的php_curl.dll文件,我就果断下载了下来,对应好版本号,立马cURL就加载好了,真是药到病除,根本没有网上说的那么复杂,首先呢,对无私分享的前辈们表示衷心的谢意,其次,我也把这四个文件发布到了网上,有需要的朋友们可以下载下来试试看。今天亲测有效 http://download.csdn.net/detail/missyougoon/9103371 来源: oschina 链接: https://my.oschina.net/u/1423209/blog

How to downgrade Wampserver PHP and Apache?

£可爱£侵袭症+ 提交于 2019-11-29 12:50:20
I have a project that runs on Apache 2.2.21 and PHP 5.3.10. I installed the latest wampserver which have Apache 2.4.4 and PHP 5.4.16. How can I downgrade the version? I also have a project that runs in the latest and not in the old version that's why I can't install the old version of wampserver. In my wampserver I installed the Apache and PHP which is old version. But after installing it and restarting my server. I can't run the Apache and PHP. If I start the version of Apache it says the PHP version is not compatible. And if I enable the PHP it says the Apache is not compatible with the