Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

Beginner help
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Apache2Triad General
View previous topic :: View next topic  
Author Message
IGLITK



Joined: 23 Nov 2008
Posts: 1

Posted: Sun Nov 23, 2008 4:20 pm    Post subject: Beginner help  

i just installed apache2triad, installed it to test a few phpscripts before i upload them on an actual server.


Whats my next step.
Back to top  
dtmswebmaster



Joined: 09 Apr 2008
Posts: 23

Posted: Sat Nov 29, 2008 12:31 am    Post subject:  

That would depend on your network setup. If you are connected directly to your modem (be it cable, dsl, or dialup). In order to test PHP scripts, you'll need to visit your webserver through your browser. To do this, you'll need to open a browser and point it to your IP address (note: do not use the localhost loop as that would just spit out the php file instead of processing the file as intended).

If you are connected through a router, ensure that you have set port forwarding to have incoming requests on port 80 routed to your computer's assigned IP by the router.

Ensure that port 80 is not being blocked by your firewall or it will not connect.

To test this, you can create a file called info.php and in that file write this line:
Code: <?php phpinfo(); ?>

Then save it in your htdocs folder. After you've done this, point your browser to: http://yourip/info.php and you should see a page of information about your PHP install and various modules installed with it. If it tries to download the file instead.. then the PHP Parser is not installed/setup correctly.

Let me know if you need further help.
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Apache2Triad General
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group