Problem with running PHP scripts

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


Joined: 09 Dec 2006
Posts: 4

PostPosted: Sun Dec 10, 2006 3:01 am    Post subject: Problem with running PHP scripts Reply with quote

Hi ,

I have installed PHP 4.4.4 and i have problem running PHP scripts with AByss. Is just gives me a blank page skipping the PHP part of the script.
Please if some one has solution for this please help.

Thanks,
CNR
Back to top View user's profile Send private message
Ralph
-


Joined: 17 Sep 2006
Posts: 87

PostPosted: Sun Dec 10, 2006 3:13 am    Post subject: Reply with quote

Hi CNR,

A little more info would help...

Need to know if you followed a tutorial to set up PHP?

Did you set up the index files and scripting parameters in Abyss server console?

Did you make the PHP test page with this <?php phpinfo(); ?> on it and save it as a .php file in your server directory?

And if so, is that the page that shows up as a blank page?
_________________
My Abyss Websites!
www.qualitynetdesign.com
Back to top View user's profile Send private message Visit poster's website
CNR
-


Joined: 09 Dec 2006
Posts: 4

PostPosted: Sun Dec 10, 2006 3:22 am    Post subject: Reply with quote

Hi Ralph,

When i try to open a php file i am getting a message for unknown file type and if i try to open it anyways it does not open.

I have followed the tutorial and set everything right.

Thanks

CNR
Back to top View user's profile Send private message
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Sun Dec 10, 2006 4:07 am    Post subject: Reply with quote

What is the path to the .php file so we can see whats going on?
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
madman1337
-


Joined: 29 Jul 2006
Posts: 182
Location: Houston, TX

PostPosted: Sun Dec 10, 2006 5:47 am    Post subject: Reply with quote

what is happening is that the interpreter is not set right and so abyss cannot figure out what to do, so it sends the raw file, which the browser does not know what to do with. make sure php is setup right and then make sure abyss is setup right.
_________________
Back to top View user's profile Send private message Visit poster's website AIM Address
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Dec 10, 2006 12:20 pm    Post subject: Reply with quote

Follow www.abyssunderground.co.uk/tutorials-php.php
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
CNR
-


Joined: 09 Dec 2006
Posts: 4

PostPosted: Sun Dec 10, 2006 9:24 pm    Post subject: Reply with quote

Hi All,

I actually have followed all the correct steps to configure as given in the php-tutorials. Also when i use php interpreter in command line, the scripts run correctly. Does anyone have php configuration file for php 4.4.4 with the correct configuration. Also i kept my scripts in htdoc.
Please let me know.

Thanks,
CNR
Back to top View user's profile Send private message
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Sun Dec 10, 2006 9:28 pm    Post subject: Reply with quote

Aprelium has made a preconfigured package wit hPHP5 here is the link:

(This will have everything you need) http://www.aprelium.com/abyssws/php5win.html
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Sun Dec 10, 2006 9:46 pm    Post subject: Reply with quote

CNR wrote:
Hi All,

I actually have followed all the correct steps to configure as given in the php-tutorials. Also when i use php interpreter in command line, the scripts run correctly. Does anyone have php configuration file for php 4.4.4 with the correct configuration. Also i kept my scripts in htdoc.
Please let me know.

Thanks,
CNR


If its not working in abyss but it is in command line then you are missing something when running it on abyss. If you're using php5 dont forget that its php-cgi.exe not php.exe that you use as the interpreter. Make sure you have got that right.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
CNR
-


Joined: 09 Dec 2006
Posts: 4

PostPosted: Mon Dec 11, 2006 10:51 pm    Post subject: Reply with quote

Hi,

I tried installing the new preconfigured PHP5 at this link http://www.aprelium.com/abyssws/php5win.html and configured the server according to PHP tutorial ,but still when i try to open a php file type in the browser then i get unknown file type message..I put the file in doc folder..
Someone please help me with this issue.

Thanks,
CNR
Back to top View user's profile Send private message
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Tue Dec 12, 2006 4:15 am    Post subject: Reply with quote

CNR wrote:
Hi,

I tried installing the new preconfigured PHP5 at this link http://www.aprelium.com/abyssws/php5win.html and configured the server according to PHP tutorial ,but still when i try to open a php file type in the browser then i get unknown file type message..I put the file in doc folder..
Someone please help me with this issue.

Thanks,
CNR


CNR,

I replied to your PM, I think the suggestions i sent will help you a lot, if you need more help PM me again :D
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
hc2995
-


Joined: 07 Aug 2006
Posts: 644
Location: Maryland, USA

PostPosted: Tue Dec 12, 2006 6:12 am    Post subject: Reply with quote

Ok its resolved, i just got this PM from CNR:

EDIT: Open again :/
_________________
Where have i been? School got heck-tick, had to move half way around the state, then back... and then i had to change jobs, so iv been away for a while :P
Back to top View user's profile Send private message AIM Address
maalder
-


Joined: 09 Jan 2007
Posts: 1

PostPosted: Tue Jan 09, 2007 4:30 pm    Post subject: Same problem Reply with quote

I've got the same problem. I followed the instructions, but there 's no script runnin' ?

Can you please post the solution?
Thank you!
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