Go Back   Computer Juice > Computer Software > Web Design, Hosting & SEO
Register Members New Posts Donate Unanswered Posts Site Spy Search


Reply
 
Thread Tools
  #1  
Old 18-03-2007, 06:02 PM
No Avatar
CJ New Member
 
Cannonball is offline
 
Join Date: Mar 2007
Last Online: 18-03-2007 06:02 PM
Posts: 1
iTrader: (0)
Cannonball is on a distinguished road
Default newbie question - Php with Apache?

I am trying to learn Php. Today I installed the Apache Http Server 2.2 on my Windows XP system. I then installed Php-5.2.1-win32.zip. Currently if I go to http://localhost/ it displays the "it works" screen for apache but I created a simple file called hello.php and saved it to the htdocs dir. however when I try to open the site http://localhost/hello.php it just gives a blank screen. Anything extra I need to do or what am I doing wrong?
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #2  
Old 18-03-2007, 07:47 PM
No Avatar
CJ New Member
 
hungry_foolish is offline
 
Join Date: Mar 2007
Last Online: 18-03-2007 07:47 PM
Posts: 1
iTrader: (0)
hungry_foolish is on a distinguished road
Default newbie question - Php with Apache?

open the file "hello.php" and type in the followingsave it and try running http://localhost/hello.php again from your browser. this will give info about whether php is working on the system and what are the spefications of it...try making new php files try out new code. If you already have some stuff wirtten in php in the hello.php file, then make sure the syntax is correct, tags are closed, etc...for more info on php goto php.net or try some tutorials on http://www.w3schools.com/php/default.aspIf you have problems installing and configuring apache and php, etc...goto www.apachefriends.org/en/xampp.html and download the software called "XAMPP". It will install Apache, PHP, MySQL, PHPMyAdmin, Filezilla on your machine automatically without any work on your side!
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote
  #3  
Old 18-03-2007, 08:29 PM
No Avatar
CJ New Member
 
Jeffrey F is offline
 
Join Date: Mar 2007
Last Online: 18-03-2007 08:29 PM
Posts: 1
iTrader: (0)
Jeffrey F is on a distinguished road
Default newbie question - Php with Apache?

Very Easy......so easy it hurts. Unless you want to learn how to set this up from scratch.....let us know and there are articles on getting this up and running.http://www.wampserver.comThe download includes Apache, MySQL and PHP all packaged into a single download.......best thing is that it "works out of the box"!! You must uninstall what you already did. The last release uses the most recent releases of all 3 productsWAMP=Windows, Apache, MySQL and PHPHave fun with it...........
Digg this postDel.icio.us this postTechnorati this postNetscape this postStumble this post
Reply With Quote

Please support this forum, donate towards our running costs.


Reply


Thread Tools

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
newbie question about cleaners ken979 Virus, Spyware & Security 1 23-04-2008 12:09 AM
Apache or Abyss web servers help SpinningMisery Web Design, Hosting & SEO 1 25-11-2007 05:46 PM
newbie question. dasray General Software Chat 13 24-05-2007 08:47 PM
how do u configure apache? Aki Web Design, Hosting & SEO 1 19-03-2007 08:23 PM
How to solve this Apache Problem? Hitman Web Design, Hosting & SEO 2 18-03-2007 07:47 PM


Copyright ©2006 - 2008 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc.

Page copy protected against web site content infringement by Copyscape