• 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 CMRP

  1. C

    Resolved Rsync in PHP script

    Hello, Thank for your response. Regards, CMRP
  2. C

    Resolved Rsync in PHP script

    I know but i didn't find other solution. If you have it, i'm interest. The sudo file need two thing : the permission to use rsync command and permission to execute the bash file. In my bash file the path is put in the script and no depend about a variable. Regards, CMRP
  3. C

    Resolved Rsync in PHP script

    Yes i use a public/private key between the two server. In fact, i think the sudo module is install by defaut with plesk. But it's not the case. Here is the solution : 1) Install sudo (yum install sudo) 2) Add in /etc/sudoers this two line : your_user ALL = NOPASSWD...
  4. C

    Resolved Rsync in PHP script

    Because i think the rsync command cannot execute by apache user. How i could execute this command in bach file via php? NB : if i execute the bash file in root with command line, it works perfectly. Regards, CMRP
  5. C

    Resolved Rsync in PHP script

    Hello, I have an issue with a PHP script that execute a SH file. My PHP script : My SH file : If i go to my php web page, it print "Hello" but the file dosen't send in my remote server. I didn't see in plesk the sudoers file to give permission for the apache user to execute a rsync...
Back
Top