Jump to content

Archived

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

new_php85

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??? ??? ???

Share this post


Link to post
Share on other sites

What?

 

are you talking about viewing the php output on pcb? if so, it will be setup as a webserver, with apache etc.

 

if you want to view php source on pcb, use ftp.

 

 

- Shaun

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Are you trying to connect to it from inside your private network, or from outside?

Share this post


Link to post
Share on other sites

Are you trying to connect to it from inside your private network, or from outside?

 

private... why ya???

Share this post


Link to post
Share on other sites

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