|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
IIS & PHP Install/Setup
I'm trying to get PHP setup on my computer, running Windows XP Pro, so I can go back to working on PHP stuff on my computer.
I have IIS setup properly and when going to MY IP address, I can pull up my webpage as I should be. I downloaded the PHP5 installer for Windows and ran it. I went through the standard install and it installed it to C:\PHP5. At the end it said it was setup and mentioned I should setup the security correctly so I can use it. SO .... here's where I'm stuck. After installing PHP5 using the Windows installer from PHP's website, what do I do next? I'm hoping someone can provide me with some step-by-step instructions to get this working on my Windows XP machine. I honestly just need to know what to do after finishing the install ... be it granting permissions to myself to access stuff, changing the PHP5.INI file or whatever else. Please help me out as I'd really like to be able to work with PHP on my own computer instead of through a server. Any help would GREATLY be appreciated!! ![]() |
|
#2
|
|||
|
|||
|
First thing is first, you can test php with a simple script.. create a file called phpinfo.php and in that file type
PHP Code:
That will let you know what is working or not as the case maybe. As I have never setup the exact same as you before a lot of this is guess work so bear with me. Your php.ini will reside in your windows directory and you shouldnt have to assign that any permissions. In your IIS manager you may need to tell IIS what to do with a *.php file. goto Home directory on your site, click configuration, add extension, point to your php.exe and then add the .php on all verb. Although I am wondering why you are going for php5 yet? Not many hosting companies support it yet so you might develop code that wont work on them. Best bet is find a tutorial like this one.. http://webmonkey.wired.com/webmonkey/00/44/index4a.html very easy to setup apache and php and even mysql hope some of that helps |
|
#3
|
|||
|
|||
|
Thanks!
I'm not sure if IIS was being stupid the past couple of days but I uninstalled all the PHP stuff I had installed, redownloaded the PHP install from the PHP website and ran it. I can now open localhost/test.php and it works just fine. I'm not sure what the problem was ..... well ....... yes I do .... Windows ;P Thanks for the tips! ![]() |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > IIS & PHP Install/Setup |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|