Apache, PHP, MySQL environment?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
garbin
Forum Newbie
Posts: 1
Joined: Fri Jun 27, 2003 9:44 am

Apache, PHP, MySQL environment?

Post by garbin »

Hi folks!

I’ve just started to plan the development of a new intranet site for a very small organization. The most important of our needs would be to have a sort of repository, content management system where store different kind of documents, most of them MS Office documents. Besides of this, we would like to add further functionality in the future.

Basically we are planning to install Apache, PHP and MySQL on a Linux server to start to work. After this we would look for any customizable tool that lets us develop the site as easy and fast as possible.

Our main doubts are regarding versions and incompatibilities between the products we can find.

I am not sure if this is a good star. For instance, I’m wondering if it’s the best option to chose a Linux server to stored windows documents. Could you give me any suggestion, advice about things that I should bear in mind, etc?
8O :? :?:
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post by Stoker »

Storing any documents for read-only purposes web-environment is fine, but if there will be many new documents all the time and you want this machine to be more of a "file server" for it, you likely want to install Samba to server WIndows file shares..
User avatar
BDKR
DevNet Resident
Posts: 1207
Joined: Sat Jun 08, 2002 1:24 pm
Location: Florida
Contact:

Post by BDKR »

Well, a Linux box can store windows documents with no problem. The only thing that will seem strange is accessing those documents through a web interface. Correct me if I'm wrong, but most browsers don't know wha to do with a .doc, .dot, .xlt file do they?

However, if the browser is configured correctly, it should be no problem to have it open the correct program based on the extension encountered.

That out of the way, a php based CMS may do just fine for what you're after. There are some that are allready written and just dying to be downloaded and used. For free even. Egads!

Cheers,
BDKR
User avatar
nielsene
DevNet Resident
Posts: 1834
Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA

Post by nielsene »

Well most windows broswers know how to deal with .doc, etc So using a linux based machine for storage/server won't cause a problem there.
User avatar
cactus
Forum Regular
Posts: 343
Joined: Tue Jun 10, 2003 4:16 am
Location: UK

Post by cactus »

If your looking for a "ready made" solution, try WEPS, it give you a start or at least an understanding of what you can acomplish.
Web Package Surfer wrote:Web Package Surfer (weps) is a PHP-based package management system that lets you browse, search and administrate a set of files contained in packages that are classified by (possibly nested) categories. WePS is particularly useful for maintaining a repository of downloaded files.
Regards,
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

BDKR wrote:Correct me if I'm wrong, but most browsers don't know wha to do with a .doc, .dot, .xlt file do they?
You're right. Most browsers don't. But if you use IE (which most people do, and hopefully all of the client pc's will have on that intranet) and if the pc has any verison of Office installed it should display the contents of the files just as if the program was running (I've only seen it work with Office 97 and XP but i'm sure it does for all versions and i've only tested it with excel and word docs which worked great).
User avatar
Stoker
Forum Regular
Posts: 782
Joined: Thu Jan 23, 2003 9:45 pm
Location: SWNY
Contact:

Post by Stoker »

in an intranet environment its pretty easy to deploy mime rules and/or instructions for such, I dont see document fetch as any issue at all..
Post Reply