bradgrafelman;10907845 wrote:(Posts moved from thread #10904171).
I haven't experimented with PHP on Vista (let alone IIS; I can't bring myself to even install Vista :p), but file permissions are very likely culprits.
If you open My Computer and navigate to the root of your C: drive, right click on the PHP folder and select properties. Do you see a Security tab? If so, click that, and check if any users with permission to that directory are the "IUSR_(ComputerName)" account (or if that account effectively has permissions to read/execute, e.g. if the Everyone group has such permissions). If not, you'll need to add this account to the permissions list and allow it to at least Read&Execute, List Folder Contents, and Read (note that these permission categories might have changed from XP to Vista).
LOL... I know what you mean - I installed Vista for the first time last Friday and really wish I hadn't!
I have set PHP and inetpub folders to allow all users to read/write/execute but still no luck.
However I have just noticed that MySQL warnings do seem to show properly?? I also just found a nifty little snippet on the PHP site which does offer a roundabout way of accessing the warnings you simply setup a dummy php file with an includes to the file with errors.
So it would look like the following - you then replace the filewitherrors.php with whatever file you want to see the errors for:
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
include("filewitherrors.php");
?>
Not perfect and I still want to find a real solution but may offer a quick fix for anyone who needs one. However it has confused me slightly as this seems to indicate that everything is setup properly i.e. folder permissions+php ini as errors will output on the above 😕