Jump to content
The Uniform Server Community
rama

64 bit Machine Installation Package for Uniform Server

Recommended Posts

Dear everyone :)

 

I have been searching in this forum and on internet just to find out if the Uniform Server installation package available for 64 bits machine like WAMP Server Packages http://www.wampserver.com/en/ that clearly indicates which one is for 32 bits and which for for 64 bits machine.

 

If it is suitable for Production Server, it should be available in 64 bit version but I can not find it.

 

I heard XAMPP will release 64 bits version by the end of this year.

 

Please forgive me for my ignorance about this topic.

Thanks for your answers.

 

Regards

Share this post


Link to post
Share on other sites

Hi everyone, :)

 

I tested the installation package of US version 8.3.1 on Windows Web Server 2008 R2 on x64 machine.

I found that the httpd and mysqld services are both 32 bit programs, so I think the server will not be able to use more than 4 GB of RAM.

Please correct me if I am wrong.

 

I am continuing with WAMP Server as they support 64 bit architecture so I can use more than 4 GB RAM in my server.

 

Any sharing of insight is appreciated.

 

Thanks :)

Share this post


Link to post
Share on other sites

Hi everyone, :)

 

I tested the installation package of US version 8.3.1 on Windows Web Server 2008 R2 on x64 machine.

I found that the httpd and mysqld services are both 32 bit programs, so I think the server will not be able to use more than 4 GB of RAM.

Please correct me if I am wrong.

 

I am continuing with WAMP Server as they support 64 bit architecture so I can use more than 4 GB RAM in my server.

 

Any sharing of insight is appreciated.

 

Thanks :)

 

 

That is correct, on a 32bit OS individual processes have a RAM ceiling of 4GB (technically speaking. On windows it works out to be more like 3GB). This isn't a big deal for the Apache process, because if it's using that much RAM you're doing something wrong. On the other hand, it is a very big deal for MySQL, especially if you're wanting to use the InnoDB storage engine which needs to allocate a chunk of memory on initialization. As well, major performance gains can be made in MySQL by putting as much of your database into memory as possible to reduce hits on the hard drive - so, a 3GB-4GB ceiling on RAM usage by the MySQL process puts considerable limitations on how large the database can grow while still meeting performance needs.

 

Unfortunately, getting a fully 64bit Apache/PHP/MySQL server running nicely on windows is a pain in the ass. If you check the official PHP/Apache sites, you'll notice there aren't official 64 bit binaries (not the case with MySQL, though). What the WAMP Server folks are doing is building their own 64 bit versions of Apache and PHP. Even with full control over the binaries and the build process it's STILL non-trivial to get the server running without a hitch. It can also be difficult to find/build 64 bit versions of needed Apache modules and PHP extensions. Altogether, providing 64bit WAMP package is alot of work, and seeing as the 32bit version of Uniform server is more than adequate for doing development work, I can understand why Uniform Server hasn't gone 64bit yet.

 

So, if you want a 64bit Apace/PHP/MySQL Windows server, your choices are to build your own binaries, use a package like WAMP Server, or incorporate unofficial 64bit versions from some other source into the Uniform Server package. The best source for 64bit builds at this point in time is probably http://www.apachelounge.com/download/win64/. Recently, a forum user on that site built a 64bit version of PHP 5.4.4, which I've found to be remarkably stable when used as an Apache module. I've put together a Uniform Server package where I've replaced the 32bit versions of Apache/PHP/MySQL with 64 bit ones. Note that the MySQL version used in this package is the development release (5.6.5m8). I've left the 32 bit version of PHP in but renamed its directory to 'php32'. If the mod_fcgid module is loaded by apache, the 32bit binary in that directory is used (CGI). If mod_fcgid is not loaded, the 64bit version of PHP is loaded as an apache module. Check the Apache httpd.conf for some other minor changes (directories need 'ExecCGI' when mod_fcgid is used, for example). One thing I know for certain that still needs work is tweaking the MySQL config (my.ini). Here's a link to the package: http://dl.dropbox.com/u/24239603/server64.exe

 

All the usual caveats related to using unofficial binaries apply. Also, if you need help with stability problems you should head over to the http://www.apachelounge.com/ forums, since that's where those 64bit versions came from.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...