| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		clearpresence2 -
 
  Joined: 17 May 2005 Posts: 3
 
  | 
		
			
				 Posted: Tue May 17, 2005 3:48 pm    Post subject: Script not working! | 
				      | 
			 
			
				
  | 
			 
			
				Hi all
 
newbie here
 
 
Here's my script:
 
 
<html>
 
<head><title>Hi there</title></HEAD>
 
<body>
 
<?PHP
 
phpinfo();
 
?>
 
</body>
 
</html>
 
 
I save it to c:\Program Files\Abyss Web Server\htdocs
 
 
I open my browser (IE), navigate to the above path and double-click the file ... 
 
and nothing happens - no error message and no PHP info - what gives? | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		MonkeyNation -
 
  Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
  | 
		
			
				 Posted: Tue May 17, 2005 3:58 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				You navigated to 'c:\...etc'?
 
If you do that it wont be processed by abyss, itll just be windows opening the file.
 
Replace 'c:\Program Files\Abyss Web Server\htdocs' with 'http://127.0.0.1' and then try :)
 
That way its being access from port 80 and abyss has control over it.
 
 
This is all assuming you have php set up of course. _________________
   | 
			 
		  | 
	
	
		| Back to top | 
		
			              | 
		
	
	
		  | 
	
	
		clearpresence2 -
 
  Joined: 17 May 2005 Posts: 3
 
  | 
		
			
				 Posted: Tue May 17, 2005 4:14 pm    Post subject: [b]Script is working![/b] | 
				      | 
			 
			
				
  | 
			 
			
				OK great - the script is working!
 
 
If I navigate to:
 
 
http://localhost/
 
 
I expected to see all my files listed - but that does not happen.
 
 
However if I run :
 
http://localhost/filename.php
 
 
we have lift-off!
 
 
... interesting | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		MonkeyNation -
 
  Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
  | 
		
			
				 Posted: Tue May 17, 2005 11:24 pm    Post subject: Re: [b]Script is working![/b] | 
				      | 
			 
			
				
  | 
			 
			
				 	  | clearpresence2 wrote: | 	 		  OK great - the script is working!
 
 
If I navigate to:
 
 
http://localhost/
 
 
I expected to see all my files listed - but that does not happen.
 
 
However if I run :
 
http://localhost/filename.php
 
 
we have lift-off!
 
 
... interesting | 	  
 
 
If you mean directory listing, then you probably have it disabled in the control pannel.
 
If you mean windows folder view, you will never get this =) _________________
   | 
			 
		  | 
	
	
		| Back to top | 
		
			              | 
		
	
	
		  | 
	
	
		 |