Solved

Wampserver installation, from install, the wampserver  manager runs and the 'W' in tray is green, update the config files and Wampserver no longer works.

Posted on 2013-11-24
5
709 Views
Last Modified: 2013-12-03
I have installed Visual Studio 2012.

I downloaded wampserver(ws) and installed it.

When the ws installation finished the ws manager runs and the 'W' in the tray turns green.

I update the php.ini and httpd,conf with these amendments

1      Open php.ini in Notepad
2      Search for doc_root
3      Set doc_root to:-
                  doc_root = "C:\wamp\bin\apache\apache2..4.2\htdocs"
4      set extension_dir to:-
                  extension_dir "C:\wamp\bin\php\php5.4.3\ext"
5      set mysqli values
                  php_mysqli.dll
                  ;php_mysql.dll
6      set session.save_path
                 session.save_path = "C:\Windows\Temp"
7               Save and close php.ini

8      Run Notepad as administrator
                 Navigate to C:\wamp\bin\apache\apache2.4.2\conf\httpd.conf
                set DirectoryIndex
                DirectoryIndex index.php index.php3 index.html index.htm
9             Goto end of httpd.conf  
               Add these lines
               LoadModule php5_module "C:/wamp/bin/php/php5.4.3/php5apache2_4.dll"
               AddType application/x-httpd-php .php
               PHPInidIR "c:/wamp/bin/php/php5.4.3"

I run the ws manager and the 'W' in the tray is orange.

I have undone the above and the 'W' is still orange.

I am having trouble getting localhost to work, I get a message saying the file can't be displayed.

I have installed Visual Studio 2012 and VC++ 2012 runtimes from AVG and ws recommends the installation of VC++ 2010 runtimes I have installed those as well.

ws won't work

I am on Windows 7 Home Premium Service Pack 1

I am using a Sony laptop with i5 processor.

I would be grateful if anybody could help

Thanks in anticipation of your help

John
0
Comment
Question by:johnecollins
  • 2
  • 2
5 Comments
 

Author Comment

by:johnecollins
ID: 39686185
Hello.

I have successfully installed wampserver on XP and Vista before without too much stress. So I was optimistic this would go well as well.

The 2 things that I had different was the Visual Studio 2012 installation and windows 7.

So reasoning that I was no worse off I removed VS 2012 and tried installing ws again, this did not go well but I removed it again and had another go and hey wampserver is now working with all of the changes that I had made before.

This of course leaves me without VS and I suspect that when I come to re-install that, I shall be back with another question but featuring VS perhaps.

So thank you to everybody that read the question look out for the VS question

John
0
 
LVL 13

Accepted Solution

by:
John Mc Hale earned 500 total points
ID: 39688657
johnecollins

if you're doc_root setting is as you have said, then this may well be your problem:

doc_root = "C:\wamp\bin\apache\apache2..4.2\htdocs"

Note the extra period character in apache2..4.2

It may well be an Apache configuration problem in any case.
I can't confess to having any expertise with Wampserver, but I am guessing that the Apache server daemon "httpd" is installed as part of the package. If so, you can check your Apache configuration by starting a Command prompt "As Administrator"; navigating to the folder containing the httpd executable; and typing the command:

httpd -t

If there is a problem with your config file, this will be flagged in the output.

Apart from this, I suggest roll back your changes to what the original installation settings were; then implement your changes 1 by 1; starting and stopping Wampserver as you make each change to see where it's breaking?

Good luck!
0
 

Author Closing Comment

by:johnecollins
ID: 39688896
Thanks Fred, I assume that's right.

That is superb you spotted ONE of my deliberate mistakes ;-)

You win the 500 points because you deserve it

I have been looking at this for it seems like eternity!

Thank you so much
0
 
LVL 13

Expert Comment

by:John Mc Hale
ID: 39694016
johnecollins,

Actually it's

John @ fredthered

Glad I could help!
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
This collection of functions covers all the normal rounding methods of just about any numeric value.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now