Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
758 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

719 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