| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Ryukuchan -
 
 
 Joined: 11 Mar 2003
 Posts: 6
 
 
 | 
			
				|  Posted: Tue Oct 07, 2003 10:59 am    Post subject: Php install |   |  
				| 
 |  
				| Is there a clear guide on how to install the Zip version of php anywhere? (windows xp)
 The one it comes with is kind of confusing...hops around to apache too much.
 |  | 
	
		| Back to top |         | 
	
		|  | 
	
		| Ryukuchan -
 
 
 Joined: 11 Mar 2003
 Posts: 6
 
 
 | 
			
				|  Posted: Tue Oct 07, 2003 11:35 am    Post subject: |   |  
				| 
 |  
				| Oh, and if not that. Could someone tell me how to setup gdlibrary with the normal install version of php. |  | 
	
		| Back to top |         | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Wed Oct 08, 2003 11:21 pm    Post subject: Re: Php install |   |  
				| 
 |  
				|  	  | Ryukuchan wrote: |  	  | Is there a clear guide on how to install the Zip version of php anywhere? (windows xp)
 The one it comes with is kind of confusing...hops around to apache too much.
 | 
 You should unzip the PHP package in c:\php for example. Next, copy the php.ini.dist file to the Windows directory and rename it to be php.ini . Open this file and check the PHP configuration if you want. The default settings are OK for most uses.
 
 Now, configure the PHP support in Abyss as described in http://www.aprelium.com/abyssws/php.html .
 
 If you want to use a PHP extension, open php.ini and locate the line that refers to it, and uncomment it. For example, to enable the GD library, locate the line:
 
 
  	  | Code: |  	  | ;extension=php_gd2.dll | 
 
 and uncomment it (remove ;):
 
 
  	  | Code: |  	  | extension=php_gd2.dll | 
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| crazymazey -
 
 
 Joined: 22 Sep 2003
 Posts: 35
 
 
 | 
			
				|  Posted: Sun Oct 12, 2003 1:46 pm    Post subject: GD ext error |   |  
				| 
 |  
				| i did as suggested above 
 but everytime i load my webpages i get
 
 Warning
 Unknown(): Unable to load dynamic library './php_gd2.dll' - The
 specific module could not be found.
 
 OK
 
 obviously the above message is a pop up box
 
 what wrong how omes this is happening ?
 _________________
 
  |  | 
	
		| Back to top |         | 
	
		|  | 
	
		| g0r0 -
 
 
 Joined: 10 Oct 2003
 Posts: 8
 
 
 | 
			
				|  Posted: Sun Oct 12, 2003 2:13 pm    Post subject: |   |  
				| 
 |  
				| your should change this line on th e php.ini file: 
  	  | Code: |  	  | ; cgi.force_redirect configuration below doc_root =
 | 
 
 and change it to this
 
 
  	  | Code: |  	  | ; cgi.force_redirect configuration below doc_root = "C:\Program Files\Abyss Web Server\htdocs"
 | 
 or put your root directory
 
 then find this:
 
  	  | Code: |  	  | ; Directory in which the loadable extensions (modules) reside. extension_dir = "./"
 | 
 and change it to this :
 
  	  | Code: |  	  | ; Directory in which the loadable extensions (modules) reside. extension_dir = "C:\PHP"
 | 
 
 or your php folder path
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| crazymazey -
 
 
 Joined: 22 Sep 2003
 Posts: 35
 
 
 | 
			
				|  Posted: Sun Oct 12, 2003 2:45 pm    Post subject: got the extentions working |   |  
				| 
 |  
				| i had to put in 
 extension_dir = "c:/php/extensions"
 
 and i had to leave the doc_root =
 
 blank
 
 cos the forum wouldnt work if i put
 
 doc_root = "C:\Program Files\Abyss Web Server\htdocs"
 
 is there something i'm missing ?
 _________________
 
  |  | 
	
		| Back to top |         | 
	
		|  | 
	
		| g0r0 -
 
 
 Joined: 10 Oct 2003
 Posts: 8
 
 
 | 
			
				|  Posted: Sun Oct 12, 2003 3:03 pm    Post subject: |   |  
				| 
 |  
				| whenever i try to get into the admin area or submit any button, i get this error on the browser locatin bar, any idea ? 
 
  	  | Code: |  	  | http://localhost/farm/admin/<br%20/><b>Notice</b>:%20%20Undefined%20variable:%20%20PHP_SELF%20in%20<b>C:/Program%20Files/Abyss%20Web%20Server/htdocs/farm/admin/usercheck.php</b>%20on%20line%20<b>49</b><br%20/> | 
 
 why does the error apears on the location bar of the browser ? and why do i get such error ?? !!
 
 thanks
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Sun Oct 12, 2003 5:09 pm    Post subject: |   |  
				| 
 |  
				| g0r0, 
 What is the browser you're using??
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| g0r0 -
 
 
 Joined: 10 Oct 2003
 Posts: 8
 
 
 | 
			
				|  Posted: Sun Oct 12, 2003 5:11 pm    Post subject: |   |  
				| 
 |  
				| IE 6.0.2600 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		| aprelium -
 
 
 Joined: 22 Mar 2002
 Posts: 6800
 
 
 | 
			
				|  Posted: Fri Oct 17, 2003 3:07 pm    Post subject: |   |  
				| 
 |  
				|  	  | aprelium wrote: |  	  | g0r0, 
 What is the browser you're using??
 | 
 Use $_SERVER['PHP_SELF'] instead of $PHP_SELF .
 _________________
 Support Team
 Aprelium - http://www.aprelium.com
 |  | 
	
		| Back to top |       | 
	
		|  | 
	
		| g0r0 -
 
 
 Joined: 10 Oct 2003
 Posts: 8
 
 
 | 
			
				|  Posted: Fri Oct 17, 2003 3:23 pm    Post subject: |   |  
				| 
 |  
				| oh.. ! 
 i dont have a clue about PHP, do you mean i replace this on php.ini, or on my script ??
 
 thanks
 |  | 
	
		| Back to top |     | 
	
		|  | 
	
		|  |