Page 1 of 1

Instaling PHP and Chosing right web server

Posted: Sun Jan 23, 2011 12:26 pm
by ApacheOmega
I'm a begging and I'm installing PHP but I'm Having problems cause I already have a XAMPP console already installed and its telling me I have to manually have to configure php with my web server so,

A: which server should I choose(I was thinking Apache cause I already have it installed through XAMPP?
B: How do I go about configuring PHP to work with every thing else I already have installed?
C:I also have Dreamweaver CS3, could this be causing the problem also?

Please help I really want to learn this
Thank You

Re: Instaling PHP and Chosing right web server

Posted: Wed Jan 26, 2011 4:41 pm
by Doug G
You might want to review how you installed xampp. I recently put xampp on windows 7 and didn't have to do any extra configuring to get php to work.

Re: Instaling PHP and Chosing right web server

Posted: Wed Jan 26, 2011 7:35 pm
by ApacheOmega
thanks fellas I got it working

Re: Instaling PHP and Chosing right web server

Posted: Thu Jan 27, 2011 12:33 pm
by bangla123
Hi,

I installed eclipse. I opened a read me file and it says 'Release 3.6.1'

I am new to this.
After install, followings i did but i cant run a script.
1. Then unzip to c/program files.
2. opened up eclipse.exe
3. file-new-php project.
4. gave a workspace.
5. click finish
6. file -new -php file-paste the following code and saved it.
<?php
if(isset($_POST['submit'])) {
$to = "you@you.com";
$subject = "Form Tutorial";
$name_field = $_POST['name'];
$email_field = $_POST['email'];
$message = $_POST['message'];

$body = "From: $name_field\n E-Mail: $email_field\n Message:\n $message";

echo "Data has been submitted to $to!";
mail($to, $subject, $body);
} else {
echo "blarg!";
}
?>
7. save the file. not sure what the source file is about.
8. run-run configuration-server debugger-xdebug. server-sample. browse the file.
9. click run.
then i get "IE cant be displayed".

i know i made mistake setting up. someone pls help me how to set it /configure it/whether i need any server.

Thanks a lot.

Safi
4.
Can someone please help me what to do next? Do i need any server, so what sever? how can i run a script locally?