Jump to content

Recommended Posts

Posted

I have just installed Apache 2. 0. x. x (standard default installation) and php5 on my windows XP machine.  If i create a php file like

<?php echo("hello there") ?>

and view this in my web browser on 127. 0. 0. 1/test. php the script works, however if I try the more complicated php below this does not work.

<?php system("(start C:Progra~1VideoLANVLCvlc. exe C:media --intf=http --fullscreen) >nul"); ?>

I am very much a "newby" to all this and would appreciate any help you can offer. . . thanks

Posted

The apache service must be allowed to interact with the desktop. Open the services windows (run > services.msc), find the apache service open it's properties and under the login tab enable "Allow this service to interact with the desktop" or some thing to that effect.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...