new to php

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


Joined: 08 Mar 2004
Posts: 1

PostPosted: Tue Mar 09, 2004 12:22 am    Post subject: new to php Reply with quote

:?: 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 View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Mar 09, 2004 3:32 pm    Post subject: Re: new to php Reply with quote

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


Joined: 01 Mar 2004
Posts: 2

PostPosted: Wed Mar 10, 2004 3:10 am    Post subject: ers Reply with quote

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


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Mar 12, 2004 3:21 pm    Post subject: Re: ers Reply with quote

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


Joined: 18 Mar 2004
Posts: 6

PostPosted: Sun Apr 11, 2004 10:13 pm    Post subject: Reply with quote

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


Joined: 29 Jan 2004
Posts: 296
Location: Right Behind You

PostPosted: Sun Apr 11, 2004 11:00 pm    Post subject: Reply with quote

then you have not set up php right go here

Install PHP support (read http://www.aprelium.com/abyssws/php.html
_________________
How many forum members does it takes to change a light bulb?
Back to top View user's profile Send private message
domedaydevice
-


Joined: 18 Mar 2004
Posts: 6

PostPosted: Mon Apr 12, 2004 2:45 am    Post subject: Reply with quote

ya (i made a mistake and add it twice :P thax alot :)
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