Jump to content

how to enable other pc to access php file at pc where installed apache and mysql


new_php85

Recommended Posts

iii......

 

i need help

 

how to enable other pc to access php file at pc where installed apache and mysql.for example pcA install both apache and mysql but pcB not. How pcB can access php file at PcA.

 

usually, if pcA want to read php file at his own pc, the url is like thid: http://localhost/mec/index.php. but how about pcB??? ??? ???

you would just navigate to the pc by ip address, or by computer name if you want the output.

 

EX.

 

http://192.168.1.1/mec/index.php

OR

http://pcA/mec/index.php

 

if you need to edit the files, as said, ftp, or if you are on windows, remote access will work.

You'll probably need to make sure that your ISP allows port 80 incoming traffic (most won't these days).  If they don't you'll need to change Apache's listening port and do some port forwarding, but that's not even guaranteed to work.

you would just navigate to the pc by ip address, or by computer name if you want the output.

 

EX.

 

http://192.168.1.1/mec/index.php

OR

http://pcA/mec/index.php

 

if you need to edit the files, as said, ftp, or if you are on windows, remote access will work.

 

 

 

i... thank you for your information.i have try but also not working.i don't why it still not working :-[

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.