This is a discussion on "php not working?" within the PHP Forum section. This forum, and the thread "php not working? are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
php not working?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
php not working?
Ok, I downloaded it, and then i did what it said in the tutorial, and made a notepad document saved as test.php and put
|
|
|
|
|||
|
Re: php not working?
First off.... dont just use this thread, create a new thread for each specific problem, that way its easier for others to find the information later.
As for your problem here, have you installed php mysql and apache seperatly? Or have you used WAMP or XAMP... or whatever the most popular is these days (i still use WAMP) |
|
|||
|
Re: php not working?
uhh... isnt this a new thread??? anyways, heres what i did:
i downloaded php installer, apache 2.0 installer, mysql installer, all separately installed in that order. i use windows xp. should i have done it another way? (please be specific and maybe lend me a link cuz im n00b at php, only know java well) |
|
|||
|
Re: php not working?
Quote:
Doing it that way is fine .... but its by no means the easiest. I use WAMP ... which is a little program that contains all of the bits you downloaded seperatly, and also has a nifty interface... btw... do you have phpmyadmin?... you'll probably need that too... and its in wamp. Now, i think the prefered utility nowadays is summint called XAMP, but ive never used that...... WAMP is not easy to install.... but, with a little patience and the help of google, you should get it up and running in no time. for wamp and xamp and see which you prefer. |
|
|||
|
Re: php not working?
You said you ran it as an htm file? you need to save it with the .php extension
|
|
|||
|
Re: php not working?
lol well noticed crew ... /me slaps myself
|
|
|||
|
Re: php not working?
hee hee aww my message is to short
|
|
|||
|
Re: php not working?
ok, i installed xampp, and i still get a blank page when i run
|
|
|||
|
Re: php not working?
Just to make sure you are actually going to the right page... go to http://localhost/filename.php
Furthermore make sure the file is saved as .php I don't know much about xampp. I recently installed apache though. Its better to install apache first, then the php installer. The php installer will then update your apache configuration file which is called httpd.conf. The php installer will add line which has \\ between each file. If you switch these to / then it will probably work. |
|
|||
|
Re: php not working?
you will need to save the test.php file in the xxamp/htdocs folder
|
![]() |
| Tags |
| php |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| CSS not working in IE? | Jgag | Web Page Design | 2 | Jun 5th, 2008 11:14 |
| Why is this not working! | Jack Franklin | PHP Forum | 7 | Mar 25th, 2008 10:34 |
| PNG - IE not working | Phixon | Web Page Design | 3 | Nov 30th, 2007 13:47 |
| PHP not working | toolmania1 | PHP Forum | 1 | Nov 1st, 2006 05:57 |