0

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

8
Contributors
20
Replies
21
Views
7 Years
Discussion Span
Last Post by aashishn86
0

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

Edited by aashishn86: n/a

0

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.04 KB
0

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

0

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

0

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

0

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

0

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

0

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

0

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

0

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

0

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:

<html>
<head>
<title>table php file</title>
<?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.) ;
            }
}
?>
</head>
<body>

<form name="form1" method="post" action="table.php" size=15>
Start-Number:<input type="text" name="txtStart"   value="1" size=15>
End-Number:<input type="text" name="txtEnd" value="10">
Answer<input type="text" name="txtTimes" value=<?php print $times; ?>>                    
<P>
<input type="submit" name="submit1" value="Answer">
<P>
</form>

</html>

Edited by mike_2000_17: Fixed formatting

0

@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"

0

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

0

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.

0

@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

0

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.

0

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.

0

hi all
thanks for your replies...........
i installed bitnami after other things didn't work out for me...
it works fine now ........
thanks everyone :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.