Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach
Thanks Nick for the info. So should I remove that piece of code?? Should it be replaced?? Reason I added it was because of a PHP install document I had in my files and part of the installation of PHP was to add those lines into the httpd.conf file. Thanks Kenny At 08:37 PM 5/1/2006 +0100, y

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Nick Kew
On Monday 01 May 2006 19:21, Ken Murach wrote: > > AddType application/x-httpd-php .php .phtml > AddType application/x-httpd-php-source .phps > Oh dear. That cargo-cult is deeply BAD for two reasons. That abuse of AddType was wrong in Apache 1.1, and everything since. -- Nick Kew ---

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach
Hi Rainier & Nick Thanks for your help with this. I figured out the problem. It was the code in the httpd.conf file for the php5 that was wrong. Originally line read: LoadModule php5_modulemodules/libphp5.so I changed this line to: LoadModule php5_modulelibexec/libphp5.so a

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Rainer Sokoll
On Mon, May 01, 2006 at 02:00:08PM -0400, Ken Murach wrote: >BASEDIR: /usr/local Remember your ldd's output: libxml2.so.2 => /lib/libxml2.so.2 You see? Rainer - The official User-To-User support forum of the Apa

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Nick Kew
On Monday 01 May 2006 17:34, Ken Murach wrote: > itis-padlproxy1 # ./httpd -t > httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: > Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: > ./httpd: fatal: relocation error: file > /usr/local/apache2/modules/libp

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach
Hi Rainier, Thanks for your help/info. Yeah, I just remembered that I grabbed the latest libxml2 from Sunfreeware and installed it prior to installing apache/php (see below): itis-padlproxy1 # pkginfo -l SMClxml2 PKGINST: SMClxml2 NAME: libxml2 CATEGORY: application ARCH:

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Rainer Sokoll
On Mon, May 01, 2006 at 01:32:42PM -0400, Ken Murach wrote: > Hi Rainier, > > I would imagine it should be ok? I didn't have any problems with same php > 5.0.5 for the apache 1.3.34 installation. The ./httpd -t command works fine > for that version. > > Do you think I should I should grab lates

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach
Hi Rainier, I would imagine it should be ok? I didn't have any problems with same php 5.0.5 for the apache 1.3.34 installation. The ./httpd -t command works fine for that version. Do you think I should I should grab latest libxml2 and install that?? Thanks Kenny At 07:19 PM 5/1/2006 +0200,

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Rainer Sokoll
On Mon, May 01, 2006 at 01:02:15PM -0400, Ken Murach wrote: > libxml2.so.2 => /lib/libxml2.so.2 Is this lib recent enough for php5? Rainer - The official User-To-User support forum of the Apache HTTP Server Project. Se

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach
Hi Rainer, Here is the output from the ldd command: itis-padlproxy1 # ldd /usr/local/apache2/modules/libphp5.so libmysqlclient.so.14 => /usr/local/mysql-4.1.14/lib/mysql/libmysqlclient.so.14 libresolv.so.2 =>/lib/libresolv.so.2 libm.so.1 => /lib/libm.so.1

Re: [EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Rainer Sokoll
On Mon, May 01, 2006 at 12:34:29PM -0400, Ken Murach wrote: > itis-padlproxy1 # ./httpd -t > httpd: Syntax error on line 53 of /usr/local/apache2/conf/httpd.conf: > Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: > ./httpd: fatal: relocation error: file > /usr/local/apac

[EMAIL PROTECTED] apache 2.2 and php 5 problem

2006-05-01 Thread Ken Murach
Hi everyone, Does anyone know if there are issues between apache 2.2.0 and php 5.0.5 for Solaris unix?? I've recently installed apache 2.2.0 which was working fine. I then added the php 5.0.5 piece and now when I run the httpd -t command to verify syntax is still OK, I get the following the