| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		biggt -
 
  Joined: 08 Mar 2004 Posts: 1
 
  | 
		
			
				 Posted: Tue Mar 09, 2004 12:22 am    Post subject: new to php | 
				      | 
			 
			
				
  | 
			 
			
				:?:  new to php  this is what i get if i look at my page
 
You can't access this file directly... _________________ Win. XP Home 
 
1.10 ghz 
 
384 Ram 
 
linksy Router | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		aprelium -
 
  Joined: 22 Mar 2002 Posts: 6800
 
  | 
		
			
				 Posted: Tue Mar 09, 2004 3:32 pm    Post subject: Re: new to php | 
				      | 
			 
			
				
  | 
			 
			
				biggt,
 
 
If you're new to PHP, we recommend testing your PHP setup as follows:
 
* Install PHP support (read http://www.aprelium.com/abyssws/php.html ).
 
* Open Windows notepad (or any text editor)
 
* Enter the following code:
 
 	  | Code: | 	 		  
 
<?php
 
    phpinfo();
 
?>
 
 | 	  
 
* Save the file as test.php in the htdocs/ directory (located inside the installation directory of Abyss).
 
* Browse http://127.0.0.1/test.php (or http://127.0.0.1:port/test.php if the you've configured Abyss to not use the default web port 80).
 
 
If everything is fine, you should see the PHP information page. _________________ Support Team
 
Aprelium - http://www.aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		ers -
 
  Joined: 01 Mar 2004 Posts: 2
 
  | 
		
			
				 Posted: Wed Mar 10, 2004 3:10 am    Post subject: ers | 
				      | 
			 
			
				
  | 
			 
			
				Open PHP.ini with a text editor and enable cgi.force
 
 
 
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
 
; most web servers.  Left undefined, PHP turns this on by default.  You can
 
; turn it off here AT YOUR OWN RISK
 
; **You CAN safely turn this off for IIS, in fact, you MUST.**
 
 cgi.force_redirect = 0 | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		aprelium -
 
  Joined: 22 Mar 2002 Posts: 6800
 
  | 
		
			
				 Posted: Fri Mar 12, 2004 3:21 pm    Post subject: Re: ers | 
				      | 
			 
			
				
  | 
			 
			
				ers,
 
 
The step you describe is not needed since http://www.aprelium.com/abyssws/php.html states that the user should add REDIRECT_STATUS=200 in the CGI environment variable (this has the same effect on PHP). _________________ Support Team
 
Aprelium - http://www.aprelium.com | 
			 
		  | 
	
	
		| Back to top | 
		
			           | 
		
	
	
		  | 
	
	
		domedaydevice -
 
  Joined: 18 Mar 2004 Posts: 6
 
  | 
		
			
				 Posted: Sun Apr 11, 2004 10:13 pm    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				| when i made the php test file i couldn't open it only download it and i did saved it as test.php :( | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		nquin321 -
 
  Joined: 29 Jan 2004 Posts: 296 Location: Right Behind You
  | 
		 | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		domedaydevice -
 
  Joined: 18 Mar 2004 Posts: 6
 
  | 
		
			
				 Posted: Mon Apr 12, 2004 2:45 am    Post subject:  | 
				      | 
			 
			
				
  | 
			 
			
				| ya (i made a mistake and add it twice :P thax alot :) | 
			 
		  | 
	
	
		| Back to top | 
		
			          | 
		
	
	
		  | 
	
	
		 |