I have two scenarios.
- start the update and call shell_exec ('svn update') and shell_exec ('svn st')
- running mysqldump shell_exec ('mysqldump params')
Update command is not executed in svn script svn st- print results but notsvn update
I tried to declare the parameters when calling svn update, for example, 'svn update'. dir. '- username myuser --password mypasswd --non-interactive'; - nothing yet. Plays with most options
If this has something to do with binaries / permissions / groups, I don't see this. The mysqldump command works fine and creates a file, so why doesn't svn update the file system?
Please, it is not recommended to use SVN base classes in PHP. This is not an option, I do not have full control over the server, and the module is not available.
Thank you for your help,
-hbt
PS: the important thing that is mentioned here. Scripts work when called from the command line. This only happens when called through a web browser.
source
share