Basic question

Thread Solved

Join Date: Jul 2007
Posts: 47
Reputation: Arctic wolf is an unknown quantity at this point 
Solved Threads: 1
Arctic wolf Arctic wolf is offline Offline
Light Poster

Basic question

 
0
  #1
Jun 8th, 2009
Hello everyone,
I'm new to PHP and having a very basic problem of instaling the web server correctly.
Now,I tried to run PHP 5.2.9 ,
The instalation program asked me to choose a web server and for not having much understanding in this I chose apache 2.

The problem was that the instalation didn't found some ini DLL and said I have to adjust the web server manualy(I'm not sure whether I even had it instaled or not).
When I try to run PHP it also says it can't find some OCL DLL.
I used the instalation pack from the following site:
http://www.php.net/downloads.php

is it any good?
does it include the web server or I have to install it separatley(and what web server would be good for me?)?

And also,can anyone please direct me to a simple php instalation that will allow me to run php pages so I can follow the tutorial and progress in php programing(some "PHP instalation for begginer dummies" would be great)?

For technical data:
I work on Windows XP,the computer is celeron 633MHZ.

Thank you,
A.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 4,492
Reputation: Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of Ezzaral has much to be proud of 
Solved Threads: 519
Moderator
Featured Poster
Ezzaral's Avatar
Ezzaral Ezzaral is offline Offline
Industrious Poster

Re: Basic question

 
0
  #2
Jun 8th, 2009
For a quick all-in-one installation, I'd recommend WampServer or XAMPP.
Reply With Quote Quick reply to this message  
Join Date: Apr 2009
Posts: 140
Reputation: HITMANOF44th is an unknown quantity at this point 
Solved Threads: 19
HITMANOF44th HITMANOF44th is offline Offline
Junior Poster

Re: Basic question

 
0
  #3
Jun 8th, 2009
either download wamp or xampp
they come backed with everything

or you have to install it one by one
apache
pear
php
mysql
and all those good things one by one
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,032
Reputation: ardav will become famous soon enough ardav will become famous soon enough 
Solved Threads: 131
ardav's Avatar
ardav ardav is offline Offline
Veteran Poster

Re: Basic question

 
0
  #4
Jun 8th, 2009
I'll second that (sorry, third that) - XAMPP is my dl of choice. As an extra 'goodie', download the community version of SQLyog from webyog to give MySQL a nice GUI (easier than phpMyAdmin).
Last edited by ardav; Jun 8th, 2009 at 6:08 pm.
Happy Humbugging Christmas
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 47
Reputation: Arctic wolf is an unknown quantity at this point 
Solved Threads: 1
Arctic wolf Arctic wolf is offline Offline
Light Poster

Re: Basic question

 
0
  #5
Jun 8th, 2009
Thank you everyone!

A.
Reply With Quote Quick reply to this message  
Join Date: May 2007
Posts: 444
Reputation: Atli is on a distinguished road 
Solved Threads: 56
Atli's Avatar
Atli Atli is offline Offline
Posting Pro in Training

Re: Basic question

 
0
  #6
Jun 8th, 2009
As an alternative to that (albeit, a rather radical one), you could try setting up a Linux system!
Ubuntu is good.

Setting up Apache with PHP on Ubuntu is as simple as opening up a terminal and typing:
$ sudo apt-get install apache2 php5
There is also a GUI package manager that you could use instead, if your not into using a terminal
Reply With Quote Quick reply to this message  
Join Date: Jun 2009
Posts: 64
Reputation: furqan219 has a little shameless behaviour in the past 
Solved Threads: 4
furqan219 furqan219 is offline Offline
Junior Poster in Training

Re: Basic question

 
-1
  #7
Jun 9th, 2009
How I can post variable vaue to update.php page
In Form.php
  1. <form action="update.php" method="post">
  2. <input type="text" name="siteid" value="<?= $b ?>" />
  3. <input type="submit" name="subjoin" value="Update">
  4. </form>


in update page how I show the value of site id. I am using post method. but field value is variable($b) so how I can I post the value to next page?
In update.php
  1. $c = $_post["$b"];
  2. echo $c; //its not working.
Thanks in advance
Last edited by peter_budo; Jun 9th, 2009 at 10:23 am. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 1,032
Reputation: ardav will become famous soon enough ardav will become famous soon enough 
Solved Threads: 131
ardav's Avatar
ardav ardav is offline Offline
Veteran Poster

Re: Basic question

 
0
  #8
Jun 9th, 2009
Start your own thread - don't hijack somebody else's.
Happy Humbugging Christmas
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 78
Reputation: navi17 is an unknown quantity at this point 
Solved Threads: 5
navi17 navi17 is offline Offline
Junior Poster in Training

Re: Basic question

 
0
  #9
Jun 9th, 2009
just install wamp server.

its a combination of apache,mysql,php.
very easy to install.

have fun.
Reply With Quote Quick reply to this message  
Join Date: Jul 2007
Posts: 47
Reputation: Arctic wolf is an unknown quantity at this point 
Solved Threads: 1
Arctic wolf Arctic wolf is offline Offline
Light Poster

Re: Basic question

 
0
  #10
Jun 12th, 2009
Hey everyone,I instaled XAMPP as you adviced me,
and tried to create a page with the following text:
  1. <html>
  2. <body>
  3.  
  4. <?php
  5. echo "Hello World";
  6. ?>
  7.  
  8. </body>
  9. </html>

I saved the file with the ending .php but it seems it doesn't work,
when I try to open it with Firefox it just gives me a blank page,
when I try to open it with Internet explorer it downloads the file as if it was from the internet and then ironically opens it with Firefox
and I have a blank page again..
So how do I activate the php script I wrote(sorry for the idiotic question,but I'm not sure what I suppose to do)?
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC