Abyss with PHP

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


Joined: 12 Jun 2005
Posts: 24
Location: www.certuspersonality.com

PostPosted: Mon Oct 17, 2005 1:46 pm    Post subject: Abyss with PHP Reply with quote

Has anyone out there had success running PHP with Abyss?
I like to have this combination installed offline to test my php files before uploading them the online server.
I run Windows XP Home, the server runs Red Had Linux with PHP 4.4.0.

Trying (offline) Abyss X1 2.0.6 with PHP 5.0.3 (Aprelium's preconfigured php 5) did not allow me to set the interpreter in Abyss. A friend had the same experience on his computer.
At the moment I have PHP 4.4.0 installed (offline) which puts its php.ini in C:\Windows.
Here the problem is that the execution of the php file does not pass the error messages I have at the beginning of the script.

Anyone with similar experiences?

Herward
Back to top View user's profile Send private message Send e-mail
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Mon Oct 17, 2005 1:57 pm    Post subject: Reply with quote

PHP is very specific with its scripts. If it has just one error the whole script will fail. It is designed to do this and yes, most of us will have had similar experiences with our scripts.

If you made the script then check your code but if someone else did (say phpBB for example) then it is most likely to be their error or you have the wrong version of PHP installed.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk
Back to top View user's profile Send private message Visit poster's website
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Mon Oct 17, 2005 2:45 pm    Post subject: Reply with quote

Can you post the script you are trying to run?

Or, if this is easier, try to run this script... copy and paste it into a blank .php file:

Code:

<?php
echo "Hello World!";
?>
Back to top View user's profile Send private message Send e-mail
certus
-


Joined: 12 Jun 2005
Posts: 24
Location: www.certuspersonality.com

PostPosted: Tue Oct 18, 2005 6:47 am    Post subject: Reply with quote

To p3:
No problem posting the script to you. It's too long for the forum space, so just give me your email address.
Mine is info@certuspersonality.com

Running the suggested helloworld script works.
Herward
Back to top View user's profile Send private message Send e-mail
p3
-


Joined: 17 Jun 2005
Posts: 615

PostPosted: Tue Oct 18, 2005 2:34 pm    Post subject: Reply with quote

certus wrote:
To p3:
No problem posting the script to you. It's too long for the forum space, so just give me your email address.
Mine is info@certuspersonality.com

Running the suggested helloworld script works.
Herward


Send it to p3<at>p3net<dot>net
(replace with the correct symbols)

I'll take a look at it and see if I see anything. If not, I'll let someone I know take a look at it!
Back to top View user's profile Send private message Send e-mail
SinclairZX81
-


Joined: 25 Jan 2005
Posts: 11

PostPosted: Thu Nov 03, 2005 1:28 am    Post subject: Reply with quote

p3 wrote:
Can you post the script you are trying to run?

Or, if this is easier, try to run this script... copy and paste it into a blank .php file:

Code:

<?php
echo "Hello World!";
?>


Hi, I have a really dumb question, concerning your above example. I have installed PHP on abyss and this code works. If you create a home page, index.html, and wish to have a poll in it, like sympoll, do you need to change the file name from index.html to index.php ??? I put the above code in a text file and saved it as test.php, that works great. But if I rename it to test.html, or index.html it will not invoke the interpreter.......thanks in advance.....
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Thu Nov 03, 2005 1:37 am    Post subject: Reply with quote

Whatever file extension you add to the PHP interpreter table in the Abyss
console , will work with PHP but don't add one thats already being used.
Back to top View user's profile Send private message Visit poster's website
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