View previous topic :: View next topic |
Author |
Message |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Mon Oct 17, 2005 1:46 pm Post subject: Abyss with PHP |
|
|
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 |
|
 |
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Oct 17, 2005 1:57 pm Post subject: |
|
|
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 |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Mon Oct 17, 2005 2:45 pm Post subject: |
|
|
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 |
|
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Tue Oct 18, 2005 6:47 am Post subject: |
|
|
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 |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Tue Oct 18, 2005 2:34 pm Post subject: |
|
|
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 |
|
 |
SinclairZX81 -
Joined: 25 Jan 2005 Posts: 11
|
Posted: Thu Nov 03, 2005 1:28 am Post subject: |
|
|
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 |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Nov 03, 2005 1:37 am Post subject: |
|
|
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 |
|
 |
|