Questions tagged [wampserver]

Specific release of the WAMP stack for Windows.

This tag should be used when referring to the WAMP server stack WampServer. This is a bundled release of Apache, MySQL, and PHP for Windows. It allows you to easily setup a development environment for web applications and comes with PHPMyAdmin to manage databases. One unique thing about WampServer is that it allows you to download, install and activate older releases of Apache, MySQL, and PHP. This makes it possible to duplicate production servers.

WampServer Website

2561 questions
5
votes
2 answers

Error Forbidden WampServer

I instaled wamp 64bit in my windows 8 ; after install my icon was orange color but , i click form service apache > install service \ and Apache is ok running (Changed Color to Green) But After open localhost/ in my browser , Show me This error :…
Erfan Safarpoor
  • 5,109
  • 4
  • 23
  • 27
5
votes
5 answers

php 5.3 fwrite() expects parameter 1 to be resource error

I am using wamp server. I try to write into the file but it is giving such error: "Warning: fwrite() expects parameter 1 to be resource, boolean given ". How can I solve it? $file = 'file.txt'; if (($fd = fopen($file, "a") !== false)) { …
user1425871
  • 149
  • 2
  • 5
  • 13
5
votes
3 answers

Wampserver: problems to load php_pdo_pgsql and php_pgsql modules

Wampserver has a problem when loading php_pdo_pgsql and php_pgsql modules. After searching on several forums the solution is to download from http://www.bmedon.net/download.html both .dll files and overwrite the existing ones. The problem is that it…
matt
  • 638
  • 2
  • 10
  • 22
5
votes
16 answers

yellow icon for wamp server

the icon of wamp server is yellow, I tried in: 1.Open file httpd.conf through wamp tray icon Find: # onlineoffline tag - don't remove Order Deny,Allow Deny from all Allow from 127.0.0.1 Change to: # onlineoffline tag - don't remove Order…
Momo88
  • 61
  • 1
  • 2
  • 10
4
votes
3 answers

Wamp PHP CLI

I'm running wampserver and can't seem to use php files in the CLI. Supposedly there are two modes of running php, CGI and CLI. I can't figure out how to enable CLI since I don't see php-cli.exe in /wamp/bin/php/php5.2.6. When I try and execute php…
Graham
  • 1,145
  • 4
  • 16
  • 25
4
votes
1 answer

URL rewriting doesn't work if web-site is accessed via alias directory

I have a web-site in the directory d:\www\mysite on my local computer. I installed WAMPServer and set up an alias directory mysite for my site. So, for instance, http://localhost/mysite/static-resource.html correctly retrieves my file which is…
Šime Vidas
  • 182,163
  • 62
  • 281
  • 385
4
votes
3 answers

Apache time stamp incorrect

I am using WAMP server running PHP. At a particular step I am trying to capture system time and add it to the database with the following query $strSQLInsert = "UPDATE track SET State = 'Repeat' , DateTime = '" . date("m/d/Y h:i:s a") . "', …
Ank
  • 6,040
  • 22
  • 67
  • 100
4
votes
4 answers

how to run a websocket server?

I have looked at a a variety of simple tutorials on how make a PHP websocket chat application. I felt this would be a good starting point for looking at websockets. however I seem to be falling at the first hurdle!! I have tried running a number…
DanWilliams23
  • 51
  • 1
  • 1
  • 4
4
votes
1 answer

How to set a proper Apache version for PHP 8

I have installed PHP version 8.0.8 and followed this tutorial to add the new PHP version in Wamp Server. The tutorial says in wampserver.conf file, LoadModuleFile is php8apache2_4.dll. Except php8apache2_4.dll does not exist in my PHP 8 repository.…
lharry
  • 135
  • 1
  • 3
  • 16
4
votes
1 answer

Php Redis extension not working on wampserver windows10

I have done the following steps to enable php_redis extension on my wampserver X64. Thread Safety was enabled. Downloaded the Zip File from https://pecl.php.net/package/redis/5.2.2/windows this link. Extract the zip file, copied php_redis.dll in…
tsd
  • 41
  • 1
  • 3
4
votes
2 answers

Wordrpress wp-json not found on server -- localhost

Here's the sitch: I downloaded and installed Wampserver64 and Wordpress 5.2.3 I finally made it to my site, but I can't preview or publish pages with the new Gutenberg or block editor because something is broken! When I edit with the Classic…
4
votes
4 answers

How to access php sessions on different computers

I'm doing some exercises on using sessions in php. I set it up this way: $_SESSION['log_users'][] = array(array('Username'=>$username)) I tried to experiment on it. And found out that the session that is being generated is different when I use a…
user225269
  • 10,743
  • 69
  • 174
  • 251
4
votes
2 answers

Wamp vhost docroot always shows as c:\wamp\www not the vhost docroot

I have tried dozens of guides and read ton of information but I still can't find a fix for my problem. I have uninstalled, reinstalled and checked and double checked every possible issue. The problem remains. No matter what change I make, document…
ScottyG
  • 51
  • 1
  • 6
4
votes
1 answer

Can I run an Angular 6 project on WAMP Server?

I am a PHP developer and also I have developed Angular 6 apps using Node.js backend. But, currently I am working on a project which should run an Angular 6 app with a PHP 7 back-end. The reason is that, the API was written in PHP. I wish to develop…
PCBoy9999
  • 41
  • 1
  • 3
4
votes
1 answer

How to update wamp 2.5 to 3.0.6

I want to update my wamp server from 2.5 to 3.0.6 because I need PHP 5.6 or above for a project. But there are a lot of databases and projects on wamp 2.5, so I want to update it instead of uninstalling older version and install wamp 3.0 What is the…
Aashish Kumar
  • 2,771
  • 3
  • 28
  • 43