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

I can't publish or make live my site with WAMP (1 reply)

$
0
0
Hello , users of WAMP , i just want to publish a site and I cant quite succeed to do so , i follow many tutorials along the way and still cant sort it out , I believe those are old and dont work anymore.
My concern is , that , I have added a virtual hosts , it appers right after i click on the wamp (left mouse click) , and it shows the server , as is working with a internet shortcut icon , but when i check it on other devices , it gaves me the error that it cannnot find the IP of the server, I have also inserted in my /drivers/etc/hosts/ file the ip 127.0.0.1 and the domain , ( with the localhost as main site of the file ) , and secondly my site right before localhost , but doenst work out , the error that appers on the server when i connect is : ERR_NAME_NOT_RESOLVED , and also I inserted into /conf/extra the file :


ServerAdmin mail@www.sportgoods.com
DocumentRoot "c:\wamp64\www"
ServerName mysite.local
ErrorLog "logs/www.sportgoods.com.log"
CustomLog "logs/www.sportgoods.com-access.log" common

(yourdomain is my site)
Do you guys have any tips, new tips of how i can solve this and help me to publish my server on-line?
It will be greatly appreciated your answers , Thanks.
My windows is 64bit,same for WAMP,my apache is 2.4.39,mysql is 5.7.26,mariaDB is 10.3.14,the color of the wamp is green when it works properly



the httpd.vhosts.conf file(including the default localhost and the other host which is the server itself)


# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>



#
<VirtualHost *:80>
ServerName www.sportgoods.com
DocumentRoot "c:/wamp64/www/sport"
<Directory "c:/wamp64/www/sport/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

about:blank#blocked (no replies)

$
0
0
Hi guys

I have set up a website for (only) local use for my company. It's written in HTML, and I've used WYSIWYG editor for it.

The website is working (almost) flawless with the only issue being accessing files I have put as hyperlinks targeting a local folder all (M:network drive) the computers use.

Thing is if I preview my website from the editor, everything is working fine! If I publish my website using wamp, it doesn't load at all, but if I open in a new tab, it says about:blank@blocked so that might be the issue!

