NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PHP53 (NetBSD 5.1 i386)



Mark Thomas пишет:
I'm curious if anyone else is having this problem. When I upgrade
everything to PHP53 I get the following error when starting
apache-2.2.19

httpd: Syntax error on line 128 of /etc/httpd/httpd.conf:
Cannot load /usr/pkg/lib/httpd/mod_php53.so into server:
Cannot open "/usr/pkg/lib/httpd/mod_php53.so"


NetBSD 5.1 (GENERIC) #0: Sun Nov  7 14:39:56 UTC 2010
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-RELEASE/
i386/201011061943Z-obj/home/builds/ab/netbsd-5-1-RELEASE/
src/sys/arch/i386/compile/GENERIC i386


thanks

Must be in httpd.conf:

LoadModule php5_module lib/httpd/mod_php5.so
AddHandler application/x-httpd-php .php

ap22-php53 package has wrong message with instruction how to
enable php in apache. php module named mod_php5.so not mod_php53.so.


Home | Main Index | Thread Index | Old Index