running php offline on pc (Clientside)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
padasalgi
Forum Newbie
Posts: 2
Joined: Thu Jun 19, 2008 11:40 am

running php offline on pc (Clientside)

Post by padasalgi »

Hi,
I have joined this forum just now. I am quite new to php script and I do not know anything about it other than that it runs on server.
I want to know is it possible to run this php on my pc offline.If it is possible pl advise me which software I have to use. Can I convert php to html and then run this on my pc.If yes which software I have to use.
thanks
User avatar
Frozenlight777
Forum Commoner
Posts: 75
Joined: Wed May 28, 2008 12:59 pm

Re: running php offline on pc (Clientside)

Post by Frozenlight777 »

PHP is strictly server side. You must have a server to "interpret" it. You can embed html code within your php code, but if you don't have a server and it's a .php extension, it'll spit your code back at you (or ask you to download it). Just install apache (server) if you want php to run on your pc.
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Re: running php offline on pc (Clientside)

Post by Zoxive »

In a sense, it is still server side. Its just making your computer the server. Client side usually referrers to the clients computer, or browser for that matter.

For windows, a simple program with Apache/Mysql/Php is Xampp. I used it when i first started years ago.
padasalgi
Forum Newbie
Posts: 2
Joined: Thu Jun 19, 2008 11:40 am

Re: running php offline on pc (Clientside)

Post by padasalgi »

Zoxive wrote:In a sense, it is still server side. Its just making your computer the server. Client side usually referrers to the clients computer, or browser for that matter.

For windows, a simple program with Apache/Mysql/Php is Xampp. I used it when i first started years ago.
Thanks for your prompt response. I want some more favour and help from you, pl advise me which package I have to download and install as I find 3 different packages on the website.(for win xp pro)
thanks.
Post Reply