I've been googling for like a hour or so to find something similar but I couldn't find anything useful. :(

I'm open to any suggestions to make this thingy work!
Cheers,
Dan.

Unable to access directory outside Virtual Host (no replies)

$
0
0
Hello!

We're using WAMP to serve up a compliance website that we are working on. Basically the structure is this:

\wamp64\www\compliance
-index.php

\wamp64\www\includes
-compliance_style.css
-compliance-sidebar.php
-dbh.inc.php


Inside the index.php, we call the compliance-sidebar.php, which does not load and the compliance_style.css file is not processed.


Here is our http-vhosts:

# Virtual Hosts
#
<VirtualHost *:80>
ServerName compliance
DocumentRoot "c:/wamp64/www/compliance"
</VirtualHost>
<Directory "c:/wamp64/www/compliance/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>

#
<VirtualHost *:80>
ServerName includes
DocumentRoot "c:/wamp64/www/includes"
</VirtualHost>
<Directory "c:/wamp64/www/includes/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>

#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
</VirtualHost>
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Allow From 192.168.0
Allow from 10.10.40
</Directory>

Any thoughts on what I might be doing wrong?

Cant access wordpress dashboard (no replies)

$
0
0
Yesterday I was able to log in to my page and work on my website as I had the option to log in. Now, when I type localhost/mysite I am taken to my sites website but do not have the option to access the dashboard. I am not sure if my computer updated overnight or what has happened. Can anyone offer any advice?

A very strange issue, can not access to Localhost (no replies)

$
0
0
I got a very strange problem with the WAMP yesterday after windows automatic upgrade.



My WAMP started successfully, the icon is green


Port 80 is used by httpd.exe.



Hosts file point localhost to 127.0.0.1 and ::1

httpd.conf file
Listen [::1]:80
Listen 127.0.0.1:80

httpd-vhosts.conf file
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>


I am using the WAMP Version 3.1.3 - 32bit
Windows 10

No Skype, No iis in my laptop



Everything looks fine, but just can not access to localhost and localhost/PHPMyAdmin and other sub virtual domains


I just can access the login page of localhost, can not access phpinfo neither, I used this more than one year, but happend yesterday.






Who can help me...........

Icon is not green (2 replies)

$
0
0
Hi.
I used WampServer 3.2 till 30-40 days ago.
Now the icon doesn't become green.
I tried to unistall Wampserver, checked for VC packages (all installed 32 and 64) and reinstall the latest version of WampServer 3.2.0 for 64 bit with PHP 7.4.0, Apache 2.4.41 and MySql 8.0.18.
System is Win 7 64 bit SP1
Is there Avast Internet Security working.
I tried to restart services but icon remain yellow (2 of 3 services started)
Eventviewer shows this error:
The Apache service named reported the following error:
>>> (OS 10013)Tentativo di accesso al socket con modalità non consentite dalle rispettive autorizzazioni di accesso. : AH00072: make_sock: could not bind to address 0.0.0.0:80

and then:

The Apache service named reported the following error:
>>> AH00451: no listening sockets available, shutting down

I tried to allow WampManager in out and in for all traffic inside Avast firewall

But nothing is changed.

What can I do?

Thanks

Lost database (no replies)

$
0
0
I have done something seriously stupid. I have been running wampserver successfully with no issue for months on end. I wanted to make imagemagick work but found out it tended to work better with wampserver 2, not 3 (which I currently had). So this morning I uninstalled wampserver 3. Of course it asked whether I had backed everything up and I said yes. I had backed up the files on the server, but not the actual databases. When I installed wampserver 2, the databases are gone.

I am guessing it's a lost cause, but is there any possible way I can recover the databases? I put literally months of work into them and i still can't believe I didn't make even one export backup of the database.

Thanks

https to sub pages is 404 (no replies)

$
0
0
As background: I have been a happy user of Wampserver for several years, and my redeveloped WordPress site seems to work well on it. I use a virtual server called hwnhistory. I adapted Wampserver for SSL as per [zuziko.com]. I eventually generated a satisfactory self-certified certificate when I had chased down various issues. I have tried moving my WordPress site to SSL using the Really Simple SSL plugin but get some odd behaviour that they suggest is because of my server setup, so I have uninstalled Really Simple SSL. I have found that I still get similar odd behaviour, which I cannot understand so I would like to resolve this before trying to move to SSL again.

The behaviour is:
1) When I go to 'hwnhistory' or 'http://hwnhistory/' every facet of my site works including all subpages, and it is marked as Not Secure - as expected.
2) When I go to 'https://hwnhistory/' my homepage shows OK, but it is marked as Not (Fully) Secure.
3) On every sub-page (eg 'https://hwnhistory/village/') I get a 404 (Not Found), but it is marked as Secure with a padlock.
4) When I go to 'localhost' or 'http://localhost/' I get the normal Wampserver localhost page with the Server Configuration, and it is marked with an "i" as Not Secure.
5) When I type in 'https://localhost/' it goes to 'https://hwnhistory/' and is marked as Not (Fully) Secure.

To me, this does not seem normal behaviour, and it looks as if https is causing a rewriting. How can I find out what I have done wrong? If it is expected behaviour could someone confirm it?

I am using Wampserver Version 3.2.0 - 64bit, Server Software: Apache/2.4.37 (Win64) OpenSSL/1.1.1a PHP/7.3.1 - Port defined for Apache: 80

By the way, the "odd behaviour" on SSL using Really Simple SSL I mentioned above is that when I go to [hwnhistory] my homepage shows OK, but on every sub-page I get a 404 (Not Found).


My httpd-vhosts.conf is

# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>


#
<VirtualHost *:80>
ServerName hwnhistory
DocumentRoot "c:/hwnhistory"
<Directory "c:/hwnhistory/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>


C:\hwnhistory\.htaccess is

# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
# block comment spam by denying access to no-referrer requests
# From [perishablepress.com]
#RewriteEngine On
#RewriteCond %{REQUEST_METHOD} POST
#RewriteCond %{REQUEST_URI} wp-comments-post\.php
#RewriteCond %{HTTP_REFERER} !(.*)hwnhistory(.*) [OR]
#RewriteCond %{HTTP_USER_AGENT} ^-?$
#RewriteRule .* []%{REMOTE_ADDR}/ [R=301,L]

SQLSTATE[HY000] [1049] Unknown database 'dbname' (no replies)

