Hello, Please could someone let me know if it is possible to install php with apache 2, either as DSO or statically compiled? I have searched google but not come up with anything conclusive.
Statically just does not get anywhere, so I've tried using apxs2. Here's the configure line for php 4.1.2: ./configure --with-mysql=/usr --with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars And here's the one I used for apache 2.0.35: ./configure --enable-mods-shared=all --with-mpm=prefork php does appear to build and install OK, but once the AddModule and LoadModule lines are added to httpd.conf, the server segfaults on startup. strace shows the following: . . . open("/usr/local/apache2/conf/mime.types", O_RDONLY) = 8 fstat64(8, {st_mode=S_IFREG|0644, st_size=12322, ...}) = 0 read(8, "# This is a comment. I love comm"..., 4096) = 4096 read(8, "tool-message\napplication/vnd.gro"..., 4096) = 4096 read(8, "on/vnd.wt.stf\napplication/vnd.xa"..., 4096) = 4096 read(8, "ovie\nx-conference/x-cooltalk\t\tic"..., 4096) = 34 read(8, "", 4096) = 0 close(8) = 0 semget(IPC_PRIVATE, 1, IPC_CREAT|0x180|0600) = 589831 semctl(589831, 0, 0x110 /* SEM_??? */, 0xbffff6b8) = 0 getcwd("/", 4095) = 2 --- SIGSEGV (Segmentation fault) --- Is it even possible to use php with apache 2, or should I just forget about it for a while? -- <biot> mmmmmm * biot likes his reconfiguration hard
msg05390/pgp00000.pgp
Description: PGP signature