Computing.Net > Forums > Web Development > What operating system support PHP

What operating system support PHP

Reply to Message Icon

Original Message
Name: Jessy88
Date: January 4, 2007 at 09:37:27 Pacific
Subject: What operating system support PHP
OS: Windows XP
CPU/Ram: 1 GB
Comment:

If we write with php, is there any requirement for operating system, Windows or Unix? Thanks


Report Offensive Message For Removal

Response Number 1
Name: Laler
Date: January 4, 2007 at 09:43:44 Pacific
Subject: What operating system support PHP
Reply: (edit)

The requirement is, the PHP got installed on the webserver.

Create a file called hello.php with these as content:

<?php echo 'Hello world'; ?>

Then open that file from your browser (http). If the whole code shown, then the server can't parse PHP.

---
Fubar


Report Offensive Follow Up For Removal

Response Number 2
Name: Michael J (by mjdamato)
Date: January 4, 2007 at 10:08:42 Pacific
Subject: What operating system support PHP
Reply: (edit)

PHP is run on web servers (software) on machines with either Linux or Windows OS (the mass majority on Linux). The web server can be either Apache or IIS. There may be other OS's and Web Servers on which it is run, but these make up probably 98% of the combinations used.

However, there are some subtle differences between how some functions are interpreted on a Linux or Windows machine. They are pretty well explained int he manual. Most of the ones I have seen deal with how some file path operations work.

Michael J


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: What operating system support PHP

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software