Lockedinitial web.config breaks php

Author
adrianbrown
Junior Member
2012/01/10 04:29:49 (permalink)

initial web.config breaks php

Im running hostingcontroller 8 on a windows platform.  The problem here is the initial web.config that is installed on a new domain breaks the php.  The web.config has the following added in
 
        <handlers>
            <remove name="AboMapperCustom-36395" />
            <add name="PHP" path="*.php" verb="*" modules="CgiModule" scriptProcessor="d:\program files (x86)\php\php-cgi.exe" resourceType="Unspecified" />
        </handlers>
But to allow php to work I have to alter it to the following..
 
        <handlers>
            <add name="php-5.3.6" path="*.php" verb="GET,HEAD,POST" modules="FastCgiModule" scriptProcessor="D:\Program Files (x86)\PHP\php-cgi.exe" resourceType="Either" requireAccess="Script" />
        </handlers>

Im sure ive got something setup wrong but i cant seem to work out what it is.  Ive checked the default webpage web.config and that is fine.   Any pointers would be great.
 
Adrian
#1

0 Replies Related Threads

    Jump to:
    © 2024 APG vNext Invalid Version 5.5