php-install Digest 11 Apr 2001 03:22:36 -0000 Issue 256

Topics (messages 2731 through 2746):

Re: w/ CURL can't find -lpam, wout/ CURL everything is fine (How can  that be)
        2731 by: Jani Taskinen

Compile question...
        2732 by: Chris McClenahan

Please help me!
        2733 by: .Wolf
        2734 by: B. van Ouwerkerk

Problem running php under Apache/Solaris
        2735 by: Uwe Lammers

What version of Apache and GLIBC ?
        2736 by: STF
        2737 by: Rasmus Lerdorf

Newbie problem
        2738 by: sousa.hugo.adlittle.com
        2741 by: B. van Ouwerkerk

PHP 4.03 + sessions = enable-trans-sid rewrite img src too
        2739 by: Matthieu Brunet
        2740 by: Jani Taskinen

Browser prompts me to download the index.php3 file
        2742 by: Derek Colley
        2745 by: B. van Ouwerkerk

incompatible version of Apache?
        2743 by: Enrique de las Heras
        2744 by: Myke Carter

PHP4 + Netscape3.6 on AIX 4.1.5 Cannot start
        2746 by: Madeline Wu

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------



Try looking at the config.log for a clue..
Propably some library missing.

--Jani


On Tue, 10 Apr 2001, Krznaric Michael wrote:

>This is a repost?  Does anyone have any ideas, it must be an issue with the
>build process?
>
>Mike
>
>-----Original Message-----
>From: Krznaric Michael [mailto:[EMAIL PROTECTED]]
>Sent: Monday, April 02, 2001 10:49 AM
>To: '[EMAIL PROTECTED]'
>Subject: [PHP-INST] w/ CURL can't find -lpam, wout/ CURL everything is
>fine (How can that be)
>
>
>
>I'm trying to compile
>PHP 4.0.4pl1,
>w/apache 1.3.17 as a DSO
>on a Solaris 8 sparc box
>
>       I did this 100's of times and everything works good.  For some
>reason the following configure fails:
>
> './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pam_auth'
>'--enable-track-vars=yes' '--enable-trans-sid=yes' '--without-mysql'
>'--with-curl=/opt/TWWfsw/curl75/lib'
>
>It fails with the following error message (Something like this):
>
>...
>checking for Ovrimos SQL Server support... no
>checking whether to include pam authentication support... yes
>checking for pam_start in -lpam... no
>configure: error: pam libraries not found
>
>---------------------
>
>Now if I issue the same config without CURL everything works fine
> './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-pam_auth'
>'--enable-track-vars=yes' '--enable-trans-sid=yes' '--without-mysql'
>
>How can that be?  Curl affects another module?  I think i'm not considering
>something.
>
>Mike
>
>





Hello there, I'm attempting to get PHP running with a Netscape Fasttrack
web server.  I believe that using a CGI module is the only way that it
will work.  How do I go about compiling the PHP source as a CGI
application?  This is being done on an SGI running IRIX 6.5.  Any input
or suggestions in addition to compile instructions would be great...

Thanks,

--Chris
-- 

:-----------------------------------------------------:
| Christopher McClenahan | MettersMedia Network, Inc. |
| Systems Administrator  | Phone: 703.770.6822        |
| [EMAIL PROTECTED]       | Fax: 703.821.3996          |
:-----------------------------------------------------:




Hello php-install,
 I tried to install php4.0.4pl1 on FreeBSD and seen en error:

localhost# ./configure --prefix=/usr/local/php
localhost# make
Making all in Zend
byacc -p zend -v -d ./zend_language_parser.y -o zend_language_parser.c
usage: yacc [-dlrtv] [-b file_prefix] [-o output_filename]
            [-p symbol_prefix] filename
*** Error code 1
 
Stop in /111/php-4.0.4pl1/Zend.
*** Error code 1
 
Stop in /111/php-4.0.4pl1. 


