On Fri, 2004-08-20 at 19:22, Steffen Heil wrote: > Hi > > First, thanks for your answer. > But my apache starts to log: > > [Fri Aug 20 14:55:41 2004] [notice] Apache/2.0.49 (Debian GNU/Linux) > mod_jk2/2.0.4 PHP/4.3.8 PHP/5.0.1 configured -- resuming normal operations > [Fri Aug 20 14:55:43 2004] [notice] child pid 21674 exit signal Segmentation > fault (11) > [Fri Aug 20 14:55:44 2004] [notice] child pid 21676 exit signal Segmentation > fault (11) > > (segmentations faults appear for every php page request.) > > What I don't understand: both php modules work, when they are used alone. > I have built both myself. Is there any option I need to set (other than > ini-dir and with-versioning)? > > Further, I do not understand how apache2 selects, which php module to > invoke. > Appearantly > AddType application/x-httpd-php .php .phtml > tells apache that php should be handled as "application/x-httpd-php". > But this refers to both, php4 and php5, doesn't it? > > Regards, > Steffen >
Yes, but it is where you put it. Searching the archives gives this solution for two httpd instances: http://marc.theaimsgroup.com/?l=php-install&m=109165694131420&w=2 but it should be possible to separate them out with <Directory> or (VirtualHost> sections. Unfortunately I do not have time to try it for you. If you succeed, please post your solution to the list. Regards Chris