Php install

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Ryukuchan
-


Joined: 11 Mar 2003
Posts: 6

PostPosted: Tue Oct 07, 2003 10:59 am    Post subject: Php install Reply with quote

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 View user's profile Send private message Send e-mail AIM Address
Ryukuchan
-


Joined: 11 Mar 2003
Posts: 6

PostPosted: Tue Oct 07, 2003 11:35 am    Post subject: Reply with quote

Oh, and if not that. Could someone tell me how to setup gdlibrary with the normal install version of php.
Back to top View user's profile Send private message Send e-mail AIM Address
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Oct 08, 2003 11:21 pm    Post subject: Re: Php install Reply with quote

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 View user's profile Send private message Send e-mail
crazymazey
-


Joined: 22 Sep 2003
Posts: 35

PostPosted: Sun Oct 12, 2003 1:46 pm    Post subject: GD ext error Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website
g0r0
-


Joined: 10 Oct 2003
Posts: 8

PostPosted: Sun Oct 12, 2003 2:13 pm    Post subject: Reply with quote

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 View user's profile Send private message
crazymazey
-


Joined: 22 Sep 2003
Posts: 35

PostPosted: Sun Oct 12, 2003 2:45 pm    Post subject: got the extentions working Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website
g0r0
-


Joined: 10 Oct 2003
Posts: 8

PostPosted: Sun Oct 12, 2003 3:03 pm    Post subject: Reply with quote

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 View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sun Oct 12, 2003 5:09 pm    Post subject: Reply with quote

g0r0,

What is the browser you're using??
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
g0r0
-


Joined: 10 Oct 2003
Posts: 8

PostPosted: Sun Oct 12, 2003 5:11 pm    Post subject: Reply with quote

IE 6.0.2600
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Oct 17, 2003 3:07 pm    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail
g0r0
-


Joined: 10 Oct 2003
Posts: 8

PostPosted: Fri Oct 17, 2003 3:23 pm    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 phpBB Group