$
0
0
Although I have a database, I get the following error.


SQLSTATE[HY000] [1049] Unknown database 'hascodin_site'



php connection code

>

$baglanti = "mysql:host=localhost;dbname=hascodin_site";
$mysqluser = "root";
$mysqlpass = "";

try{
$baglan = new PDO($GLOBALS["baglanti"],$GLOBALS["mysqluser"],$GLOBALS["mysqlpass"]);
$baglan->query("SET CHARACTER SET 'utf8'");
$baglan->query("SET NAMES 'utf8'");
}catch(PDOException $e){
print $e->getMessage();
}




<

Wamp is not working (no replies)

$
0
0
Wamp icon is still orange, what to do?

A little improvement (no replies)

$
0
0
I would like to suggest you guys iplementing a little change on your index.php file of the www folder of WAMP Server

On" Your Projects" on line 346 we have this:

$projectContents .= '<li>'.$file.'</li>';

I suggest changing to this:

$projectContents .= '<li><a href="'.$file.'">'.$file.'</a></li>';

Just to add a link to the project to make the things easier. I didn't know how to give this suggestion so i used this forum.

My WAMP server icon is not clickable. (no replies)

$
0
0
Hello!

I've recently started working from home and I need WAMP to get setup. I have installed it, however, the tray icon is unresponsive to both left and right clicking. I can access it on my localhost just fine, but I cannot click the icon at all, which I need to do to check services and stuff like that.

I have tried various things to get this working:

* Uninstalled and reinstalled three times. All times as administrator.

* Stopped and uninstalled IIS services.

* Checked and rechecked my VC redists installs. Here is my check.exe output:


VC_2008_SP1_ATL_SEC_UPD_REDIST_X64 ID={4B6C7001-C7D6-3710-913E-5BC23FCE91E6}
Visual C++ 2008 SP1 ATL Security Update (x64)
**** NOT INSTALLED ****
Installation file is on: [wampserver.aviatechno.net]
VC 2008 SP1 ATL Package (x64)
----------------------------------------
*** VC_2008 (VC9) is only needed to use PHP 5.3 or 5.4 ***


I am using PHP 7.3.12 So I do not need VC 2008 SP1 ATL Package (x64).

I'm at a loss as to what else to do. I have looked at a lot of posts on here and stackoverflow, but they call say the same things, which I have tried. Can someone please help me?

Thanks.

Windows 10 Defender Firewall Security Alert for Apache (no replies)

$
0
0
I got the pop-up when restarting all services from the green WAMP icon menu.

[imgur.com]

I can't tell what Apache is trying to do that's causing the warning... how do I find out?

Also, I don't need it doing internet or network things it doesn't need to... it's just a laptop test server for my local projects, I don't know why it's trying to do anything the firewall would be blocking.

Server Broken After Upgrade (1 reply)

$
0
0
Hi Everyone,

I'm not sure what I've done but my local wamp server is no longer letting me install Joomla websites. A few weeks back, I installed the latest Php version along with some other wamp/apache upgrades and since then, nothing has been the same.

Currently, I am unable to get passed step 3 of the installation. The database is created and populated but the process keeps bringing me back to that particular step. I've also tried doing a manual installation where I removed the installation directory and configured the configuration.php file manually. However, that didn't work either. I tried doing the "reinstall all services" option and that just killed PhPmyAdmin.

I've also tried installing xampp with no luck either. I kept getting the same issue, no matter what PHP version I installed. I've now removed xampp and done a fresh install of wamp to see if that helped and still nothing. I did make sure to rename the old wamp directory so it wouldn't install over the top of the old installation. When I did the original wamp updates, I did install some extra core updates for my computer that where recommend for when you upgrade wamp server but I can't work out if that's caused the issue or not. Nor can I recall what those upgrades were.

Can anyone please help me as I use Joomla for work and need to get some kind of local server up and running ASAP.

I've looked around on the forum and other help sites, I've tried making changes to the joomla.sql file in the installation directory, changing the php.int file, and nothing seems to work.

Any help would be a huge help.

Thanks!

Warning: require(/usr/share/php/wp-stack-cache.php) (3 replies)

$
0
0
Hi
I have WAMP installed fine and have some sites up and running locally. However I have come across a problem with the latest. I'm getting the following error messages

Can anyone help??

