1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Apache2 ignores httpd.include(partially)

Discussion in 'Plesk for Linux - 8.x and Older' started by nitalaut, Aug 22, 2008.

  1. nitalaut

    nitalaut Guest

    0
     
    Hello everyone,

    Strange problem has appeared after upgrade from 8.2.1 to 8.6.0(debian linux 4.0).
    Everything works fine except few things.

    problem 1) I wasn't able to turn php(and safe mode) on/off through plesk - it gave me an error saying that psa.SiteApps table doesn't exist.
    I looked inside $psa_root/etc/db/psa_db.sql and created missing tables manually.
    I executed $psa_root/admin/bin/websrvmng -a command to make sure that all vhosts are configured as they should be.
    Now I'm able to turn off php and php safe mode on per-domain basis BUT here's the second problem...

    problem 2) All php settings(and may be not only php) made through plesk are not applied to virtual hosts.
    For example I can turn php off completly for domain example.com, then look at httpd.include file of that domain(located in it's conf subdirectory) and confirm that nessesary settings were made to that file(php_admin_flag engine off). Everything looks ok, BUT the example.com site(which needs php) keeps working. It seems like apache ignores all changes(related to php configuration) which plesk made in httpd.include files.

    May be someone has any ideas about this situation ?)
     
  2. Ragefast

    Ragefast Guest

    0
     
    And if you, after an update in the domain config, restart apache manually thru 'apachectl graceful', does the new config takes place?
     
  3. nitalaut

    nitalaut Guest

    0
     
    No, the situation is the same as before :(
     
  4. Amin Taheri

    Amin Taheri Golden Pleskian Plesk Certified Professional

    33
     
    Joined:
    Jul 5, 2007
    Messages:
    1,398
    Likes Received:
    1
    Location:
    Seattle Area
    what happens if you do

    $psa_root/admin/bin/websrvmng -v -a
     
  5. nitalaut

    nitalaut Guest

    0
     
    Process stays in the foreground and finishes with no errors.
    Nothing changes as before.
     
  6. nitalaut

    nitalaut Guest

    0
     
    I found an interesting fact about the problem(just a minute ago).
    If I disable SuPHP for particular domain - everything works as it should(in that domain only).
    So SuPHP is creating my troubles.
    Investigating further...
     
Loading...