Hello
Posted by: Jempi (---.173-136-217.adsl-dyn.isp.belgacom.be)
Date: March 19, 2007 08:39PM

I just installed Wamp I and followed the defaults settings.
So the documentroot should be c:/wamp/www
When I access Wamp and go for locahost he doesn't show anything despite there is a index.php in www.

What did I wrong and how can I correct this telling Wamp he should look in the www directory



Regards

Options: ReplyQuote
Re: Hello
Posted by: CyberSpatium (71.237.217.---)
Date: March 19, 2007 11:10PM

read the "Short Style PHP Tags" and "Making Sure Your PHP Code is Parsed by Apache" in my wamp manual:
http://forum.wampserver.com/read.php?f=2&i=12300&t=12300

also just a little note, php comes with php set to only display serious errors. on a production webserver, that is a good thing because some error messages and give potential hackers some information about how your website and server is setup. since you are using wamp to test and develop scripts locally, you should turn on all error message. there are two ways to do it.

first way, add this php code to the beginning of your php code:
error_reporting(E_ALL);

second way, edit your php config file php.ini. use the wamp tray icon menu to open your php.ini file:
left click on the wamp tray icon -> config files -> php.ini

find this line:
error_reporting = E_ALL & ~E_NOTICE

change it to:
error_reporting = E_ALL

save the file and restart apche for the new settings to take effect.




CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Please visit my latest website Clarify Loans:
ClarifyLoans.com

Options: ReplyQuote
Re: Hello
Posted by: Jempi (---.be)
Date: March 20, 2007 09:54AM

Thanks for the link to the manual, useful for a beginner but it don't solve my problem.

I want to use wamp to see local my scripts othetwise i must upload them always.
I did a standard installation. When I go to localhost I don't see anything despite there are three files in the www directory ( came with the installation 2 gifs and a index.php)

My documentroot is set to c:/wamp/www

Why I don't see that index.php when I open localhost?

I am using FF is this perhaps the problem?



Regards

Options: ReplyQuote
Re: Hello
Posted by: Jempi (---.be)
Date: March 20, 2007 02:46PM

OK problem solve!

Suddenly I saw that I was only running 1 server ( apache was disabled)

The only other application who was running on my computer and could cause problems was Skype.

After disabling skype and restart Apache everthing works now and it works fine now!



Regards

Options: ReplyQuote
Re: Hello
Posted by: CyberSpatium (71.237.217.---)
Date: March 20, 2007 08:12PM

yeah, skype uses the same port as apache. it that port is bing used, apache will not start.



CyberSpatium
----------------------
WAMP English Forum Admin

Need help? Check out my WAMP User Manual/Guide here!


Please visit my latest website Clarify Loans:
ClarifyLoans.com

Options: ReplyQuote


Sorry, only registered users may post in this forum.