| View previous topic :: View next topic |
jon80
Joined: 30 May 2008 Posts: 4
|
Posted: Fri May 30, 2008 1:37 pm Post subject: newbie question |
|
|
|
I’ve just installed php, and:
http://192.168.2.101:8080/ returns the content within C:\Program Files
\Apache Software Foundation\Apache2.2\htdocs\index.html i.e. the
default, the php file does not display anything on Mozilla
http://192.168.2.101:8080/test.php - does not display the contents of
test.php.
test.php
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<p>This is an HTML line
<?php
echo <p>This is a PHP line</p>;
phpinfo();
?>
</body>
</html>
Any idea why pls?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "PHP User Group - Malta" group.
To post to this group, send email to pugmt@googlegroups.com
To unsubscribe from this group, send email to pugmt-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/pugmt?hl=en
-~----------~----~----~----~------~----~------~--~---
Post generated using Mail2Forum @ PUGmt (http://solutions-lab.net/pugmt) |
|
| Back to top |
|
|
yancho Site Admin
Joined: 13 Nov 2007 Posts: 58 Location: Iklin
|
Posted: Fri May 30, 2008 5:09 pm Post subject: |
|
|
|
Seems like PHP was not set up properly. I suggest making use of a Windows WAMP setup, where you install one software, and gets u up ready in no time. What does a .php file with just phpinfo(); return? _________________
 |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
Powered by phpBB © 2001, 2002 phpBB Group |
|
|