[PHP] problem with apache php module on solaris

2002-01-14 Thread Gino Paoletti

Hi, I met some problems starting apache with php module on solaris 8.

Apache is so configured:

--prefix=/usr/local/apache-np --enable-shared=max

The httpd -l response is:

Compiled-in modules:
  http_core.c
  mod_so.c

Php indeed:

./configure --prefix=/usr/local/apache-np --with-apxs=/usr/local/apache-np/b
in/apxs --with-ldap=/usr/local/ns-solaris-ldap-sdk-5/ --with-mysql=/usr/loca
l/mysql --enable-ctype --enable-sockets --enable-ftp --with-java=/usr/local/
j2sdk1_3_1_02 --with-sybase=/usr/local/freetds

The error is:

Syntax error on line 223 of /usr/local/apache-np/conf/httpd.conf:
Cannot load /usr/local/apache-np/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache-np/bin/httpd: fatal: relocation error: file
/usr/local/apache-np/libexec/libphp4.so: symbol uncompress: referenced
symbol not found

Any hint??

Nobody steals our chickens and lives to tell. (Duke Nukem)

Saluti   Ginox.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Problem with Apache/SSL/Perl/PHP + LDAP

2002-04-25 Thread Andrew McCall

Hi All,

I have searched all over the web for an answer to this, but I can't seem to find one :(

I have a custom Apache installation with mod_ssl, mod_perl mod_php and 
Chili!Soft's mod_casp.

When I originally compiled this, I didn't need LDAP support from php, so it wasn't 
compiled into it. Now I need LDAP support, I have tried re-compiling 
and am having problems.

When I compile with --with-ldap everytime I start Apache, it fails and reports 
this error in error_log :

Syntax error on line 1158 of /usr/local/apache/conf/httpd.conf:
Invalid command 'SSLEngine', perhaps mis-spelled or defined by a module not included 
in the server configuration

If I compile without --with-ldap then Apache works with no problems.

Does anyone have an idea what I am doing wrong? Is this a common problem? Does 
anyone know what I can do to fix it? I have tried using PHP 4.2.0, but this produces 
the same problem...

I have included my compile options below :

OpenSSL (v 0.9.6b)
# cd /usr/src/openssl-0.9.6b/
# sh config no-idea no-threads -fPIC
# make
# make test

mod_ssl (v2.8.5-1.3.22)
# cd ../mod_ssl-2.8.5-1.3.22/
# ./configure --with-apache=/usr/src/apache_1.3.22

mod_perl (v1.26)
# cd ../mod_perl-1.26/
# perl Makefile.PL \
> EVERYTHING=1 \
> APACHE_SRC=../apache_1.3.22/src \
> USE_APACI=1 \
> PREP_HTTPD=1 \
> DO_HTTPD=1

Apache (v1.3.22)
# cd ../apache_1.3.22/
# SSL_BASE=/usr/src/openssl-0.9.6b \
./configure \
--prefix=/usr/local/apache/ \
--enable-module=env \
--enable-module=setenvif \
--enable-module=mime \
--enable-module=mime_magic \
--enable-module=negotiation \
--enable-module=alias \
--enable-module=userdir \
--enable-module=dir \
--enable-module=autoindex \
--enable-module=access \
--enable-module=auth \
--enable-module=asis \
--enable-module=include \
--enable-module=cgi \
--enable-module=actions \
--enable-module=status \
--enable-module=info \
--enable-module=log_config \
--enable-module=imap \
--activate-module=src/modules/perl/libperl.a \
--add-module=mod_frontpage.c \
--enable-module=ssl \
--enable-shared=max \
--disable-shared=perl
# make
# make certificate
# make install

PHP
# cd php
# ./configure \
> --with-apxs=/usr/local/apache/bin/apxs \
> --with-mysql=/usr/local/mysql
> --with-ldap
# make
# make install
# cp php.ini-dist /usr/local/lib/php.ini


-- 
Thanks

Andrew McCall
Internet System Administrator
I.C.T. Division
Oldham MBC
Civic Centre
West Street
Oldham
OL1 1UU

Tel : 0161 911 3990
Fax : 0161 911 3998
Email : [EMAIL PROTECTED]


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.oldham.gov.uk
**


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Problem with apache after installing PHP 4

2001-04-19 Thread Mohamedou

Dear all,

I have apache 1.3.19-3fp and have newly installed PHP 4 using from
rpms.arvin.dk
My problems are:
1-Apache freezes and nothing goes untill I restart it
2-Webmin stops itself.
Furthermore if I give the follow command it sems that no apache but I am
sure apache is running
look:

[root@proxy mohamedou]# rpm qa|grep httpd
[root@proxy mohamedou]# rpm qa|grep apache
[root@proxy mohamedou]# rpm qa|grep http
[--httpproxy ] [--httpport ]
[--httpproxy ] [--httpport ]
[--httpproxy ] [--httpport ]
[root@proxy mohamedou]# rpm qa|grep apache

I thank U

Moh


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] problem with apache php module on solaris

2002-01-14 Thread Dennis Moore

I think you need to add the apache module extensions to your apache
configuration.

try adding  --enable-apxs or --with-apxs (I can remember the exact syntax)
to the apache configure.

- Original Message -
From: "Gino Paoletti" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 14, 2002 9:36 AM
Subject: [PHP] problem with apache php module on solaris


> Hi, I met some problems starting apache with php module on solaris 8.
>
> Apache is so configured:
>
> --prefix=/usr/local/apache-np --enable-shared=max
>
> The httpd -l response is:
>
> Compiled-in modules:
>   http_core.c
>   mod_so.c
>
> Php indeed:
>
>
./configure --prefix=/usr/local/apache-np --with-apxs=/usr/local/apache-np/b
>
in/apxs --with-ldap=/usr/local/ns-solaris-ldap-sdk-5/ --with-mysql=/usr/loca
>
l/mysql --enable-ctype --enable-sockets --enable-ftp --with-java=/usr/local/
> j2sdk1_3_1_02 --with-sybase=/usr/local/freetds
>
> The error is:
>
> Syntax error on line 223 of /usr/local/apache-np/conf/httpd.conf:
> Cannot load /usr/local/apache-np/libexec/libphp4.so into server: ld.so.1:
> /usr/local/apache-np/bin/httpd: fatal: relocation error: file
> /usr/local/apache-np/libexec/libphp4.so: symbol uncompress: referenced
> symbol not found
>
> Any hint??
>
> Nobody steals our chickens and lives to tell. (Duke Nukem)
>
> Saluti   Ginox.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]