Jump to content

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


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 :-[

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.