I'm using Apache to upload a rest server made in Delphi, when I generate the module in Delphi in the 32-bit version, I put it in the Apache modules folder and the execution simply gives an error and does not start Apache, since version 64 bits works normally. Tested on win 7 32 and 64.
Edit: I created a webbroker datasnap server and chose the option of Apache dynamic link module, I did the functions that I need to fetch from the database, so far so good. I installed apache on the 32 bit machine, working properly, when I put the dll generated by the delphi in the modules folder and put the LoadModule in the file httpd.conf and start apache it simply from the error and does not start.