Re: [PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-27 Thread ioan...@btinternet.com
Solved: In Windows 'Explorer' in Vista, set User permissions for the htdocs - go to htdocs folder within the Apache folders, right click, Properties, Security, Edit, select your name as User, allow Full Control, Modify etc. Now open the files you created like test.php or index1.html and save

Re: [PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-27 Thread ioan...@btinternet.com
...though phpinfo seems to work fine without this handler. ioan...@btinternet.com wrote: php now also works with Apache, I think I was missing from httpd.conf within IfModule mime_module /IfModule: AddHandler application/x-httpd-php .php AddHandler application/x-httpd-php-source .phps

[PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-26 Thread ioan...@btinternet.com
I have a working apache 2.2.11 server and php 5.2.9 installed. APACHE CONFIGURATION Files are in: C:/Program Files/Apache Software Foundation/Apache2.2/ Apache https.conf is amended to add at the end of the LoadModule lines (not between any tags): LoadModule php5_module

Re: [PHP] PHP 5.2.9 Apache 2.2.11 outputs php code on Vista

2009-06-26 Thread ioan...@btinternet.com
I meant httpd.conf. And what is it about Vista that when in Notepad and you save a file, say test.php in directory htdocs, it shows test.php in the folder, but when you go to Windows Explorer there it is and it is gone? Nor does it load as http://localhost/test.php although http://localhost/