I can't get this to work
Posted by: Lucy (---.wolv.cable.virginm.net)
Date: July 22, 2014 06:48PM

Version of Operating system?
Windows 7

Version of Wamp Server installed?
2.5

Version of Apache you are running?
Version of MySQL you are running?
Version of PHP you are running?
Don't understand these questions, do I need to download something else as well as WampServer?

What colour is your WampManager icon?
Orange

Do you have a HOSTS file?
I can't seem to open it.

Okay, I've downloaded and installed WampServer and tried loading index.php, but it just shows up as a blank page. I tried a test page with some simple text in which also shows up as a blank page. Can anyone help? Sorry, I'm completely new to PHP and local servers, really don't know what I'm doing.

Options: ReplyQuote
Re: I can't get this to work
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: July 23, 2014 10:31AM

Hi Lucy,

Well point 1 - WampServer is a simple method of installing Apache, MySQL and PHP on a windows PC. This you really ought to know before going any further.


Point 2 - The wamp icon should be GREEN when all is well. If it is Orange then there is a problem with starting either the web server Apache or the Database server MySQL

I would assume your issue is with Apache as you get nothing returned to the browser.



If the wampmanager icon is not GREEN then one of the services ( Apache(wampapache)/MySQL(wampmysqld) ) has not started properly.

How to tell which service is not running if the wampmanager icon is orange.

Left click the wampmanager icon to reveal the menu-> Apache -> Service
If the Start/Resume service menu is Green then Apache IS NOT running.

Left click the wampmanager icon to reveal the menu-> MySQL -> Service
If the Start/Resume service menu is Green then MySQL IS NOT running.

If Apache is the service that is not running it is normally, but not always, because something else has captured port 80.

Now do,
Left click the wampmanager icon to reveal the menu-> Apache -> Service -> Test port 80
This will launch a command window and display some information about what, if anything is using port 80.

Whatever it is should be re-configured to not use port 80 or uninstalled if you are not using it.

If port 80 is not the problem look for errors in the appropriate error log ( use the wamp manager menus to view the error logs )

If these do not exists or show no errors then also check the Windows Event Viewer
Start -> Administrative Tools -> Event Viewer
And look in the 'Windows Logs' -> Application' section accessed from the menu on the left of the dialog for error messages from Apache and or MySQL.


How to Configure SKYPE so it does not require port 80 or 443
( This does not appear to be necessary on recent versions i.e. after march 2014 )

Run SKYPE
then using the menus do this:
Tools -> Options -> Advanced -> Connection
Un-Check the checkbox next to 'Use port 80 and 443 as alternatives for incomming connections'
Now restart SKYPE for these changes to take effect.

If you are running Windows 8 SKYPE comes as an app and this cannot ( as yet ) be configured in this way.
However if you uninstall the SKYPE app and install SKYPE in the old way, you can reconfigure it, and it works just as well.

How to Configure Team Viewer so it does not require port 80 or 443
Run TV
Extras -> Options -> Advanced -> Press the Advanced Button -> Advanced Network Connections
Check the checkbox saying [ Dont use incomming port 80 (recommended for web servers only )

If the problem is not obvious then post the errors here

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: I can't get this to work
Posted by: Lucy (---.wolv.cable.virginm.net)
Date: July 25, 2014 11:54PM

Hello,

Thanks for the reply. Someone helped me with it in the end - it was as you said, Skype was using the port, and then I hadn't turned on the Apache and MySQL services. It's working now. smiling smiley

Um... some weird things are happening though, I don't know whether you can help. Firstly, if I click the WAMPserver icon when it's running and go to my projects, then select the one I'm using, it loads a blank page, waits, then... it sends it here:
[upstart.bizjournals.com]
???
I don't understand how this can happen...

Secondly - I've been using this for a few days, working on my site through localhost/my website, and it's been fine, but today, it seems to be messing with my styles and images? The images are showing as broken, the heights are weird, and on one page there's a gap underneath my background that should NOT be there. These problems don't occur when loaded through file:///C:/wamp/www/... oh, actually, the gap does, but the images are all normal. Any ideas?

Thanks for the help. I hope this post makes sense.

Options: ReplyQuote
Re: I can't get this to work
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: July 26, 2014 01:51AM

Yea it makes sence.

Read this and create a proper Virtual host for each of your projects WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Hosts

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: I can't get this to work
Posted by: appshoppee (117.196.232.---)
Date: July 26, 2014 09:06AM

I Left click the wampmanager icon to reveal the menu-> Apache -> Service
The Start/Resume service menu is Green so Apache IS NOT running.

Now I did,
Left click the wampmanager icon to reveal the menu-> Apache -> Service -> Test port 80
This launched a command window and display some information about what, if anything is using port 80.
This said "No one is actually using port 80".

Now my question is: I installed new wamp in E:. earlier it was in D:
I renamed old wamp in D: to wamp_old but I doubt some-where it is using that only. I am tired of this. Please help.

Options: ReplyQuote
Re: I can't get this to work
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: July 27, 2014 08:29PM

Loook at the the apache error log, and also the windows event viewer for error messages from APache.

What do you see?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.