Elementary config question
| From: | Peter Humphrey | Date: | Wed, 16 Mar 2011 16:59:03 +0000 |
| Subject: | Elementary config question | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-31022@lists.php.net to get a copy of this message | ||
Perhaps I may ask another elementary question.
I run a website for a local choir and I want to extend it with an interface
to the MySQL membership database. It needs to be secure, so I don't want to
trust my fading coding skills (various assemblers in the 70s and 80s) when
all the problems have been solved already; that's why I'm interested in
PEAR. [1]
My existing setup is Gentoo Linux. The website files are stored on my
workstation and I have a small web server on my LAN, running Apache 2. I
develop on my workstation, then ftp to my server for testing, then ftp to
the hosting company (Zen).
My question is: what components do I need on which machine? PEAR is
installed on the server at Zen already. Do I need to mirror the Zen
structure on my server? What do I need on my workstation? Should all files
reside under the document root? Does it even make sense to continue working
this way?
I've tried to find suitable documents on the web, but failed. It's even hard
for a newcomer to deduce the assumptions behind what is out there. A pointer
to anything explanatory would be welcome.
Thanks in advance.
[1] This sort of problem must be solved a dozen times daily, so I'm
surprised that no ready-made web database interface layer exists already.
--
Rgds
Peter