wampserver

WAMP 403 Forbidden message on Windows 7

我的梦境 提交于 2019-12-17 04:46:48
问题 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? 回答1: 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

Composer Warning: openssl extension is missing. How to enable in WAMP

≡放荡痞女 提交于 2019-12-17 04:13:17
问题 Trying to install Composer dependency management tool on Win7/64 + WampServer 2.2 via the Setup Installer and I am getting the following message: The openssl extension is missing, which will reduce the security and stability of Composer. If possible you should enable it or recompile php with --with-openssl So here is what I did... From my Wamp icon in Tray, clicked php > php extensions > php_openssl This showed that task was completed by placing a check mark beside the extension I then

WAMP Cannot access on local network 403 Forbidden

谁都会走 提交于 2019-12-17 02:44:07
问题 I know this question has been asked a lot of times I followed Most of the answers in the internet But I still get the same Message 403 Forbidden You don't have permission to access / on this server. It is weird that when I access using the same PC to localhost:1234 it runs normally but if I access using my IP address 192.168.0.188:1234 Also which is really weird is that I tried to install WAMP on other PC and without any configuration I could access to that PC. So I thought it's because

WAMPServer, access server from mobile phone

会有一股神秘感。 提交于 2019-12-17 02:25:26
问题 So I set up a few virtual hosts with unique urls and they work just fine on the desktop. However, when I connect a mobile device on the network, it can't seem to access anything properly but the default localhost virtualhost and that's only when it's the only virtualhost I have up. My setup and coding is pretty much this except with a different site title wamp server 3.0 virtual host on another device and while that solution redirects me to my unique url, it has a lack of images on a default

php mail() function on localhost

落爺英雄遲暮 提交于 2019-12-17 02:24:10
问题 I have problem with php mail() function on localhost server. I can't test my email application on localhost when i'm trying to send emails with php function mail() . I'm getting this error Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in F:\wamp\www\product\ajax.php on line 64 I'm using WAMP server and if anyone knows solution please help me. 回答1: You need to setup a mail server

WampServer 2.2a-x32 .htaccess not working

我的未来我决定 提交于 2019-12-13 23:25:49
问题 i am using WampServer 2.2a-x32 and i am trying to use .htaccess file in my webroot folder. i have rewrite.php file and here is its code <h2 align=center> <?php // mod_rewrite Test Page if($_GET['link']==1){echo"You are not using mod_rewrite";} elseif($_GET['link']==2){echo"Congratulations!! You are using Apache mod_rewrite";} else{echo" mod_rewrte Test ";} ?> </h2> <hr> <head> </head> <body> <p><a href="rewrite.php?link=1">LINK1</a> = rewrite.php?link=1</p> <p><a href="link2.html">LINK2</a> =

How to install pdflib on WAMP Server

大憨熊 提交于 2019-12-13 19:12:35
问题 I want to install pdflib on my wampserver2. I have downloaded pdflib and I've set the following line: extension=php_pdflib.dll in my php.ini file, but I'm still getting a Call to undefined function pdf_new() error. 回答1: You must copy the libpdf_php.dll to the extension directory of your php installation (check for extension_dir in your phpinfo() output). Also take care to use the version of PDFlib that matches your php version and compiler (multiple versions are included in the download you

Redirecting localhost/xxx to localhost/xxx.php in WAMP

送分小仙女□ 提交于 2019-12-13 18:11:34
问题 In Ubuntu/Mac, going to, say, localhost/page automatically redirects to localhost/page.php. But this doesn't work in Windows. How do you make stuff like localhost/asdf redirect to localhost/asdf.php? 回答1: I am assuming that you know what an .htaccess file is. You can achieve this by two methods: Method 1: `#1- Loads the page asdf.php but displays asdf in the address bar RewriteBase /site RewriteRule ^([^/\.]+)?$ $1.php ` Method 2: `#2- Loads the page asdf.php and displays asdf.php in the

How to create a symbolic link in the www directory?

你。 提交于 2019-12-13 16:16:16
问题 I'm not even sure this is the right way to do this, but I am looking for some advice. I am developing on a Mac, but using VMWare to run this project in Windows. I am using WAMPserver 2.2A. My directories look like this: C:\Users\John Doe\Development\project-web\ C:\wamp\www\ What I would like, is to develop my project in project-web, but have a symlink in www so I can run it in the browser with apache. This is what I tried: mklink project "C:\Users\John Doe\Development\project-web\" I ran

wampserver 2.2 64x could not execute menu item (internal error)[Exception] Could not execute run action: the directory name is invalid

℡╲_俬逩灬. 提交于 2019-12-13 08:21:43
问题 Working with the Wampserver 2.2 64x on win8.1, suddenly it has stopped starting services.its giving the following error: wampserver 2.2 64x could not execute menu item (internal error)[Exception] Could not execute run action: the directory name is invalid What i have done yet is start all Services/Restart All Services and restart wampserver, didn't work! I tried to Install Service: wampmanager -> Apache -> Service -> Install Service. cmd saying Actually Port 80 is used by server:Microsoft