Forum Moderators: coopster
I have just installed php on my IIS windows system. and i managed to get the mail function to work correctly. However, i have two questions. Firstly is PHP like ASP, where i have to install additional components e.g. an upload component etc.? if so, can anyone please tell me of the common ones and where i can get them from.
Secondly, i am having a problem with PHP. When i use the PHP installer and go through the setup, php seems to work fine on all domains. However, if i add any new virtual domains, php doesnt seem to work on those domains and it says something about i dont have access or something.
Any comments would be appreciated.
Thanx
I ran IIS on my laptop for a (very short) while...(note past tense). I only say this from experience, so don't take it the wrong way, but if you can consider it, have a look at Apache [apache.org]. I think you'll be pleasantly surprised, even on the Windows platform.
That said, I will try to help as much as possible...
>>...is PHP like ASP, where i have to install additional components e.g. an upload component etc.? if so, can anyone please tell me of the common ones and where i can get them from.
PHP is similar to ASP in that both are server-side scripting languages. The biggest difference is that PHP will run on *nix as well as Windows platforms (among others), but ASP is, for the most part, a Windows-only solution. No, you don't need to install any additional components for file uploads, you just script your solution. The PHP manual is the best place to get started for Handling File Uploads. [php.net]
However, if i add any new virtual domains, php doesnt seem to work on those domains and it says something about i dont have access or something.
Hmmm. This sounds like a permissions issue. Have you checked the folder authority for the new domains you have setup? If I remember correctly, it is also important to use the correct profile for starting the IIS server.