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
719 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I made this because I wanted to get e-mail with a attached csv file so I'd would be able to import user input into a MS Excel template, but I also wanted to register/save all inputs from each day in a file on the server. 1st - It creates a temp C…
When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
The purpose of this video is to demonstrate how to integrate Mailchimp with Facebook. This will be demonstrated using a Windows 8 PC. Mailchimp and Facebook will be used. Log into your Mailchimp account. : Click on your name. Go to Account Setti…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

863 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

21 Experts available now in Live!

Get 1:1 Help Now