new_php85 Posted September 14, 2008 Share Posted September 14, 2008 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??? ??? ??? Quote Link to comment Share on other sites More sharing options...
Shaun Posted September 14, 2008 Share Posted September 14, 2008 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 Quote Link to comment Share on other sites More sharing options...
peranha Posted September 14, 2008 Share Posted September 14, 2008 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. Quote Link to comment Share on other sites More sharing options...
DarkWater Posted September 14, 2008 Share Posted September 14, 2008 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. Quote Link to comment Share on other sites More sharing options...
new_php85 Posted September 15, 2008 Author Share Posted September 15, 2008 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 Quote Link to comment Share on other sites More sharing options...
peranha Posted September 15, 2008 Share Posted September 15, 2008 Are you trying to connect to it from inside your private network, or from outside? Quote Link to comment Share on other sites More sharing options...
new_php85 Posted September 15, 2008 Author Share Posted September 15, 2008 Are you trying to connect to it from inside your private network, or from outside? private... why ya??? Quote Link to comment Share on other sites More sharing options...
new_php85 Posted September 15, 2008 Author Share Posted September 15, 2008 ok its working now.it is because of firewall. thanks a lot... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.