Hi all, Well it is now 12:08 past midnight and I have been at this
since 7pm. Basically my problem is this: I currently have a Win2003 server, running IIS6 serviced
packed up etc. I have tried following the installation notes from PHPbuddy.net
(http://www.phpbuddy.com/category.php?cat_id=INST)
and nearly started to pull out my hair. I originally had a number of problems were my pages weren’t
being displayed due to not having permission to execute the script, not having enough
permissions set on the files within the PHP etc. I also had a cracker of an
error “No input file selected” which was a good one, but yet I managed
to get around that problem by giving out the correct permissions and editing
the php.ini (doc_root) and leaving this blank. But unfortunately for me I came
to another problem, one which I have not been able to sort out, my pages are now
displaying the actual PHP code!! First I downloaded the automatic installer (PHP 5.0.1
Installer) and then found out that was a horrid mistake to do, I then
downloaded the two manual installation files, (Collection of PECL modules for
PHP 5.0.1, and PHP 5.0.1.zip Package). Did all the necessary unpacking etc and
proceeded to follow the instructions that can with the files themselves, also
followed the instructions from http://www.php.net/manual/en/install.windows.php).
Again went through all the above problems, and came to the same problem, every
time I view my PHP pages, I see the code. So I thought surely there has to be some other
way/instructions on how to sort this out, so off I went searching through the
net and came across another site with pictures, and instructions that actually
seemed to make sense and come together for my system. (Installing PHP via the
Installer http://www.simongibson.com/intranet/php2003/installer.asp,
and Manual Installation http://www.simongibson.com/intranet/php2003/default.asp).
But unfortunately again I come to the same problem where my PHP code is being
displayed. Now if you were wondering if it is my code I quickly created
a php file with one line of code in (<? phpinfo(); ?>) and I
get displayed back to me exactly what is in those brackets, no other error
codes or anything. To be honest I really don’t mind searching through the
net trying to fix this but I have been unable to find a set of instructions on
installing PHP that actually make sense and work!! So my question is this, does anyone have any installation
notes for installing PHP on a Win2k3 server, running IIS6 with all the least
service packs on?? Or if anyone knows how to sort out why my PHP pages are just
displaying the code and not the results I would be very grateful. Thanks Kev |