wamp

RegExp in preg_match function returning browser error

不羁岁月 提交于 2019-11-26 20:14:20
The following function breaks with the regexp I've provided in the $pattern variable. If I change the regexp I'm fine, so I think that's the problem. I'm not seeing the problem, though, and I'm not receiving a standard PHP error even though they're turned on. function parseAPIResults($results){ //Takes results from getAPIResults, returns array. $pattern = '/\[(.|\n)+\]/'; $resultsArray = preg_match($pattern, $results, $matches); } Firefox 6: The connection was reset Chrome 14: Error 101 (net::ERR_CONNECTION_RESET): The connection was reset. IE 8: Internet Explorer cannot display the webpage

本地环境

孤者浪人 提交于 2019-11-26 19:58:36
Forbidden You don't have permission to access / on this server. 解决办法 打开 httpd.conf 文件, 将 # onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from 127.0.0.1 改成 # onlineoffline tag - don't remove Order Allow,Deny Allow from all 重启所有服务即可 Forbidden You don't have permission to access /phpmyadmin/ on this server 解决办法 打开 XXX/wamp/alias/phpmyadmin.conf 文件, 将 <Directory "F:/Software/wamp/alias/phpmyadmin3.5.1/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory> 修改成 <Directory "F:/Software/wamp/apps

How to enable memcache in WAMP

空扰寡人 提交于 2019-11-26 19:46:51
How to install memcache in WAMP? I don't find any php_memche in php.ini . What do I do now? @Ryan thanks for your step, now memcache enabled in WAMP, i have cross checked in the PHPINFO as well. memcache is displaying. i have tried below example memcache sample. but throwing error. <?php $memcache = new Memcache; $memcache->connect('localhost:8085', 11211) or die ("Could not connect"); $version = $memcache->getVersion(); echo "Server's version: ".$version."<br/>\n"; $tmp_object = new stdClass; $tmp_object->str_attr = 'test'; $tmp_object->int_attr = 123; $memcache->set('key', $tmp_object, false

Call to undefined function curl_init() error in wamp 2.2

早过忘川 提交于 2019-11-26 19:43:08
问题 I am having below error when I try to implement google and facebook authentication in windows 7 using wamp server . Fatal error: Call to undefined function curl_init() in E:\wamp\www\mysite\protected\extensions\eauth\EAuthServiceBase.php on line 273 I am using, wampserver 2.2 php version 5.3.13 I have enabled php_curl module as well. I checked in php.ini for confirm and it is uncommented as below. ;extension=php_bz2.dll extension=php_curl.dll ;extension=php_dba.dll The code has worked in

WAMP 403 Forbidden message on Windows 7

不想你离开。 提交于 2019-11-26 19:40:51
I have installed WAMP version 2.1 on my windows 7 machine. When i browse to localhost in my browser, the WAMP server page is visible. But when I browse to my IP in my browser, I get the message 403 Forbidden: You don't have permission to access / on this server. Any suggestions? The access to your Apache server is forbidden from addresses other than 127.0.0.1 in httpd.conf (Apache's config file) : <Directory "c:/wamp/www/"> Options Indexes FollowSymLinks AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory> The same goes for your PHPMyAdmin access, the config file

How to change port number for apache in WAMP

只愿长相守 提交于 2019-11-26 19:35:05
I am new to WAMP server and installed it on my system but after installing it when I check it by going to localhost url like this http://localhost/ in the browser it is not working. I am getting a 404 error and blank page . This is because my 80 port which default in Wamp server is being used by IIS server. So please let me know how to change port number in Wamp server and solved this problem. vishal_g Click on the WAMP server icon and from the menu under Config Files select httpd.conf . A long text file will open up in notepad. In this file scroll down to the line that reads Port 80 and

step-by-step instructions for installing IMAGEMAGICK on WAMP?

左心房为你撑大大i 提交于 2019-11-26 19:28:50
There don't seem to be any concise tutorials/walk throughs for installing ImageMagick on WAMP for use with PHP. I've tried dozens of combinations of their binary releases with different php extension dll files. I can get imagemagick working fine from the command line, and I can get it to show as ticked in the WAMP extensions, but can't actually use it. Has anyone come across a good guide for installing this ball ache piece of software? I've followed http://www.knowledge-transfers.com/it/installing-imagemagick-on-windows-setup-imagick-on-php with no luck... Update: this is what happens when I

十大开源CRM

删除回忆录丶 提交于 2019-11-26 19:21:58
十大开源CRM The names you need to know for a customizable, scalable and affordable open-source solution. By David Hakala on December 13, 2007 Open-source software is not for businesses who want out-of-the-box complete applications, but it makes sense for companies that want to tailor every aspect of the CRM experience from the ground up. Webinar: Sales Reps Don't Use Your CRM: Show them Why They Should Hosted vs. In-House CRM The Case for Open Source Top CRM Providers Compared CRM buyers might have very few choices were it not for open-source applications. The CRM field is dominated by huge

Installing mod_wsgi on WAMP server running on Windows 7

本小妞迷上赌 提交于 2019-11-26 19:15:52
问题 I downloaded mod_wsgi from the following location for apache 2.2 and python 2.7 (64bit). (I'm trying to get django to run on my computer). Whenever I add the following line: LoadModule wsgi_module modules/mod_wsgi.so Apache fails to start up. Can anyone tell me what the issue might be? 回答1: These are the following things you need to do to setup Apache for Django. I assume you are using Python 2.7 ( 32-bit ) on Windows ( 32-bit ) with WAMP server ( 32-bits ) installed. Download mod_wsgi-win32

WAMP/XAMPP is responding very slow over localhost

纵然是瞬间 提交于 2019-11-26 19:15:49
I don't know what the problem is. WAMP was very slow, so I reformatted my computer and installed WAMP. Still, accessing localhost is very, very slow, and sometimes it doesn't even load at all. I even removed it and replaced it with XAMPP, but I still got the same result. What might possibly be the problem? Here's my current hosts file: 127.0.0.1 localhost 127.0.0.1 localhost It was perfectly working fine before, but I do not know what happened and why it has started acting strange lately, since even a reformat didn't fix it. I had the same problem running on Windows 8 running on 64bit. Apache