We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
php not working; ???????????
Topic Started: Dec 20 2005, 10:25 PM (179 Views)
Chris444
Member
[ *  * ]
when i open this php file saved as info3.php with this link : http://127.0.0.1/info3.php it trys to open it as a picture when it is saved as a php file. wut is the problem. here is the code i used if it helps:
Code:
 
<?php
phpinfo();
?>
Offline Profile Quote Post Goto Top
 
Myriad
Member Avatar
Member
[ *  *  *  *  *  * ]
I take it you're using your own computer as a server since 127.0.0.1 refers to the local computer. If so you need to install PHP on your computer.
Offline Profile Quote Post Goto Top
 
llikitlum
Member
[ *  *  * ]
either that or unblock apache. Your statement was kind of confusing. That line in PHP attempts to bring up a few images to show you your server specs and php configs ect.
Offline Profile Quote Post Goto Top
 
Oblivion.
Member Avatar
*waves*
[ *  *  *  *  *  *  *  * ]
llikitlum
Dec 21 2005, 09:45 AM
either that or unblock apache. Your statement was kind of confusing. That line in PHP attempts to bring up a few images to show you your server specs and php configs ect.

Hardly Images.... (Here's an example)

Anyway, make sure you've installed PHP on you computer, this would probably be easiest if you use one of the many packages available that combine Apache, PHP and mySQL.
Offline Profile Quote Post Goto Top
 
Chris444
Member
[ *  * ]
thanx, were can i get one of those packages
Offline Profile Quote Post Goto Top
 
Oblivion.
Member Avatar
*waves*
[ *  *  *  *  *  *  *  * ]
http://www.wampserver.com/en/index.php
There's one...
Offline Profile Quote Post Goto Top
 
Chris444
Member
[ *  * ]
thanx, if u find ne more please tell me
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Technology Chat · Next Topic »
Add Reply