Launch vmware server with php script and apache
| From: | Julio César García Vizcaíno | Date: | Thu, 13 Mar 2008 15:35:52 +0000 |
| Subject: | Launch vmware server with php script and apache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-271512@lists.php.net to get a copy of this message | ||
Hi,
I'm working with a script which must launch vmware server 1.0.3
(Virtualization product) and I can launch it from a terminal:
$php miscript.php
but when I use firefox it just doesn't work.
I've checked the permissions for vmware and the apache user but without
any success.
Can you help me what i'm doing wrong?
local.php
------------------------
<?php
echo "Lanzando vmware\n";
system('whoami');
system('/var/www/procesa.pl');
?>
------------------------
procesa.pl
------------------------
#!/usr/bin/perl
system ('/usr/bin/vmware');
------------------------
Sorry for my bad english.
Thanks
--
Julio César García Vizcaíno.
FI, UNAM.
Por mi raza hablará el espíritu
Attachment: [application/pgp-signature] Esta parte del mensaje está firmada digitalmente signature.asc
Attachment: [application/pgp-signature] Esta parte del mensaje está firmada digitalmente signature.asc