( ! ) Warning: require(/usr/share/php/wp-stack-cache.php): failed to open stream: No such file or directory in C:\wamp64\www\welshcountry3\wp-content\mu-plugins\wp-stack-cache.php on line 21
Call Stack
# Time Memory Function Location
1 0.0003 403944 {main}( ) ...\index.php:0
2 0.0004 404232 require( 'C:\wamp64\www\welshcountry3\wp-blog-header.php' ) ...\index.php:17
3 0.0005 404584 require_once( 'C:\wamp64\www\welshcountry3\wp-load.php' ) ...\wp-blog-header.php:13
4 0.0011 406056 require_once( 'C:\wamp64\www\welshcountry3\wp-config.php' ) ...\wp-load.php:37
5 0.0012 407616 require_once( 'C:\wamp64\www\welshcountry3\wp-settings.php' ) ...\wp-config.php:99
6 0.0454 4068344 include_once( 'C:\wamp64\www\welshcountry3\wp-content\mu-plugins\wp-stack-cache.php' ) ...\wp-settings.php:291

( ! ) Fatal error: require(): Failed opening required '/usr/share/php/wp-stack-cache.php' (include_path='.;C:\php\pear') in C:\wamp64\www\welshcountry3\wp-content\mu-plugins\wp-stack-cache.php on line 21
Call Stack
# Time Memory Function Location
1 0.0003 403944 {main}( ) ...\index.php:0
2 0.0004 404232 require( 'C:\wamp64\www\welshcountry3\wp-blog-header.php' ) ...\index.php:17
3 0.0005 404584 require_once( 'C:\wamp64\www\welshcountry3\wp-load.php' ) ...\wp-blog-header.php:13
4 0.0011 406056 require_once( 'C:\wamp64\www\welshcountry3\wp-config.php' ) ...\wp-load.php:37
5 0.0012 407616 require_once( 'C:\wamp64\www\welshcountry3\wp-settings.php' ) ...\wp-config.php:99
6 0.0454 4068344 include_once( 'C:\wamp64\www\welshcountry3\wp-content\mu-plugins\wp-stack-cache.php' ) ...\wp-settings.php:291

[noob admin]A little guidance with Apache permission directives? (1 reply)

$
0
0
[noob admin]A little guidance with Apache permission directives?
So I just set up Wamp for my first time ever, and although I can see the test page on localhost (took a bit of tweaking Windows firewall rules, but I got it), I am having a bit of trouble configuring it so that external clients (or even browsers on my LAN) and see it instead of getting 403 Forbidden. Namely, my problem is... I honestly don't have a freaking clue what I'm doing.
Like, I tried looking through the Apache directive documentation linked at the top of the httpd.conf (the link that, along with text explaining what the config does in basic terms, is commented out), but there's a lot of directives here and I don't know where to start. I know what I want: I basically want people with certain whitelisted public IP addresses (friends that will need to access my server) to have permission to the full site, a web service I know of but don't know the IP of to have permission to a specific file, and everyone else (at least for the time being) to be denied; the problem is I just I don't know how to accomplish that. Could someone point me in the right direction please?

Answers to the questions on "read (and answer) before you ask a question":
1. Windows version: Windows 7 (a 64-bit virtual machine managed by VMware)
2. WampServer version: 3.2.0 64-bit
3. Apache version: 2.4.41 (64-bit according to the Wamp test page)
4. PHP version: 7.3.12
5. MySQL version: 8.0.18 (Maria DB 10.4.10)
6. Icon status: Its green (all 3 services started)
7. Active hosts (Do I actually need this one? It was grouped with "if the WampServer icon is NOT GREEN" stuff):
#
127.0.0.1 localhost
::1 localhost
8. Wamp homepage: I can access the test page just fine, and there's no error message. I think I'm just having trouble configuring the server for what I want
9. "Do you have access to phpMyAdmin": Probably? I don't actually know what that is though; I'm completely new at this
10. Error message: N/A
11. Antivirus/firewall: I don't think these are the issue (other computers on my LAN, at least, are able to at least talk to Apache well enough to get HTTP status 403: forbidden), but I have just Windows defender and whatever firewalls/networking are implemented by VMware and my Netgear router
12. Installation path: C:\wamp64\
13. Virtual hosts: haven't done anything with those yet (nor, indeed, do I know what they're for) so it's just the default localhost

