Jump to content
xisto Community
Sign in to follow this  
soleimanian

How I Can Install PHP On My PC

Recommended Posts

running off windows xp? Alright then it's easy. Go here: (http://php.net/downloads.php). Now scroll down to where it says "PHP 5.0.3 installer." Click the link, and follow whatever steps it may have, and it will be installed for you. ^_^ hope this is what you're looking for

Share this post


Link to post
Share on other sites

php works best with apache. so much so that you can download apache with php bundled from php.neti suggest you dont run iis and php on a home pc unless youre an advanced user and you know exactly what youre doing. running a server requires time, patience, knowledge and aboe all a reasonably good pc. youre better off getting hosting

Share this post


Link to post
Share on other sites

if you are still unsure there is a good tutoiral here that will give you step by step guidence on installing PHP on a windows machine. although it does base itself around using APACHE as your server as opposed to IIS. Good luck.

Share this post


Link to post
Share on other sites

I do not know whether you have installed it by now but if not you should try download EasyPHP. It comes in a very different languages. You can get it from EasyPHP

It has full documentation and installation guide, it is around 10 to 12 Megabytes if i remember correctly. I found no troubles installing it except that it seemed to install itself in French even though i chose English. This was simple to overcome, even though I know no French. You can change the language once it is installed.

You can change the directory in which you want to view the files instead of typing in the absolute directory like LOCALHOST/mydocuments/somefolder/website/somefile.php

so it would become LOCALHOST/somefile.php

I found this extremely cool.

overture.

Share this post


Link to post
Share on other sites

hi every body

i have installed IIS on my windows(XP), now i need help to install php?

i read many helps for this

but i can understand , please offer simple for me

<{POST_SNAPBACK}>

Hi soleimanian,

 

what I'd suggest for you is PHP Triad.

PHP Triad is a combined package of Apache, PHP 4.1 (and over) and MySQL. You can download the package from here.

When you run the package it will install the three units that you will need while scripting in PHP. After you install, you'll need to restart your system. In the start Menu you'll find, PHPTriad under My Programs. The folder will be created in C: drive (by default, unless you mention otherwise during installation) and the folder will simply be called apache. In it you will find the MySQL folder the various regular folders that you find in the apache suite, and you wil run all your php files out of the folder htdocs.

 

After you install PHP Triad, and you restart your system, apache will automatically run on top of your windows platform. (I've been using this since the last three years with no side effects. NOW, before you begin running your PHP scripts, I suggest you manually start/ restart Apache by going to PHP Triad in Start> Programs> PHPTriad> Apache > Start Apache; next you will need to run the MySQL module in the same manner. once you have done this, open a browser and type in localhost...

 

You can manage your basic configurations etc from here. Also, phpMyAdmin is automatically provided with PHPTriad so if you type localhost/phpmyadmin, you'll automatically be able to use the various facilities that thiis extensive script provides. To run any of your scripts, open a new folder under htdocs, and put your files there. Then to run them, open a browser and type in 'localhost/foldername/filename'...

 

There are numerous boards and help centers on the internet to guide you with this, so you needn't hesitate using it. Also, a whole bunch of sites like Hotscripts and resourceindex that stock ready to go scripts as well as numerous classes and modules you'll find interesting to experiment with.

 

Hope this helps you.. All the best... R.A.

Share this post


Link to post
Share on other sites

I don't think that somebody who bought IIS would want to drop it and use Apache :P... But that's just a remark, I really don't know how it is done (I use Apache + PHP myself)

<{POST_SNAPBACK}>


I've got IIS (& run 2 websites on it... with a middle ware too... but that's just to make sure all's well with my scripts)

the beauty of PHPTriad is that when you want to code and check your PHP work, you just need to go to START - programs > PHPTriad > Apache > Start Apache, Start My SQL and there.. you're up and running..

 

This package rides on IIS, so while you want to check your work, you run the Apache over windows and as soon as you're all done with.. Start>Programs>Apache>Stop Apache.. and you're back to running IIS and whatever webservers you've got on that..

 

Well it works for me anyhow, but I just shuttle between Apache and IIS to check my work before I upload anything...

 

Cheers.. R.A.

Share this post


Link to post
Share on other sites

A simple way to get php on your system is obviously running the apache server.

 

http://forums.xisto.com/no_longer_exists/

 

That's the download you need I believe.

It's apache 2.0 and fairly easy to install. The new additions and modifications make it much easier to run on Windows platform.

Documentation about it can be found at

http://httpd.apache.org/docs/2.0/

 

or just visit http://www.apache.org/ and browse around for yourself. You can find pretty much everything you need to know there.

 

 

After re-reading some of these posts however I think the triad package sounds pretty efficient. You'll need MySQL more than likely. Download it all at once. But if you're going to just mess with PHP only either choice would be fine.

Share this post


Link to post
Share on other sites

Hi,

 

If you go into http://www.hotscripts.com/, you can find several of packages that contains almost everything that you need to set up an testing server at your own PC. I'm using xamp from apachefriends and it's probably the most powerful and easy package for free you can find. It's just to download and install, and then you're ready to go on. No big deal..:-)

 

I hope that you can use this.

 

See you

 

Cheers!

 

Jens

Share this post


Link to post
Share on other sites

But there is another option....

I mean, u can also use Pre Configured Packages ....

 

U can use Easy PHP ...

 

Download it for fre from here :

 

http://www.easyphp.org/

 

It includes :

 

1) PHP

2) Apache Server

3) MySQL Databases

4) phpmyadmin

 

*** All Appreciations and Criticisms are welcome ****

 

Regards :

Samya Khalid

Share this post


Link to post
Share on other sites

This is an old post, but I still highly recommend using XAMPP (WAMPP/LAMPP) https://www.apachefriends.org/index.html as the best packed server goodies for Windows (though they also do a Linux package, I think configuring it all under Linux is easier to do from scratch). It may however have more than what you want though, e.g. FTP Server, Web Statistics, Mail Transport Agent, etc.

Cheers,

MC

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.