• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

php - access denied problems with external executable

Yiorgos

New Pleskian
Hi and happy new year to everyone in this forum.

I have a problem in running an external executable .exe or .bat. For example using the following php code:

$abc=system("test.bat 2>&1");
printf ("TEST1:");
printf ($abc);
$abc=system("whoami 2>&1");
printf ("TEST2:");
printf ($abc);

with test.bat in the current directory and the following batch code:

echo "Hello WOrld!"print"Hello WOrld!!!!"

I get the following response:

TEST1:servername\iwam_plesk(default) TEST2:servername\iwam_plesk(default)

i.e. it seems that test.bat is ignored (!)

I think it is a permissions issue, but I cannot locate the root of the problem.

The user iwam_plesk(default) has execution rights in both the batch file and the cmd.exe.

I am using windows 2008 server and plesk 10.4.4.

Any advice would be appreciated.
 
Back
Top