Jump to content

Extensions from windows to Linux PHP


Kurrel

Recommended Posts

Oddly enough, I was just looking at that example you describe!!  ;D

 

It's not quite working for me, but that's the way of things.  I'll figure it out!

 

What I'm getting at the moment is

 

"Warning: Specified serial port is not valid in /var/www/basefunctions/php_serial.class.php on line 111"

 

Is this trying to check the server machine, or will it be my local?  From Linux, what is the reference to the third Com port?  ttsy2?

Link to comment
Share on other sites

Okay, I've got that all installed, but I get the following :

 

Warning: Specified serial port is not valid in /var/www/basefunctions/php_serial.class.php on line 117

 

whenever I try to run it... I suspect there's an error on the port reference, because I can change it to com1 and run it on the localhost, with it discovering the device...

 

Any idea what it might be if not '/dev/ttyS0'?

Link to comment
Share on other sites

Okay...

 

I've discovered that there's permission denied on the port, from the linux to windows machine.

 

Does anyone know if there's a way to unlock that via the code, so that the local machine will allow the server code to access it's Com port?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.