Jump to content


Photo

Copying an Apache installation to another machine?


  • Please log in to reply
3 replies to this topic

#1 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 23 August 2006 - 09:51 AM

I'm guessing this isn't possible, but I thought I'd ask anyway.

Bit of background info: I have developed an intranet application that will be distributed on CD with end users that are not up to scratch on installing software such as Apache. (Target OS's are x86 Windows)

So, what I am wanting to do is create an installation file (either exe or msi). I have got software to do this, namely InstallShield Express. I believe it is possible to trigger an external msi install file from within my installer but I'd prefer it if I didn't have to do this. Idealy I'd like to 'manualy' install Apache with my installer - Would it just be a case of copying the directory structure from a succesful install into my installer? Or is this likely not to work?

Once I get over the Apache install issue, installing PHP with my installer shouldn't be an issue as it's possible to just copy over the directory structure. Has anyone else need to do this, and did you do it another way? Any tips?

Thanks guys.

#2 ober

ober
  • Staff Alumni
  • Advanced Member
  • 5,337 posts
  • LocationEast Coast, USA

Posted 23 August 2006 - 12:17 PM

I haven't done this myself, but you could probably make it work.  The only issue is figuring out all the DLLs to register, etc, etc.

Info: PHP Manual


#3 steelmanronald06

steelmanronald06
  • Staff Alumni
  • Advanced Member
  • 2,004 posts
  • LocationOk

Posted 23 August 2006 - 12:33 PM

I thought that Apache now came with a setup wizard?

#4 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 24 August 2006 - 01:56 PM

I thought that Apache now came with a setup wizard?

It does (and always has, as far as I'm aware) but I don't want to leave the install up to the end user, and I want a specific configuration. I just downloaded a package called WAMP5 from some French site, which installs AMP all at once in one install so I think this is looking promising, the status on the install showed all of the files being copied and it just looked like the structure of a normal install of Apache, no dll files going anywhere.

I'll just give it a go when I get half an hour and see what happens, I'd just need to work out how to create a service in Windows if I can get this bit working...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users