Running PHP programs
I want to run Geneotree (http://www.geneotree.com/) so I downloaded it and extracted the files from the zip. I'm not familiar with PHP stuff so I put them in /home/chris/geneotree. There are lots of php files and a few folders but how do I run the thing? There's a config.php file which contains these lines :- ============= <?php /******* PLEASE DON'T MODIFY THE FOLLOWING LINE - NE PAS MODIFIER LA LIGNE CI-DESSOUS SVP ********/ $INSTALLATION_OK = FALSE; /*************************************************************************************************/ /****************************** BEGIN INITIALIZATION CONNECTION PARAMETERS ***********************/ $sql_host = 'localhost'; $sql_base = 'geneotree'; $sql_user = 'root'; $sql_pass = ''; /******************************* END INITIALIZATION CONNECTION PARAMETERS ************************/ ?> ============ Do I need to modify any of them to run it? I'm told that there is documentation on sourceforge but I can't see anything that would help me. I've tried putting htpp://localhost/geneotree in a browser but it fails which is not unexpected. So at this point, I'm stuck and any help would be appreciated.
On Sat, Mar 22, 2014 at 12:37:30PM +0000, Chris Walker wrote:
I want to run Geneotree (http://www.geneotree.com/) so I downloaded it and extracted the files from the zip.
I'm not familiar with PHP stuff so I put them in /home/chris/geneotree. There are lots of php files and a few folders but how do I run the thing?
When you say 'run' this, is it just a standalone program written in PHP (quite possible, though not all that common) or is it a PHP web application? If it's a web application then you need to be running a web server (probably Apache) and put the PHP in the place that the web server expects to find PHP programs. -- Chris Green
On Sat, 22 Mar 2014 13:24:31 +0000 Chris Green <cl@isbd.net> wrote:
On Sat, Mar 22, 2014 at 12:37:30PM +0000, Chris Walker wrote:
I want to run Geneotree (http://www.geneotree.com/) so I downloaded it and extracted the files from the zip.
I'm not familiar with PHP stuff so I put them in /home/chris/geneotree. There are lots of php files and a few folders but how do I run the thing?
When you say 'run' this, is it just a standalone program written in PHP (quite possible, though not all that common) or is it a PHP web application? If it's a web application then you need to be running a web server (probably Apache) and put the PHP in the place that the web server expects to find PHP programs.
According to the readme file, it says :- ========= All manuals and user guide on GeneoTree Homepage http://geneotree.sourceforge.net/ ========= except there isn't. Well, I couldn't find it! That means that it's already annoying me and as I have little patience for such things, means I'm likely to delete it! But if I try once more, by going to localhost/geneotree, I get an error 404 followed by this :- Apache/2.4.7 (Mageia) OpenSSL/1.0.1e PHP/5.5.8 So I'm assuming that Apache is installed and working ok. All this, just so I can read a gedcom file for a family member. I think I'll just search google for something that does work!
On 22/03/14 15:10, Chris Walker wrote:
According to the readme file, it says :- ========= All manuals and user guide on GeneoTree Homepage
http://geneotree.sourceforge.net/ =========
except there isn't. Well, I couldn't find it! That means that it's already annoying me and as I have little patience for such things, means I'm likely to delete it!
But if I try once more, by going to localhost/geneotree, I get an error 404 followed by this :- Apache/2.4.7 (Mageia) OpenSSL/1.0.1e PHP/5.5.8
So I'm assuming that Apache is installed and working ok.
So it's a web app - you'd probably have to put it as a subdirectory of /var/www or similar, and you may have to configure apache to run it too. It won't work in /home/chris/geneotree unless you configure it to. I have sucessfully installed Geneweb - an apache app that works... but.....
All this, just so I can read a gedcom file for a family member. I think I'll just search google for something that does work!
I've installed and used Gramps. It'll probably do what you want. It's not a web app, it's a normal app. Hope that helps! Steve
On Sat, 22 Mar 2014 20:03:45 +0000 steve-ALUG@hst.me.uk wrote:
I've installed and used Gramps. It'll probably do what you want. It's not a web app, it's a normal app.
Hope that helps!
I've also just installed Gramps. That's a supported app and it imports my gedcom file so that's a result. Thanks to both you and Chris Green.
participants (3)
-
Chris Green -
Chris Walker -
steve-ALUG@hst.me.uk