![]() |
| |||||||
| |
![]() |
| | Thread Tools |
|
#1
| ||||
| ||||
| 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? |
| |
|
#2
| ||||
| ||||
| 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! |
|
#3
| ||||
| ||||
| 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........... |
|
![]() |
| Thread Tools | |
|
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 |
| Powered by vBulletin® Copyright ©2000 - 2008 Jelsoft Enterprises Ltd. SEO by vBSEO ©2008, Crawlability, Inc. |