954,576 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

help me getting started !!!

hi all
i have been using ASP...
I basically wanna learn PHP and Drupal now....

I tried installing WAMPSERVER .....
I have got it installed , but i can't make it run...
i already have IIS installed on my computer..

i changed this in the
httpd.conf file

Listen 8080
ServerName your-server-name:8080

but it still doesn't work...
Can someone help me get started ?

thanks..

aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

re posted it with a attachment in the next post #3

aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

well...
i somehow made it run

http://localhost:8080/

now i get the screen which lists a lot of options
its like a wampserver page..
which shows the modules of php installed etc... (attached the snapshot)

can somebody guide me on what to do next ?
help me writing the first program

Attachments screen1.JPG 95.04KB
aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

'php tutorials' on the world wide web . This internet thing is amazing - you can find all sorts of stuff just by typing some words into something called a search engine. What will they think of next?

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

What do you want to write?

codejoust
Junior Poster
180 posts since Jul 2009
Reputation Points: 18
Solved Threads: 21
 

i just need help in configuring the apache server and mysql

i have installed WAMP Server...
when i go to phpMyAdmin
i get this error :


Error
MySQL said:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

thanks..

aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

i recomand you install easy php and after installing that you have to just changed the iis port to some other port.

chsab420
Newbie Poster
23 posts since Jun 2009
Reputation Points: 10
Solved Threads: 5
 

okies.........
will ya be able to guide me, incase i face some problems ?

aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

sure i will guide u, dont worry, just go ahead and install, if u face any problem ask.
ok

chsab420
Newbie Poster
23 posts since Jun 2009
Reputation Points: 10
Solved Threads: 5
 

secondly, will i be able to configure drupal to run with easyPHP ??

aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

that i cant answer as i am not typically that kind of php developer, but i hope so that it could be used

chsab420
Newbie Poster
23 posts since Jun 2009
Reputation Points: 10
Solved Threads: 5
 

all right...........
thanks :)
i'll do that and post back how it goes..............

aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

try to uninstall the IIS and
because I was facing the same problem that port 80 is already used by some other program.......

rashid47010
Newbie Poster
24 posts since Sep 2009
Reputation Points: 10
Solved Threads: 1
 

hi everybody I am new to PHP
just start learning php through online tutorial
I have made one table program but getting PARSE in PRINT LINE
CODE IS GIVEN BELOW:

table php file
<?php

$times=2;

if(isset($_POST["submit1"]))
{

$start=$_POST["txtStart"];
$end=$_POST["txtEnd"];
$times=$_POST["txtTimes"];

for($start;$start<=$end;$start++)
{ $answer= $start * $times;
print($start. "multiplied by" .$times. "=" .$answer.) ;
}
}
?>


Start-Number:
End-Number:
Answer>

rashid47010
Newbie Poster
24 posts since Sep 2009
Reputation Points: 10
Solved Threads: 1
 

@rashid...
i need IIS too....

i suggest, you start a new thread for your problem to get help faster...
and put your code in the "code tags"

aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

If your problem hasent been solved, I am personally very satisfied with XAMPP as it includes apache, mysql, filezilla and mercury in one. I haven't had any problems with it and you just place your files in the htdocs folder. You can download it at http://www.apachefriends.org/en/xampp.html .

You can place your files in the htdocs folder, for example:

The directory you store your files:
C:/xampp/htdocs/myphp/*

You can acces it by opening a browser and use as url:
http://localhost/myphp/*

Any questions?

~Graphix

Graphix
Posting Pro in Training
432 posts since Aug 2009
Reputation Points: 82
Solved Threads: 74
 

Ditto. XAMPP is great. Using Apache will work better than IIS as it will reflect behaviour on remote sites (usually).

I can understand that you may need IIS if you use asp, otherwise switch to Apache. Current IIS php sites can be moved to the htdocs directory under xampp. You'll need to change your vhost files though.

diafol
Rhod Gilbert Fan (ardav)
Moderator
7,792 posts since Oct 2006
Reputation Points: 1,170
Solved Threads: 1,080
 

@ardav... ya i usually work on asp..
i am just trying to learn php... :)

i basically want to learn Drupal and other CMSs...
i downloaded Developerside.net package after reading about it in the drupal cookbook... but haven't had the time to install it yet...

You have any ideas about that ??
thanks

aashishn86
Junior Poster
188 posts since Jun 2008
Reputation Points: 10
Solved Threads: 9
 

Great tutorials links,

A simple tutorial

PHP Tutorial

SUMMARY: PHP is a powerful tool for making dynamic and interactive Web pages.

PHP is the widely-used, free, and efficient alternative to competitors such as Microsoft's ASP.

In our PHP tutorial you will learn about PHP, and how to execute scripts on your server.

__avd
Posting Genius (adatapost)
Moderator
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241
 

i just need help in configuring the apache server and mysql

i have installed WAMP Server... when i go to phpMyAdmin i get this error :

Error MySQL said:

#1045 - Access denied for user 'root'@'localhost' (using password: NO)

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

thanks..


Is the above quote that latest error as I have solved server problems with many windows servers using xampp. So I can understand your troubles. When you receive that error with phpmyadmin it normally means the password has changed. Happened to me once. Turned out Wikimedia changed the password so if you've installed any php scripts, then your password may have been changed to whatever you specified under the mysql section of the cms installation. So to fix this you will need to first find the mysql password you set in the cms installation. Then when you have that password, go to the folder phpmyadmin/config.inc.php then in that file change the following variable:

$cfg['Servers'][$i]['password'] = 'new_password_in_here';

If you haven't installed any php scripts then you may need to do a command line to reset the root password or if you installed a cms (content management system) but can't remember the password then tell me what your cms is and I'll download a copy to locate your config file with the mysql password. Usually the config file is near the base of the installation.

cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You