PHP Integration with command line
Posted: Tue 01 Jul 2014 13:24
Hi all,
I'm trying to integrate Schema Compare MySQL 3.1.15 with PHP.
For easy access management, I placed a specific folder with all files of SC and granted the IUSR with all access to this folder and subfolders.
While trying with a normal user in command line, everything is OK and no bugs were found.
While trying to start the schemacompare.com through "system()", "exec()" or other PHP functions, the system bugs, slows down, a process called "ConsoleLauncher" takes >25% of the CPU for several seconds. A file is created inside the SC folder (not inside the PHP script root folder).
Example :
Filename : ConsoleLauncher_2014-07-01_14-59-11.log
Content :
Translated message is : "Path cannot be the empty string or all whitespace."
System :
OS : Windows Server 2012 R2 Standard
Webserver : IIS 8.5.9600.16384
PHP : 5.4.24
Devart soft : dbForge Schema Compare for MySQL standard Edition 3.1.15
Thank you for your help !
I'm trying to integrate Schema Compare MySQL 3.1.15 with PHP.
For easy access management, I placed a specific folder with all files of SC and granted the IUSR with all access to this folder and subfolders.
While trying with a normal user in command line, everything is OK and no bugs were found.
While trying to start the schemacompare.com through "system()", "exec()" or other PHP functions, the system bugs, slows down, a process called "ConsoleLauncher" takes >25% of the CPU for several seconds. A file is created inside the SC folder (not inside the PHP script root folder).
Example :
Filename : ConsoleLauncher_2014-07-01_14-59-11.log
Content :
Code: Select all
Logging started at 07/01/2014 14:59:11
Exception:
Type = System.ArgumentException
Message = Le chemin d'accès ne peut pas être une chaîne vide ou contenir uniquement des blancs.
Nom du paramètre : path
Source = schemacompare
StackTrace =
à av1.a(String A_0)
à av1.i()
à av1.a(Guid A_0, Guid A_1, String A_2)
à av1.a.a()
à System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
à System.Threading.ThreadHelper.ThreadStart()System :
OS : Windows Server 2012 R2 Standard
Webserver : IIS 8.5.9600.16384
PHP : 5.4.24
Devart soft : dbForge Schema Compare for MySQL standard Edition 3.1.15
Thank you for your help !