Almost everytime I've seen PHP mentioned, it has been in conjunction with Linux. Can PHP be used in a web page that runs on any kind of server OS and accessed via any kind of client browser?
Printable View
Almost everytime I've seen PHP mentioned, it has been in conjunction with Linux. Can PHP be used in a web page that runs on any kind of server OS and accessed via any kind of client browser?
most common people run php with apache (not sure if it will even work with anything else)
it will work with any webbrowser (unless the php file is programmed to not allow anything other than Fx or IE, or whatever), you can even achieve the page though telnet.
Ok, and Apache is an HTTP web server.Quote:
Originally Posted by ALL
You said 'most...', so may I infer that PHP can be used on/in/with other web server platforms?
well apache is generally used as a service, it can be run on windows, linux, and (i think) Mac. php (if system is setup properly) can be ran by any aplication, and could retrieve the output. microsoft's web client ISS (or somthing like that) can be modded to support php (i think).
all you have to do is tell (microsoft's web client) to run this file (php.exe) when it is aked to run a file with a .php or .php3 extension.
does that help?
PHP is a multi platform scripting language. It runs on Windows, Mac, UNIX, Linux and FreeBSD. PHP can be built as a module for many different web servers including Apache an IIS, but if a module for your web server is not available you can run it as a CGI program (there are very few web servers that do not support CGI).
As for the client - as the script are executed by the server, the client only needs a web browser. The OS which PHP runs on is irrelevant and the OS that the client is using is also irrelevant.
Thank you both. I believe that is what I needed to find out! :thumb: