• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Recent content by eworksmedia

  1. E

    Apache module

    Why is it not possible to install any additional PHP versions as an Apache module? You're a control panel provider, not an industry standards creator. Nobody cares what Odin thinks about module VS cgi VS fastcgi, nobody. If Odin personally doesn't want to run their websites as an apache module...
  2. E

    API requests suddenly extremely slow

    That fixed it, thanks
  3. E

    API requests suddenly extremely slow

    In the last few days the responses from Plesk's XML API have been extremely slow. It's now taking an average of 45 seconds to handle an XML API request where it used to be more around 5 seconds. What would cause that? What service handles these requests on the server so I can try rebooting it?
  4. E

    AWStats not showing stat since website is secured via SSL

    SSL logs are in a different location: /statistics/webstat-ssl/awstatsDATE.DOMAIN-https.txt
  5. E

    open_basedir short codes

    Alright I switched this up a bit. We already have a custom event handler + extension tied to Physical Hosting Created so I just modified that to also generate the open_basedir definition file on-the-fly and call the update-php-settings using that file during the rest of the work it does. That...
  6. E

    open_basedir short codes

    It's strange, that event doesn't ever fire. If I change the event to "Physical hosting created" it actually fires but it won't replace the <new_domain_name> directive so directly after creating a new subscription: grep "open_basedir" /var/www/vhosts/system/DOMAIN_NAME/conf/httpd.conf Reveals...
  7. E

    open_basedir short codes

    Oh okay so that would solve the last issue I had except it's not firing the event when a new subscription is created so that's never happening. What priority should it have? I left it at default "lowest (0)
  8. E

    open_basedir short codes

    I switched it up to this: /usr/local/psa/bin/subscription --update-php-settings <new_domain_name> -settings /path/to/my/open_base_directory_definition And that's half working except it makes the open_basedir value /var/www/vhosts/DOMAIN_NAME:/tmp/:/var/www/vhosts/system/<new_domain_name>...
  9. E

    open_basedir short codes

    I get "Unrecognized option: '--update-php-settings'" when running this
  10. E

    open_basedir short codes

    Ahh I see, but the problem with that is I'd have to manually add that for every subscription on the server, of which there are many and it's always in flux. I was looking for a way to do this globally, which is why I was hoping for something like a {DOMAINNAME} short code.. Is there a way to set...
  11. E

    open_basedir short codes

    No, we've had that value for open_basedir for a long time - years. We've been polling the web accessible version until now I'm trying to pull the data locally instead. I personally don't think we even need the /statistics entry because we already allow WEBSPACEROOT, and according to PHP...
  12. E

    open_basedir short codes

    file_get_contents('/var/www/vhosts/system/DOMAIN_NAME/statistics/webstat/awstats032015.DOMAIN_NAME-http.txt'); Warning: file_get_contents(): open_basedir restriction in effect. File(/var/www/vhosts/system/DOMAIN_NAME/statistics/webstat/awstats032015.DOMAIN_NAME-http.txt) is not within the...
  13. E

    open_basedir short codes

    Hi, yea, those are aliased for web access but I want to file_get_contents on them but am blocked due to open_basedir...
  14. E

    open_basedir short codes

    Thanks, I have a few more questions about this. Is this just the way Media Temple configured the servers or is this how Plesk works in general in that it stores the AWStats logs under /var/www/vhosts/system/domain_name and the httpdocs is under /var/www/vhosts/domain_name? If this is just how...
  15. E

    open_basedir short codes

    Where can I see a full list of available short codes for the open_basedir value? {DOCROOT} {WEBSPACEROOT} {TMP} .... what others?
Back
Top