httpd for windows
Posted by: manjeet (59.95.194.---)
Date: September 23, 2006 11:26PM

Urgent please, Can any Seniors / anyone help me, a few of my web pages on local machne are not openng and I get error 704 Unable to open. I believe it has some thing to do with configuration of httpd file for apache server. I am using apache2 and wamp5_1.6.5. Can any one please help. also where do we use command chmod. Thanks in advance, desperately looking for information.

Re: httpd for windows
Posted by: CyberSpatium (67.170.181.---)
Date: September 25, 2006 10:05AM

are you talking about a 404 error, not a 704 error?

make sure you have started apache before trying to access your wamp server

make sure you access your wamp server with your browser using http://localhost not as file:///c:/wamp/www

Re: httpd for windows
Posted by: manjeet (203.77.203.---)
Date: September 25, 2006 12:02PM

Yes Sir it is 404 error and I am also able to acess phpmyadmin and sqlmanager. However I am not able to view any other php files or folder. Even a small program like time display in php is not working. Do we need to make sone setting in httpd ,as we do in config file, like SHORT ON, PATH for host and ROOT password etc.

Also in one of the excercise files, I am able to see a few pages and certain pages are not visible. Plese suggest the most stable WAMPSERVER version.
Thanks for suggesting. Please guide further

Re: httpd for windows
Posted by: CyberSpatium (67.170.181.---)
Date: September 25, 2006 05:30PM

put all your website files (php, html, images, ccs, etc) in your c:/wamp/www folder

Re: httpd for windows
Posted by: manjeet (59.95.208.---)
Date: September 26, 2006 07:16PM

Sir,
I did that but so far no sucess, anyway i am not sleeping today unless it works. My questions are

(1) for some pages I am still getting error ( 404 not found ), while other pages are working fine.

(2) for test script for time in url I get TMPzbqr67iw9.php.

(3) I have copied copy phpmyadmin from wamp folder to www as there was no phpmyadmin there, also my root password works when applied in phpmyadmin that is out of www but within wamp folder.

Please guide " CyberSpatium "

Re: httpd for windows
Posted by: manjeet (59.95.197.---)
Date: September 26, 2006 08:07PM

Sir, I await your response.

Where do I run ths command, It has got something to do with permissions I believe. "chmod files profi2/admin/config.php and profi_site/include/config.inc 777"

Also I get error " mySQL Error! Function: dbConnect/SelectDB. [1045 - Access denied for user 'ODBC'@'localhost' (using password: NO)]" any reasons for that ?
Thanks once again.

Re: httpd for windows
Posted by: manjeet (203.77.203.---)
Date: September 27, 2006 07:19AM

Sir "CyberSpatium" please guide. Also what is TD Tag for browser, as I get error " on click attribute of TD Tag or Colspan attribute for I.E. and netscape."

Re: httpd for windows
Posted by: manjeet (203.77.203.---)
Date: September 27, 2006 08:52AM

wHAT DOES THIS MEAN "Author: bsod (---.superstring.nl)
Date: 09-12-06 13:46

the #1045 error is caused by the fact that the config.ini.php file must NOT reside in the config/ directory (as stated in the docs) but in ./ itself. so a
copy config\config.ini.php solved it for me.

when we install WAMP by default phpmyadmin and mysql folders are created in wamp and not in root folder i.e.www. do we need to copy these folders in root i.e. www. Changing of root password in config file of phpmyadmin folder within WAMP and not in www folder works fine.

How do we change Grant for user in privileges and what does while previewing " include independent files " mean.
I am sorry for the trouble but I am badly in need of these answers.

Re: httpd for windows
Posted by: CyberSpatium (67.170.181.---)
Date: September 27, 2006 10:00AM

ok, i will try to answer all your questions at once.

first, after you install wamp, you do not have to change, edit, or move anything. just start apache and mysql and you are ready to go.

all your website files are located in
c:\wamp\www

when you access your website with your browser, use [localhost] , it will serve you webpage’s from your c:\wamp\www folder. so, if you have a file called test.php in your www folder, to see it in your web browser use [localhost].

wamp comes with the root mysql user with all admin privileges. so you do not have to worry about granting any users any kind of privileges. wamp comes with root uses set with no password, so to connect to your mysql server using your php scripts, use:

host: localhost
usename: root
password:

here is a sample php code to connect to mysql:
mysql_connect ('localhost', 'root', '');

Re: httpd for windows
Posted by: manjeet (203.77.203.---)
Date: September 27, 2006 10:31AM

Thanks will check it out and get back.
Thankyou once again.

Sorry, only registered users may post in this forum.