Wamp Https setup help (no replies)

$
0
0
Ive tried many different tutorials and nothing seems to be working. [novastudios.tk] is the website. Im not using a self created cerficicate, im using one from [www.sslforfree.com]. When i put in [novastudios.tk] it redirects me to my router, its werid and and localhost doesnt prompt for or show the certifcate Do i need to port forward the 443 port?

mysql error table does not exist (1 reply)

$
0
0
I am dutch. try to explain my problem: history: i had a good working wamp-server 32 with in a mysql database and a tabel with root user no password in windows7. Then i had to upgrade my windows7 to windows 10. After this my wampserver was compelely disoriented and i could not make my wampserver operational. nothing worked anymore. so I decided to uninstall my whole wamp directory and removed al the subditrectorys and i startend a fresh new installation of wampserver 32 in directory c:/wamp
Situation now : i have new wampserver 32 operational with root user and no password with all the rights on database and tables. I loged in in phpmyadmin and created my database. and created my tabel again.
within phpmyadmin i can perform al my actions on database and tables even sql queries.
When i log in with adminer i only see my database with no tables
I created PHP7 program to make selections from my tables > Connection was successful and i was able to define my default database. But i could not perform :Show Tables from database, Show table status and mysql_select Count from my table. All results were zero or message: mysql error table does not exist.
Because i need this statements for continuing i want to know how i can solve this problem
Hope on good advice
greetings mvadesta

php.exe loading (no replies)

$
0
0
Hello,
I am using wamp 3.2.0 64bit running under Win10 Pro 64bit.
Apache 2.4.41
PHP 7.1.33
mysql 5.7.28
physical server with Windows where I have full rights.

Running plenty of virtualhosts without problems many years started with wamp 2.0 aroud 8years ago.
Now a weird thing happened. I set new virtualhost where I want to run php robot with several functions (robot not written by me).

After robot installation done properly incl. mysql connection here comes the trouble. The robot needs to input full path to php.exe into his config.php file as it is using exec function later while working.

When I try to start robot via its installed small webinterface with Start/Stop button (vhost path_to_robot/index.php) it simply do nothing except webpage writes "trying to start robot" and also logs empty = so hard to say where is problem.

BUT when I run manually using cmd prompt and input php.exe full_path_to_robot_php I can see in robot log it is started.

The problem seems to be maybe with access rights as cmd started either under local admin user or with elevated privileges - both working.
Therefore I changed account name to run apache and mysql system services to local admin account instead of Local System account as was by default - not sure if I should avoid this, however after this change still no luck. The difference is only I am getting e.g. proper computer name\username instead of nt system\user while using echo exec whoami...

Based on this I am not sure if I should change apache and mysql back to run under Local System? Or is it better to run using Local System for some reason? I read Local System is not good if e.g. there are network drives included in some paths etc. Still I have whole wamp under C:\wamp while all virtualhosts are set on E:\vhost1, E:\vhost2 etc... These are separate physical discs but inside same machine.

Unfortunately there is nothing in error logs related to my problem. And I also dont know which user is used to access the virtualhost while using webinterface instead of direct run using cli. I didnt set any wamp users during wamp install and I believe not necessary.

I also verified exec is fully working and all bots requirements too. But really dont know where to find error for the response (if any) after I click Start button on robots webinterface.

Or maybe it could be a virtualhost problem to set permissions properly? Because virtualhost root folder is E:\vhost but root folder for robot is E:\vhost\robot. And I set only vhost root folder? But subfolder with robot is included as I believe.


Thanks for your suggestions and sorry for length of my message. In case of additional info needed I am here.

I can't update PHPmyAdmin (1 reply)

$
0
0
Hi,

I tried to update all my Wampserver programs and I couldn't do it with Phpmyadmin. Everytime I try to execute it as an administrator, Windows pops up a window error message saying it has no access to this file. I checked the Visual C++ Redistribuable Packages and I have them all.

What should I check to sort it out?

By the way, I just realised that there are two programs I don't have on my Wampserver package, Aestan Tray Menu and PhpSysInfo. Could anybody give a brief about them to know what they do?

Thanks a lot
Viewing all 3230 articles
Browse latest View live


Latest Images

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