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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
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 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…
Suggested Courses

615 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