What can I do?
Thanks a lot!

With best regards,
             .Wolf







>What can I do?
>Thanks a lot!

Check the installation directions at www.devshed.com

Bye,


B.





Hi,

I am having trouble getting php-4.0.4pl1 working with apache-1.3.19
under Solaris 2.6 as a DSO. The compilation/installation of
apache/php all seems to have gone fine - no compilation or linking
problems and in /usr/local/apache/libexec I see:

-rw-r--r--   1 root     other        7449 Apr 10 14:42 httpd.exp
-rwxr-xr-x   1 root     other     3000202 Apr 10 16:16 libphp4.so

and /usr/local/apache/conf/http.conf has:

...
LoadModule php4_module        libexec/libphp4.so
...

However when I try to start the httpd I get:

[bin] /usr/local/apache/bin/apachectl start
Syntax error on line 206 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
/usr/local/apache/bin/httpd: fatal: relocation error: file
/usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms: referenced
symbol
not found
/usr/local/apache/bin/apachectl start: httpd could not be started

ap_block_alarms seem to be a symbol defined in the httpd executable.

Who knows what is going on here? Any help greatly appreciated.

Uwe.




Hi,

I have to install php4.0.4pl1 on a Mandrake 7.2 computer.

I can't use precompiled binaries because I need special option (ldap,
postgre and apache).

Can the latest version of php be compiled on a glibc 2.1 system or do I have
to upgrade to glibc 2.2 ?


Another easy question : does php4.0.4pl1 work on any of the 1.3.x versions
of Apache ?


Thanks for all.


Stéphane






glibc-2.1.x should work just fine.

On Tue, 10 Apr 2001, STF wrote:

> Hi,
>
> I have to install php4.0.4pl1 on a Mandrake 7.2 computer.
>
> I can't use precompiled binaries because I need special option (ldap,
> postgre and apache).
>
> Can the latest version of php be compiled on a glibc 2.1 system or do I have
> to upgrade to glibc 2.2 ?
>
>
> Another easy question : does php4.0.4pl1 work on any of the 1.3.x versions
> of Apache ?
>
>
> Thanks for all.
>
>
> Stéphane
>
>
>
> --
> PHP Install 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]
>





I'm trying to install Apache with MySql and PHP...

I've got mysql-3.23.36-pc-linux-gnu-i686 and when I try to install this I
get the error "Sorry, the host 'xpto' could not be looked up.

What should I put in the host name?

The problem is that I'm a Linux newbie too :-)

Any help will be great!!!

Thanks,

HS
Lisbon-Portugal
**** This message is from Arthur D. Little, Inc., and/or one of
Arthur D. Little's subsidiaries or affiliates and may contain
confidential business information. It is intended for the addressee
only and may not be copied without our permission. If you are not
the intended recipient please contact the sender as soon as possible.****






>I've got mysql-3.23.36-pc-linux-gnu-i686 and when I try to install this I
>get the error "Sorry, the host 'xpto' could not be looked up.
>
>What should I put in the host name?

You've got yourself a binary.. If you want to install from source you 
should pickup the file mysql-3.23.36.tar.gz I think you should..

You will need to compile it yourself.... don't be afraid.. it doesn't bite 
you :-)

you can find more on installing PHP, MySQL and Apache on www.devshed.com 
you may need to click a bit around..

Bye,


B.






Hello
I've compiled my php with the option --enable-trans-sid.
Now, php add the SID to all the links and it's very usefull.
But he rewrite the <img src=""> tag too.

I thought i can fix it in the php.ini, but the url_rewriter.tags is like
this :
url_rewriter.tags ="a=href,area=href,frame=src,input=src,form=fakeentry"

So, do you have any idea how to make php stop rewriting img tags ?

Thanks. :+)





On Tue, 10 Apr 2001, Matthieu Brunet wrote:

