I have wamp setup and it's working. The problem is I have all my site files in a folder called httpdocs and the server seems to not see it. For example
The server sees this address
http://localhost/mysite/test.php
But not this
http://localhost/mysite/httpdocs/test.php
What's going on here?
Copy the contents of your httpdocs to a folder under c:\wamp\www
Related
We had PMwiki installed in a few directories under public_html running on our old CentOS6 server.
The home directories were on a file system (RAID) separate from the system, so they were not affected by the installation of CentOS7 from scratch.
Now the 'normal' pages under public_html are accessible, php works (version 7 instead of 5), mysql works, but when i point the browser to one of the pmwiki-pages nothing is displayed, not even an error message.
On another post from here i read that to port pmwiki from one server to another one it is sufficient to copy the wiki.d directory. But in this case i didn't even touch the pmwiki.
Is there a way to get the system going again, or at least to find out what the problem is?
edit:
To clarify:
http://newserver/~QHG/pmwiki/pmwiki.php/QHG2/QHG2
does not work, but
http://newserver/~QHG/pmwiki/test.html
does work
I think, the problem is around .htaccess config and your Clean URLs config.
You can download and install fresh PmWiki package and see if it works from the box. If it works, compare .htaccess and /local/config.php files from both installs to find out what is wrong.
I am running a WAMP local server and I set up xdebug exactly as the wizard told me to. I edited the php.ini file that you get when you right click on the WAMP icon (the one in the Apache directory) but according to PhpStorm XDebug is not installed.
I fixed this problem by editing the php.ini file in both the php directory and the one that you get in the menu. So long as the XDebug portion is identical on both files, it works perfectly.
I have an app deployed on wamp server at the address : http://localhost/MyApp
Now I want to deploy my app directly at the root i.e. I want my application to be accessible at the address http://localhost/ only. Is this achievable ?
Thanks in advance for help.
Sure, just move everything in MyApp/ to the folder one level above it, so if it was (for example) C:\WampServer\htdocs\MyApp just move all of the files to C:\WampServer\htdocs
The problem I am facing is that I just upgraded to Win 7 64-bit and installed Wamp server with VC++ and it works fine.
But I can't access subdirectories in the web directory (C:\wamp\www), I can access the files although.
Please guide me through.
It is now strongly advised that you create Virtual Hosts for all your project, even those that you store in the \wamp\www\project1 folder structure.
WampServer now assumes that you have done this, and that is why you get this issue.
Here is a previous answer Project Links do not work on Wamp Server
I've previously had a Drupal installation set up in WAMP. It's still in my www folder.
I want to start work on another (Wordpress) site. I made a new folder in WAMP and set the Drupal folder to Drupal.old so that it wouldn't use it, but I could still keep it there.
Now when I go to PHP My Admin in WAMP it just displays a 404 error.
What am I doing wrong? I just need to install WP on my local machine
Francesca,
You should never put anything of yours in the www folder. That belongs to WAMP and is basically the localhost site. So by renaming it you have deleted the loclahost site and therefore phpmyadmin with is an alias off your now lost localhost site.
You should either create subfolder below the www folder for your sites like
c:\wamp\www\drupal1
c:\wamp\www\wordpress1
But that is not the best solution.
It is better to create Vistual Hosts, one virtual host for each of your sites.
Pop over to the WAMPSERVER Forum
Do a search on 'Vistual Host HOWTO' and you should find a tutorial on how they are setup.