Go Premium for a chance to win a PS4. Enter to Win

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
?
765 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
4 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…
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…

879 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