473,831 Members | 2,257 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

WAMP development machine folder structure ideas

I'm trying to come with a good organization plan for the Apache, Php,
MySQL development software on my home PC and am wondering what sort of
folder structure others may have come up with that seems handy, easy to
backup, and modularized.

My setup has not changed much over the years. As of now I have:

C:\apache2.2
C:\mysql
C:\Php

All of my web sites and local web apps are under apache2.2/htdocs - and
I have placed any special binaries I have needed for them in a folder -
c:/apache2.2/bin (e.g., ... curl, exiftool, gzip, jpegtran, ...).

(By web apps, I mean applications I've created using Php/MySQL and
HTML/browser for the GUI; like a music catalog, calendar, photo
album/gallery, general purpose address book, etc. These only reside on
my local machine .. but can also be uploaded and used within web sites.)

I've actually never bothered using Virtual Host in my apache config
until just now, ..... and since I am going to begin doing that, I want
to reorganize everything.

I'm thinking of keeping Apache, Php and MySQL in their root based
folders (as above), but I want to reorganize my web sites and local web
apps. (Is there any advantage to putting everything under one big
folder like C:/server, then placing apache, mysql, and php as subfolders
there .... along with all the web sites and web applications? I'd also
like to make backups easy .... and have them fit onto one DVD (my web
sites and web apps - plus mysql/data are the only things that really
need backing up ... Php, Mysql and apache can always be reinstalled.)

One thought I have is to create a folder, C:/localhost, and then have
subfolders for my web apps and web sites, where the web sites will look
like this:

C:/localhost/website1
# and then subfolders
includes
logs
public_html
temp

C:/localhost/website2
# and then subfolders
includes
logs
public_html
temp

.... and so on ....

.... putting the actual websites into the public_html subfolder,
emulating the layout on the remote host - and setting up Virtual Hosting
(e.g., loc.website1.tl d -C:/localhost/website1/pubic_html) using
Apache config and the windows hosts file.

The web apps would simply be in a subfolder such as:
C:/localhost/calendar
And I can put files used by more than one web application directly under
C:/localhost

..... So phpMyAdmin would also go there:
C:/localhost/phpmyadmin.n.n

I don't know if I should break this down more or not. I'm not sure what
to do with my "bin" files (above), but I think moving them under Program
Files might be more appropriate than the apache/bin folder I created
myself and have been using).

Before I commit to any one structure I was wondering if anyone has any
clever folder/sub-folder layouts ideas they'd like to share?

Thanks.

--
*************** **************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
Nothing he's got he really needs
Twenty first century schizoid man.
*************** *************** *****

Jul 1 '08 #1
0 2364

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2834
by: ahevans | last post by:
howdy all, I'm considering setting up php, mysql, apache and myphpadmin on my pc to run a site on. Now obviously I'm security concious which means I need to put the time in to do a bit of reading to make the server secure, but I know there are WAMP install packages out there that can make life easier. Can anyone recommend a good package I can download that will give a reasonable level of security on which I can build and configure. I'm
0
1218
by: Peter Row | last post by:
Hi, BACKGROUND: Win2K Server SP4, ASP.NET 1.1 Win2K Pro SP4, ASP.NET 1.1 I have a wrapper class around all the asp objects. Website physical directory structure (phoney names) Server: C:\MySite
5
1561
by: Schoo | last post by:
I have been working on an ASP.NET (with VB.NET code behind) on my development workstation. Things have been going well and I have been posting changes to the project to a development server (running W2000 Server) for the 'customers' to view as I accomplish goals. I have been using the feature in VS.NET that allows you to upload the project from inside VS.NET and although I have had success in the past with it sometimes, this project...
2
1738
by: the guy upstairs | last post by:
I know this is off topic, but since you guys know this stuff I hope someone can tell me what I'm missing. Have installed (deleted and reinstalled) WAMP 5150 on a Sony VAIO P3 machine with W2K platform using all the default prompts. The status icon indicates that all services are running. I enter a known valid php document in the default www folder. Nothing happens. Any suggestions?
10
1204
by: Joe Befumo | last post by:
I'm trying to deploy a asp.net app that I developed in Visual Studio 2003 on an XP Professional machine. It runs fine on the development machine, but when I try to run it locally on the server (i.e., http://myserver/myappdir.) I get an error like this: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\myappdir\71a79d23\a4a00da7\hash.web" is denied.
4
4677
by: Gaurav Agarwal | last post by:
Hi, Am using WAMP5 and python 2.4.3. I tried to install mod_python 3.2.5 for python2.4. When i tried starting wamp, Firstly there was no error message in the apache error log. I saw error message in windows event viewer : "The Apache service named Apache.exe reported the following error: before the error.log file could be opened.
2
1208
by: UJ | last post by:
So I have a project called Fred that's a web site. On my machine, the url is http://localhost/Fred/..... On the final resting place it's www.fred.com/... So how do I make the system so that it will work both in my development environment and the delivered web site? For instance - I want to do a system transfer somewhere - but I don't want to specify "../../LoveItOrLeaveIt.aspx" because the directory structure could change. And if...
2
5460
by: dheeraj857 | last post by:
Hi sorry to post this question over here but i didn't get right place to ask. so i am asking it here. I am using wamp for php developement and i want to use eclipse as a editor for php. I have tried to confiure it with wamp but in vain. I have also downloaded plugins needed for php by eclipse and copied that in plugins folder of eclipse folder, but i didn't get any success. so please guide me. thanks in advance.
1
1434
by: Theretheyare | last post by:
Dear all, Installed Wamp2 server, which runs smoothly, or so it seems (localhost shows correct WAMP page, started all services, etc). However, I can't get php to do anything. An html testpage I set up in the www/projectname/ folder with below code only shows "Regular html line". I have the idea this should be really simple but can't figure it out, or find a solution in various posts. Any ideas? I'd be much obliged! Thanks. <body>...
0
9793
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10526
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10206
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9315
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7747
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5617
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3076
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.