Quantcast
Channel: WampServer - WampServer English
Viewing all 3213 articles
Browse latest View live

Forbidden! (3 replies)

$
0
0
Hi, my name is Davide. Nice to meet you.
I have a problem with Apache 2.5 in WAMP Server 3.0.4. I have granted access to the server pages only from the same server. If I try from another host in the lan I have everytime a Forbidden message.
I have modified the http.conf e his Allow directives but it not work.
This is my httpd.conf

(Tnx and i'm sorry for my bad english)


ServerSignature On

ServerTokens Full

ServerRoot "E:/wamp64/bin/apache/apache2.4.18"

Define APACHE24 Apache2.4

Listen 0.0.0.0:80
Listen [::0]:80

LoadModule access_compat_module modules/mod_access_compat.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule authn_core_module modules/mod_authn_core.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authz_core_module modules/mod_authz_core.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule cache_module modules/mod_cache.so
LoadModule cache_disk_module modules/mod_cache_disk.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule file_cache_module modules/mod_file_cache.so
LoadModule include_module modules/mod_include.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule rewrite_module modules/mod_rewrite.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule php5_module "E:/wamp64/bin/php/php5.6.19/php5apache2_4.dll"

<IfModule unixd_module>
User daemon
Group daemon
</IfModule>


ServerAdmin test@test.com

ServerName pc-test:80

<Directory />
Allow from all
</Directory>

HostnameLookups Off

DocumentRoot "E:/wamp64/www"
<Directory "E:/wamp64/www/">
Options +Indexes +FollowSymLinks
Allow from all
Require all granted
</Directory>

<IfModule dir_module>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>

<Files ".ht*">
Require all granted
</Files>

ErrorLog "E:/wamp64/logs/apache_error.log"

LogLevel warn

<IfModule log_config_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
CustomLog "E:/wamp64/logs/access.log" common
</IfModule>

<IfModule alias_module>
ScriptAlias /cgi-bin/ "E:/wamp64/cgi-bin/"
</IfModule>

<IfModule cgid_module>
</IfModule>

<Directory "E:/wamp64/cgi-bin">
AllowOverride None
Options None
Require all granted
</Directory>

<IfModule mime_module>
TypesConfig conf/mime.types
AddEncoding x-compress .Z
AddEncoding x-gzip .gz .tgz
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
</IfModule>

EnableSendfile off

AcceptFilter http none
AcceptFilter https none

Include conf/extra/httpd-autoindex.conf
Include conf/extra/httpd-vhosts.conf

<IfModule proxy_html_module>
Include conf/extra/proxy-html.conf
</IfModule>

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

Include "E:/wamp64/alias/*"

403 Forbidden (1 reply)

$
0
0
I have installed Wamp 3.0

All installed well


When I try to access the page phpmyadmin/index.php I am able to access this page

But

When I goto [localhost] it shows me error message 403 Forbidden .


So kindly let me help how can I access this page ?

Virtual hosts file does not validate with WampServer, but does with Apache (2 replies)

$
0
0
I am using xip.io and wildcard virtual hosts to allow for ad-hoc creation of new sites where they will be automatically allocated to a directory based on the hostname.

My virtual hosts hosts file validates with httpd -t, and I've been using it for a couple of hours and it's doing exactly what I want. However, it triggers four warnings with the new virtual hosts feature in WampServer. Here is the file:

-----

<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
<Directory "C:/wamp/www/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>

<Directory "c:/wamp/www/*">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>

<VirtualHost *:80>
# Apache will form URLs using the hostname supplied by the client
UseCanonicalName Off

# available aliases to use
ServerAlias *.192.168.1.100.xip.io

# where to put them
VirtualDocumentRoot "c:/wamp/www/%1/"
</VirtualHost>

-----

And here are the WampServer errors:

The number of DocumentRoot does not match the number of ServerName in C:/wamp/bin/apache/apache2.4.17/conf/extra/httpd-vhosts.conf file
The path c:/wamp/www/%1/ for DocumentRoot does not exist (File C:/wamp/bin/apache/apache2.4.17/conf/extra/httpd-vhosts.conf)
The path c:/wamp/www/* for <Directory ... does not exist (File C:/wamp/bin/apache/apache2.4.17/conf/extra/httpd-vhosts.conf)
The number of <VirtualHost does not match the number of ServerName in C:/wamp/bin/apache/apache2.4.17/conf/extra/httpd-vhosts.conf file

The errors do not affect me at all since I don't use the virtual server setup feature of WampServer - I just turned this feature off and the errors went away. But it does seem like this is something that should be corrected at some point - if valid virtual hosts are added directly to the file (even if they are type of virtual host that the tool does not support) then the tool should ignore them rather than saying they are invalid.

Guide for setting up virtual host / server ? (no replies)

$
0
0
Had this done and working fine before i installed Windows 10, i moved over the configs and www files etc (changed host) all that but wamp doesnt seem to reconise the server being on to anyone else but me, and i cant for the life of me find a up to date guide from start to finish on how to setup from fresh, ive tried doing what multiple guides say (believe you only need 8080 and 80 forwarded on ports) but nothing will let anyone else but me connect to the dns.

error installing PHP7 plugin (no replies)

$
0
0
I'm stuck on the install of the PHP7.05 for wamp 3.







I'm logged in as superadmin, and wamp is clearly installed on c:/wamp.

these files are in c:\wamp\
wampmanager.conf
wampmanager.exe
wampmanager.ini
wampmanager.tpl

In wampmanager.conf:
installDir = "c:/wamp"
I'm sure I'm in the right directory.

This is on windows 10 64 bits.


This is a continuation of another thread, which got a bit off topic.
[forum.wampserver.com]

I successfully installed wampserver, but I don't know how to do this (3 replies)

$
0
0
I successfully installed wampserver,

The instructions say to run localhost, which i did, then phpmyadmin, which I also did,

But when it came to "Run \wamp\www\testmysql.php. you will need to edit the file and change the "mysql_connect('127.0.0.1', 'root', '')", I don't know how to do it, "

Any sugestions?

Rafael

Oracle Instant Client for XE 11 (1 reply)

$
0
0
Hi,

I have just installed wamp because I had issues with XAMPP installing the OCI in order to connect to oracle database.

I hope this is possible in Wamp? can you please guide or send the step-by-step?


Thanks,
Jassim

Apache Error (1 reply)

$
0
0
Hi,

My configuration :

Wampserver 3.0.0 32bits
Apache 2.4.17
php 5.6.15
mysql 5.7.9

My problem :
WampServer start properly, but when I try to access a project in the log i have:

------------------------------------------------------------------

[Sat May 21 10:55:39.393866 2016] [authz_core:error] [pid 6984:tid 1140] [client 127.0.0.1:50070] AH01630: client denied by server configuration: C:/wamp/www/project/api/app/

[Sat May 21 10:55:39.395878 2016] [authz_core:error] [pid 6984:tid 1140] [client 127.0.0.1:50070] AH01630: client denied by server configuration: C:/wamp/www/project/api/src/
------------------------------------------------------------------

Yet I check my configuration files and all seems OK.

There are my configs files :

httpd.conf :


<Directory "C:/wamp/www/">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# [httpd.apache.org]
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all

#
# Controls who can get stuff from this server.
#

#onlineoffline tag - don't remove
#Require local
Require all granted
</Directory>


httpd-vhosts.conf:

<VirtualHost *:80>
ServerAdmin admin@test.fr
ServerName localhost
DocumentRoot "C:/wamp/www"
<Directory "C:/wamp/www">
Options +Indexes +FollowSymlinks
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerAdmin admin@test.fr
ServerName localhost.project.com
#ServerAlias localhost.project.com
DocumentRoot "C:/wamp/www/project/website/web/"
<Directory "C:/wamp/www/project/website/web/">
Options +Indexes +FollowSymlinks
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerAdmin admin@test.fr
DocumentRoot "C:/wamp/www/project/api"
ServerName api.project.com
#ServerAlias api.project.com
<Directory "C:/wamp/www/project/api">
Options +Indexes +FollowSymlinks
AllowOverride All
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerAdmin admin@test.fr
DocumentRoot "C:/wamp/www/Demo_websocket/web"
ServerName demo.websocket
#ServerAlias demo.websocket
<Directory "C:/wamp/www/Demo_websocket/web">
Options +Indexes +FollowSymlinks
AllowOverride All
</Directory>
</VirtualHost>

I already tried to set Require all granted in VirtualHost but no success :s

If someone has already faced this problem and found a solution , I'm interested. Thank you

CLI APPCRASH php.exe while unit testing (1 reply)

$
0
0
Short:

- CLI APPCRASH php.exe occur with only one project testing, not occur with another project.
- Yesterday same project with same configuration (php, netbeans, wamp, phpunit) did not cause that error.

Details:

Netbeans "Test" option (project context menu) which generate command:

"..\phpunit.bat" "--colors"
"--log-junit" "..\nb-phpunit-log.xml"
"..\NetBeans 8.1\php\phpunit\NetBeansSuite.php" "--"
"--run=C:\wamp\www\treningPHPUnit-Calculator-PHPUnit1\test\src\CalculatorTest.php"

cause APPCRASH:


Problem details:
problem name: APPCRASH
aplication name: php.exe
application version: 7.0.1.0
Sygnatura czasowa aplikacji: 5671e9a8
module name with error: ucrtbase.DLL
module version with error: 10.0.10240.16390
exception code: c0000005
Moving the exception: 00032a05
OS version: 6.1.7601.2.1.0.256.48
Identyfikator ustawień regionalnych: 1045
more information 1: 0a9e
more information 2: 0a9e372d3b4ad19135b953a78882e789
more information 3: 0a9e
more information 4: 0a9e372d3b4ad19135b953a78882e789




using:
-windows7
-wamp3
-php7.0.1
-netbeans 8.1

using wamp for live wordpress site (1 reply)

$
0
0
Hi,
I have succesfully installed and designed a new wordpress theme with wamp.
Because we have a windows 2012 server I also want to deploy the live site on this server.
Can I use wamp for this is wamp only to be used as a setup for developing locally?
Thanks,
Andrej

win server 2012 - cannot load module mod_ssl (1 reply)

$
0
0
Hi all,

I'm faced with this problem since a while and Google cannot help me ... who can do it ?

I installed last version of WampServer (3.0.0 - 64 bits) on Win Server 2012 R2.
Apache 2.4.17
Php 5.6.16

I tried to activate the module mod_ssl based on this documentation [stackoverflow.com] without succes.

My certificate is a official one (trusted and no self-signed)

When I test my httpd.conf, I get the following message:

httpd.exe: Syntax error on line 173 of D:/Tools/wamp64/bin/apache/apache2.4.17/conf/httpd.conf: Cannot load modules/mod_ssl.so into server: The operating system cannot run %1.

Who can help me ?
Thanks for your support.
François

Bug with wampserver3_x86_apache2.4.17_mysql5.7.9_php5.6.15 (1 reply)

$
0
0
I recently installed wampserver3_x86_apache2.4.17_mysql5.7.9_php5.6.15 onto a clean windows 10 Pro x64 machine. Yes, I've installed all the prereqs.

The error I was getting was "The mbstring extension is missing. Please check your PHP configuration."

Everywhere I looked, said to check my php.ini. I kept checking it but everything was correct. I tried going to the php.ini from the wampserver icon via PHP -> PHP.INI, where it came up with an error saying "C:\wamp\bin\apache\apache2.4.17\bin\php.ini" was missing.

To resolve the error, I ended up copying the contents of "C:\wamp\bin\php\php5.6.15\php.ini" into a new php.ini in "C:\wamp\bin\apache\apache2.4.17\bin\".

Thought the developers would like to know.

So bummed with this app (3 replies)

$
0
0
So i am brand new to WAMP and not a techie.. i tried installing it, but it wouldnt..
I dont know what Vistual++ is, nor do i know where to run an update (windows 10 - brand new machine)
This is to be the most user unfriendly product i have encountered in ages.
Then i hit up the forum, to discover rudeness and aggressiveness to people asking questions from the moderators.

But hey, what do you guys care hey.
Hint: Get your installer to do everything, hence installer or make a fool proof guide for us non technical peeps to trying to build a wordpress site as easy as possible to understand.

Again, seriously dissapointed in you guys

error #2002, server refusing connection (5 replies)

$
0
0
Wampserver 2.5; Apache 2.4.9; PHP 5.5.12; MySQL 5.6.17

This thing has been working like a champ for months now. And then I hit an error (#2006) in PHPMyAdmin while trying to import a table with a row that had 4MB of data in it. Reading through the Forum, I found some things to try to fix that issue (tweaking POST_MAX_SIZE value, wait_timeout, MAX_ALLOWED_PACKET value, etc.) and in the process, have hosed up my install... Apache and PHP (I think) both start, but MySQL, no. I'm getting an orange wamp icon. Tried stopping, starting, restarting, etc. Even un-did the changes I'd made to the settings above. Still not resolved. Not concerned with the 2006 error, as I figured out a workaround (just deleted the offending row before importing), but the 2002 error has me dead in the water. Will appreciate any help in getting this thing back in operation.

Installing SSL (no replies)

$
0
0
Hello People, i tried installing SSL on my wamp server with this guide:
[forum.wampserver.com]
I followed it all right but when I go to my site in https its not available, ERR_SSL_PROTOCOL_ERROR
[pastebin.com] this is the errors apache gives.

want to reinstall win7 Can I copy Wamp to USB (3 replies)

$
0
0
And then reinstall it on the same partion and Place? Its a local one

Video and Media Files such as Mp4 (15 replies)

$
0
0
Hello im new here

i have wamp installed

and can access it on my local ip


but now i want to upload mp4 files and play them

but it wont let me access the files

i created a sub directory test
with index page

html works

but not the files inside the folder like mp4's

how can i fix this much thnx

Install MySQL 5.5.39 (Wampserver 3.0.0) (3 replies)

$
0
0
I installed wampserver 3.0.0 (64 bit) on Windows 10 PRO to work with Joomla and need to install MySQL 5.3.39 version. I've read some tutorials but it did not work. I do not know what I did wrong.
Is it possible to install the MySQL 5.3.39 version on Wampserver 3.0.0 (64 bit)?
If so, how do this?

Thank you all!

How To Make your Local Ip Public for Everyone on the net WWW (2 replies)

$
0
0
I have some problem with making my local ip

public so everyone can access it

i did port forwarding in my router

i can access my local ip on my own network

but the outside world cannot access it

how can i fix this

Can't get .htaccess and URL rewriting to work in Wamp server 3.0 (6 replies)

$
0
0
I have just installed Wamp Server 3.0 and have confirmed that the Apache "rewrite_module" is definitely ticked. I set up a virtual host and installed an Akeeba backup of a live site onto the Wamp Server. The site will not work with the .htaccess file (returns an error message), but will load if the .htaccess file is deleted. I know next to nothing about Apache but after Googling I tried changing line 246 of the httpd.conf from "AllowOverride none" to "AllowOverride all" but this made no difference.

This same site worked fine (with URL rewriting) on Wampserver 2.5 with the exact same .htaccess file.

I checked the Apache error log and got this: C:/wamp64/www/sitename/.htaccess: Invalid command 'IndexIgnore', perhaps misspelled or defined by a module not included in the server configuration

I've been Googling for hours but can't find how I should fix this.

The htaccess.txt file is the standard one shipped with Joomla (unaltered except for changing the file name to .htaccess) and says:

:
## No directory listings
IndexIgnore *

## Can be commented out if causes errors, see notes above.
Options +FollowSymlinks
Options -Indexes

## Mod_rewrite in use.

RewriteEngine On

I really don't know what I am supposed to change, if anything, or if there is some other change needed in the httpd.conf file. I tried taking out the "##" in front of No directory listings in the .htaccess file but that did not work. I am really just guessing. Can anyone help?
Viewing all 3213 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>