>Hello
>I've compiled my php with the option --enable-trans-sid.
>Now, php add the SID to all the links and it's very usefull.
>But he rewrite the <img src=""> tag too.
>
>I thought i can fix it in the php.ini, but the url_rewriter.tags is like
>this :
>url_rewriter.tags ="a=href,area=href,frame=src,input=src,form=fakeentry"
>
>So, do you have any idea how to make php stop rewriting img tags ?

Yeah, update to PHP 4.0.4pl1 in which that url_rewriter.tags directive
was added. 4.0.3 doesn't have it.

--Jani






Hi,

I have a Cobalt Qube3 (includes php-4.0.1-C7q3) with the following apache
settings:

httpd.conf:
LoadModule php4_module    modules/libphp4.so
AddModule  mod_php4.c

srm.conf:
AddType application/x-httpd-php4 .php .php3

I added the .php3 to the AddType line in an attempt to get Horde
(http://www.horde.org) and IMP (http://www.horde.org/imp) to work. When I
browse to the URL I get prompted to download the index.php3 file.

I know the Qube3 comes with its own WebMail solution, but I'm trying to get
IMP working on this box as a facility for another mail server. I also don't
want to mess with the Qube's config too much (i.e. I don't want to have to
rebuild apache and php as the box is still under warranty).

Other things I have tried:
Renaming the .php3 files to .php - the scripts insist that setup.php(3) is
readable. Not so! I think this is a php<3 problem and the message is a red
herring, but I'm not sure.

Can anyone help?

Many thanks
Derek






Did you stop and start apache?? If not, try it.

Bye,


B.

At 22:32 11-4-01 +0100, Derek Colley wrote:
>Hi,
>
>I have a Cobalt Qube3 (includes php-4.0.1-C7q3) with the following apache
>settings:
>
>httpd.conf:
>LoadModule php4_module    modules/libphp4.so
>AddModule  mod_php4.c
>
>srm.conf:
>AddType application/x-httpd-php4 .php .php3
>
>I added the .php3 to the AddType line in an attempt to get Horde
>(http://www.horde.org) and IMP (http://www.horde.org/imp) to work. When I
>browse to the URL I get prompted to download the index.php3 file.
>
>I know the Qube3 comes with its own WebMail solution, but I'm trying to get
>IMP working on this box as a facility for another mail server. I also don't
>want to mess with the Qube's config too much (i.e. I don't want to have to
>rebuild apache and php as the box is still under warranty).
>
>Other things I have tried:
>Renaming the .php3 files to .php - the scripts insist that setup.php(3) is
>readable. Not so! I think this is a php<3 problem and the message is a red
>herring, but I'm not sure.
>
>Can anyone help?
>
>Many thanks
>Derek
>
>
>
>--
>PHP Install 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]





I was working with php3 and Apache 1.3.12. Everything seemed to be going OK,
but last weekend I decided to try php 4.0.4pl1. After following all the
installing process, when I tried to restart my Apache server, the apachectl
command failed with a message similar to this one (I don´t have the exact
words now, but I'm sure it was almost this):

httpd: "mod_php4.c" is not compatible with this version of Apache.
Contact your vendor.
The server could not be started.

I've tried recompiling Apache and I've repeated the full process at least
twice, but the result it's always the same. I've even updated my Apache
Server to 1.3.19 (just to assure that wasn't the problem).

Anyone can help me?

Thanks a lot.









Enrique de las Heras wrote:
> 
> I've tried recompiling Apache and I've repeated the full process at least
> twice, but the result it's always the same. I've even updated my Apache
> Server to 1.3.19 (just to assure that wasn't the problem).
> 
> Anyone can help me?
> 
> Thanks a lot.

http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/

Myke




I get the Error:
conf_init: Error running init function load-modules: dlopen of
/netscape/suitesp
ot/bin/libphp4.so failed (dlopen(): access failure: permissions denied
(errno =
EACCES))

How to make it start correctly??






Reply via email to