1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Using PHP

Discussion in 'Plesk for Windows - 8.x and Older' started by colinjack, Oct 19, 2005.

  1. colinjack

    colinjack Guest

    0
     
    I am running 7.5.4 (fully patched) and have come across a 'funny' which I'm hoping somebody can help with.

    We have recently moved a working site from our Linux FC1 server to the W2003 server and now when anybody trys to run the PHP script it requests a username & password.

    Plesk has PHP enabled for this domain but I can't work out what is going on.

    Thanks

    Colin
     
  2. vekna

    vekna Guest

    0
     
    Ask in Plesk support for hotfix plesk7.5.4_update050907.19 - it should hel you.
     
  3. colinjack

    colinjack Guest

    0
     
    Thanks for that ... except that I cannot find that patch on their web site ... they have four 7.5.4 patches, all of which I have installed and none of which is the one you mention :confused:

    Are you able to post a URL for me?

    Thanks

    Colin
     
  4. colinjack

    colinjack Guest

    0
     
    Got it ... will see if that fixes the problem. Thanks
     
  5. colinjack

    colinjack Guest

    0
     
    Hmmm ... now getting

    The page cannot be displayed
    The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt access.

    What is an HTTP verb when it is at home?

    This PHP script works fine on Linux/Apache servers.
     
  6. vekna

    vekna Guest

    0
     
    Use command
    "%plesk_bin%\websrvmng --update-anon-passwords-all"
    After patch.
     
  7. colinjack

    colinjack Guest

    0
     
    Did that and its still muttering about using the wrong verb - bit like my spanish teacher!!
     
  8. EclipZ

    EclipZ New Pleskian

    23
    20%
    Joined:
    Nov 1, 2002
    Messages:
    17
    Likes Received:
    1
    You should be able to resolve this by modifying the virtual hostings cached ISAPI extensions in IIS Admin - go to the Mappings tab in the Application Configuration for the Website and add the .php extension and point it to the PHP binaries then add the required verbs or allow all -or if the ISAPI extension is already there which it sounds like it could be, just add the verb the PHP script is using or change it to allow all.
    You can get a better idea of the setup by looking at the properties of the Webmail(default) website in IIS Admin.

    Ed
     
Loading...