943,877 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Marked Solved
  • Views: 1049
  • PHP RSS
You are currently viewing page 1 of this multi-page discussion thread
Jun 8th, 2009
0

Basic question

Expand Post »
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.
Similar Threads
Reputation Points: 15
Solved Threads: 1
Light Poster
Arctic wolf is offline Offline
47 posts
since Jul 2007
Jun 8th, 2009
0

Re: Basic question

For a quick all-in-one installation, I'd recommend WampServer or XAMPP.
Moderator
Featured Poster
Reputation Points: 3239
Solved Threads: 839
Posting Genius
Ezzaral is offline Offline
6,761 posts
since May 2007
Jun 8th, 2009
0

Re: Basic question

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
Reputation Points: 24
Solved Threads: 33
Posting Whiz in Training
HITMANOF44th is offline Offline
283 posts
since Apr 2009
Jun 8th, 2009
0

Re: Basic question

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.
Sponsor
Featured Poster
Reputation Points: 1048
Solved Threads: 948
Sarcastic Poster
ardav is offline Offline
6,694 posts
since Oct 2006
Jun 8th, 2009
0

Re: Basic question

Thank you everyone!

A.
Reputation Points: 15
Solved Threads: 1
Light Poster
Arctic wolf is offline Offline
47 posts
since Jul 2007
Jun 8th, 2009
0

Re: Basic question

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
Reputation Points: 93
Solved Threads: 70
Posting Pro
Atli is offline Offline
526 posts
since May 2007
Jun 9th, 2009
-1

Re: Basic question

How I can post variable vaue to update.php page
In Form.php
php Syntax (Toggle Plain Text)
  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
php Syntax (Toggle Plain Text)
  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.
Reputation Points: 2
Solved Threads: 4
Junior Poster in Training
furqan219 is offline Offline
89 posts
since Jun 2009
Jun 9th, 2009
0

Re: Basic question

Start your own thread - don't hijack somebody else's.
Sponsor
Featured Poster
Reputation Points: 1048
Solved Threads: 948
Sarcastic Poster
ardav is offline Offline
6,694 posts
since Oct 2006
Jun 9th, 2009
0

Re: Basic question

just install wamp server.

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

have fun.
Reputation Points: 15
Solved Threads: 6
Junior Poster
navi17 is offline Offline
118 posts
since Oct 2007
Jun 12th, 2009
0

Re: Basic question

Hey everyone,I instaled XAMPP as you adviced me,
and tried to create a page with the following text:
PHP Syntax (Toggle Plain 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)?
Reputation Points: 15
Solved Threads: 1
Light Poster
Arctic wolf is offline Offline
47 posts
since Jul 2007

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Php Combo Box
Next Thread in PHP Forum Timeline: restructuring code to avoid "warning: header already sent by...."





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC