PHP for desktop PC
#1
Scooby Regular
Thread Starter
Join Date: Apr 1999
Location: Surferk
Posts: 2,464
Likes: 0
Received 0 Likes
on
0 Posts
PHP for desktop PC
Hello
(iIm not technical)
I'm hacking together a website that has been built in PHP (happy doing the HTML bit). I want to run the site locally on my PC before I put it live. However as my PC doesn't have a PHP thingy it doesn't work very well 9include files don't work etc).
Is there something I can install that will make it work locally?
Thanks
Mark
(iIm not technical)
I'm hacking together a website that has been built in PHP (happy doing the HTML bit). I want to run the site locally on my PC before I put it live. However as my PC doesn't have a PHP thingy it doesn't work very well 9include files don't work etc).
Is there something I can install that will make it work locally?
Thanks
Mark
#2
Scooby Regular
Join Date: Mar 1999
Location: The Great White North
Posts: 25,080
Likes: 0
Received 0 Likes
on
0 Posts
#3
Former Sponsor
iTrader: (3)
easiest option is to download ApacheTriad and it will install it all for you and set it up perfectly.
Apache2Triad Net
This will set up apache, PHP, MYSQL and phpmyadmin too. Really simple to use too
Apache2Triad Net
This will set up apache, PHP, MYSQL and phpmyadmin too. Really simple to use too
#4
If you have XP Pro and IIS installed you can just install PHP 5 from PHP: Downloads
and it should work out of the box.
Steve
BUt appache is another good option
and it should work out of the box.
Steve
BUt appache is another good option
#6
Scooby Regular
Thread Starter
Join Date: Apr 1999
Location: Surferk
Posts: 2,464
Likes: 0
Received 0 Likes
on
0 Posts
Hmm
Installed IIS and PHP on my machine but it still doesn't recognise PHP files. If I type in something like http://localhost/myweb/index.php. It just asks me where I want o save it
Any ideas?
Mark
Installed IIS and PHP on my machine but it still doesn't recognise PHP files. If I type in something like http://localhost/myweb/index.php. It just asks me where I want o save it
Any ideas?
Mark
#7
Former Sponsor
iTrader: (3)
do the apachetriad thing and you wont have to amend or change anything - just run the setup file and all done for you.
sounds like you have to edit the PHP.INI file which will probably be in C:PHP or something to recognise php files as files to parse and present as html rather than a file download type.
apachetriad is soooo much easier.
sounds like you have to edit the PHP.INI file which will probably be in C:PHP or something to recognise php files as files to parse and present as html rather than a file download type.
apachetriad is soooo much easier.
Trending Topics
#10
Scooby Regular
Thread Starter
Join Date: Apr 1999
Location: Surferk
Posts: 2,464
Likes: 0
Received 0 Likes
on
0 Posts
Right installed Apache2Triad but I can't view any files. When trying to access http://localhost/apache2triadcp/test.php it asks for authenitcation. What do I type in? I've tried the normal PC logon username/password and the password I set up during install but nothing works. Any idea what I'm doing wrong??
Thanks
Mark
Thanks
Mark
#12
Scooby Regular
Thread Starter
Join Date: Apr 1999
Location: Surferk
Posts: 2,464
Likes: 0
Received 0 Likes
on
0 Posts
It says
"You will be prompted for username and password. Default user and is root "
what does that mean?
PS I'll buy you a beer at the next Cambridge meet
"You will be prompted for username and password. Default user and is root "
what does that mean?
PS I'll buy you a beer at the next Cambridge meet
#13
Former Sponsor
iTrader: (3)
type in 'root'
i think the std password is either blank or 'apache2triad'
You shouldnt really need to access this control panel though.
You create subdirectories under the:
C:\program files\apache_something or other\htdocs folder
eg create one called \mysite and you can access it in a web browser by going to: localhost/mysite
i think the std password is either blank or 'apache2triad'
You shouldnt really need to access this control panel though.
You create subdirectories under the:
C:\program files\apache_something or other\htdocs folder
eg create one called \mysite and you can access it in a web browser by going to: localhost/mysite