View previous topic :: View next topic |
Author |
Message |
CNR -
Joined: 09 Dec 2006 Posts: 4
|
Posted: Sun Dec 10, 2006 3:01 am Post subject: Problem with running PHP scripts |
|
|
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 |
|
|
Ralph -
Joined: 17 Sep 2006 Posts: 87
|
Posted: Sun Dec 10, 2006 3:13 am Post subject: |
|
|
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 |
|
|
CNR -
Joined: 09 Dec 2006 Posts: 4
|
Posted: Sun Dec 10, 2006 3:22 am Post subject: |
|
|
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 |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Sun Dec 10, 2006 4:07 am Post subject: |
|
|
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 |
|
|
madman1337 -
Joined: 29 Jul 2006 Posts: 182 Location: Houston, TX
|
Posted: Sun Dec 10, 2006 5:47 am Post subject: |
|
|
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 |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
|
Back to top |
|
|
CNR -
Joined: 09 Dec 2006 Posts: 4
|
Posted: Sun Dec 10, 2006 9:24 pm Post subject: |
|
|
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 |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Sun Dec 10, 2006 9:28 pm Post subject: |
|
|
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 |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Sun Dec 10, 2006 9:46 pm Post subject: |
|
|
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 |
|
|
CNR -
Joined: 09 Dec 2006 Posts: 4
|
Posted: Mon Dec 11, 2006 10:51 pm Post subject: |
|
|
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 |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Tue Dec 12, 2006 4:15 am Post subject: |
|
|
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 |
|
|
hc2995 -
Joined: 07 Aug 2006 Posts: 644 Location: Maryland, USA
|
Posted: Tue Dec 12, 2006 6:12 am Post subject: |
|
|
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 |
|
|
maalder -
Joined: 09 Jan 2007 Posts: 1
|
Posted: Tue Jan 09, 2007 4:30 pm Post subject: Same problem |
|
|
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 |
|
|
|