[fpc-pascal] Apache module with fpc 2.4.x on Apache 2.2.x (64bit)
Marco van de Voort
marcov at stack.nl
Fri May 27 10:56:09 CEST 2011
In our previous episode, ABorka said:
> > Is there another possible cause?
> > Takashi
> If you compile with the proper HTTPD directory (httpd22 in this case),
> it should work.
> No error message in the apache error.log? Apache always says something
> when the startup is not successful.
> Your small example library code is working here (Ubuntu 10.10, FPC 2.5.1
> SVN), httpd13 and httpd20 directories are deleted.
> Compiled with: fpc -Xs -XX -fPIC -omod_simple.so mod_simple.pas
> Apache starts, runs, pages are served properly with the mod_simple.so
> loaded .
(Since it was a minimal change I merged that fix to 2.4.5 in case sb wants to stay with stable.
But the 2.4 branch roughly reflects the state of March 1st, so other "web"
related patches are not (yet) in it)
More information about the fpc-pascal