Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to send an SMS via a 3G Modem with php, but I can only access com1. I can't access com3 (the 3G modem) because it's a virtual serial port.

Does anyone know how to access a virtual serial port using PHP?

share|improve this question

All serial ports should be accessible the same way, virtual or not.

If accessing COM3 does not work, try COM3: or \\.\COM3 – as in fopen("\\\\.\\COM3", ...).

share|improve this answer
i do not need to set something in php.ini or httpd.conf? u already did it? – Kuby Dec 1 '11 at 23:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.