• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Search results

  1. S

    Question Root SSH with PHP?

    SSH2 managed to work, the user that is running the PHP Script is not root but is the webadmin of that domain (domain1.com) - is it still a security issue? Secondly, where can I get more details on how to use that Plesk extension? Is it possible to call a specific event for a specific domain...
  2. S

    Question Root SSH with PHP?

    Update: I can see the "ssh2" checkbox under Plesk settings and its enabled but i still do get the error "Fatal error: Uncaught Error: Call to undefined function ssh2_connect()" PHP 7.4 FASTCGI
  3. S

    Question Root SSH with PHP?

    Update: SSH2 is listed when running "php -m" command via SSH (on Terminal Mac OS)
  4. S

    Question Root SSH with PHP?

    It is https://cln.sh/zG4QoC
  5. S

    Question Root SSH with PHP?

    Thank you I installed it according to your instructions, i can see the ssh2 extension in the phpinfo page. But im getting the following error, i restarted apache as well. Call to undefined function ssh2_connect() PS: Not sure if it matters but under PHP extensions in Plesk i dont see the ssh2...
  6. S

    Question Root SSH with PHP?

    Update: Let' take the following example. I have a file.php in /var/www/vhosts/domain1.com/httpdocs/file,php when I visit domain1.com/file.php I would like to download / auto-install (unzip) a zip file that contains the PHP app files to another domain (domain2.com -...
  7. S

    Question Root SSH with PHP?

    Hello, How can access specific folders of the server and add new files to that path? What im trying to achieve is the following - Create customer account via Plesk REST API (DONE) - Create domain via Plesk REST API (DONE) - Create DB via Plesk REST API (DONE) - Go to that domain folder and...
  8. S

    Question [REST API] Getting ERR::Connection Refused PHP

    The above option with FastCGI made the script work!! Finally. Are there any downsides when this option is enabled? Thank you
  9. S

    Question [REST API] Getting ERR::Connection Refused PHP

    "Apache graceful restart" option is missing from my server. I will try to order a new dedicated server with the latest Plesk and Ubuntu version. Hopefully it will work.
  10. S

    Question [REST API] Getting ERR::Connection Refused PHP

    OS ‪Ubuntu 14.04.6 LTS‬ Product Plesk Onyx Version 17.8.11 Update #53, last updated on Feb 14, 2020 06:29 AM
  11. S

    Question [REST API] Getting ERR::Connection Refused PHP

    Unfortunately, this does not work for me. How do you run the php script? I just visit the path from my browser "example.com/file.php" To be more precise it's a subdomain so the url looks like this: "sub.example.com/file.php" I've changed the PHP version for the master and subdomain but still the...
  12. S

    Question [REST API] Getting ERR::Connection Refused PHP

    @Rasp let me know how you managed to make it work through fastcgi, on my end it does not work. Note: i dont use nginx
  13. S

    Question [REST API] Getting ERR::Connection Refused PHP

    I still get the same error in FastCGI PHP 7.3.5
  14. S

    Question [REST API] Getting ERR::Connection Refused PHP

    Maybe if you run the Curl request with a Proxy, would that make any difference? I will contact them, thank you
  15. S

    Question [REST API] Getting ERR::Connection Refused PHP

    Update 2: I tried the shell_exec() PHP function and it still does not work. Seems like the issue is on the network. Not sure how this can be fixed...
  16. S

    Issue Can curl remotely, but not locally on Plesk server. Always Get curl: (7) couldn't connect to host

    Did anyone find a solution yet? I have the same issue, can't do curl request for the REST API from the same server. I get connection refused error
  17. S

    Question [REST API] Getting ERR::Connection Refused PHP

    Update: According to a stackoverflow answer adding session_write_close before curl request executes and session_start after the curl request closes did not help at all. Still stuck...
  18. S

    Question [REST API] Getting ERR::Connection Refused PHP

    OS ‪Ubuntu 14.04.6 LTS‬ Product Plesk Onyx Version 17.8.11 Update #53, last updated on Feb 14, 2020 06:29 AM
  19. S

    Question [REST API] Getting ERR::Connection Refused PHP

    UPDATE: The above note does not change anything... I run the same code in a separate PHP file with no other interactions and it produces the same error.
  20. S

    Question [REST API] Getting ERR::Connection Refused PHP

    NOTE: When clicking the submit button an HTML form with POST gets submitted and at the same time a PHP CURL POST request is executed.
Back
Top