php-install Digest 10 Nov 2002 05:26:34 -0000 Issue 1112

Topics (messages 9078 through 9089):

load module php_4crashed Apache2
        9078 by: Josh
        9089 by: Seung Hwan Kang

Re: php & mod_jrun
        9079 by: Daniel Chicayban

gd-2.x
        9080 by: Richard Pijnenburg
        9081 by: Rasmus Lerdorf
        9082 by: Richard Pijnenburg
        9083 by: Stephen Edmonds
        9084 by: Pierre-Alain Joye
        9085 by: Rasmus Lerdorf

Strange problem on compilation and install of PHP4.2.3
        9086 by: Michelle Murrain
        9087 by: Marco Tabini
        9088 by: John Coder

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]


----------------------------------------------------------------------
--- Begin Message ---
Hi..

when i add the following line 

LoadModule php_4 "c:\php\sapi\php4apahce2.dll"

apache does not start, the window opens and closes immediately.

What could be the problem-

- Josh 



---------------------------------
Do you Yahoo!?
U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD
--- End Message ---
--- Begin Message ---
It depends on version of your Apache and PHP.  Old version of PHP does not
work on new Aapche.

I installed on W2K Pro.

apache 2.0.43 with PHP 4.2.3 - ok
apache 2.0.43 with PHP 4.3.pre2 - ok


"Josh" <[EMAIL PROTECTED]> wrote in message
news:20021109203744.78402.qmail@;web13310.mail.yahoo.com...
>
> Hi..
>
> when i add the following line
>
> LoadModule php_4 "c:\php\sapi\php4apahce2.dll"
>
> apache does not start, the window opens and closes immediately.
>
> What could be the problem-
>
> - Josh
>
>
>
> ---------------------------------
> Do you Yahoo!?
> U2 on LAUNCH - Exclusive medley & videos from Greatest Hits CD


--- End Message ---
--- Begin Message --- I posted the message below a few days ago... I am still researching on it. I can't figure out a reason yet... I was wondering if anybody here have a clue... nobody replied anything... if you do have a clue, let me know what could possibly be and I'll go forward on the case... I am real lost on this. Thanks.

Daniel

At 07:07 PM 11/7/2002 -0500, you wrote:
Two redhat servers: A (rocknroll.chicayban.com.br) and B (crazycat.uglydog.com)

-- A runs coldfusion mx and php.
# JRun Settings
LoadModule jrun_module /var/cfmx/runtime/lib/wsconfig/1/mod_jrun.so
LoadModule php4_module libexec/libphp4.so
<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap true
JRunConfig Serverstore /var/cfmx/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51010
#JRunConfig Errorurl <optionally redirect to this URL on errors>
AddHandler jrun-handler .cfm .cfc .jsp .cfml .jws
</IfModule>

-- A has these two lines in <IfModule mod_mime.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps

Everything works fine on A. Here's the modules A has

[root@rocknroll conf]# ../bin/httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_status.c
mod_info.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_speling.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_proxy.c
mod_usertrack.c
mod_unique_id.c
mod_so.c
mod_setenvif.c
suexec: disabled; invalid wrapper /var/apache/bin/suexec


-- B loads coldfusion mx and php.
# JRun Settings
LoadModule jrun_module /home/cf/runtime/lib/wsconfig/1/mod_jrun.so
LoadModule php4_module libexec/libphp4.so

<IfModule mod_jrun.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap true
JRunConfig Serverstore /home/cf/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51010
#JRunConfig Errorurl <optionally redirect to this URL on errors>
AddHandler jrun-handler .cfm .cfc .jsp .cfml .jws
</IfModule>

B has these two lines in <IfModule mod_mime.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps

B has these modules running:
[root@crazycat conf]# ../bin/httpd -l
Compiled-in modules:
http_core.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_access.c
mod_auth.c
mod_so.c
mod_setenvif.c
suexec: disabled; invalid wrapper /var/apache/bin/suexec

PHP doesn't work on B.

Here's what I do to make PHP work:
-- I comment the jrun_module on B
#LoadModule jrun_module /home/cf/runtime/lib/wsconfig/1/mod_jrun.so

And I restart apache:
[root@crazycat conf]# ../bin/apachectl restart
../bin/apachectl restart: httpd restarted

And try: http://crazycat.uglydog.com/~daniel/phpinfo.php
And it works!

Of course, coldfusion doesn't work anymore. If I uncomment the jrun_module, coldfusion works fine, PHP stop to work and I notice other behaviors (see below)

With coldfusion (jrun_module) loaded...:
Try: http://crazycat.uglydog.com/~daniel/

You see the whole directory... If I unload (comment, restart) jrun_module, I get:
Forbidden: you don't have permission to access /~daniel/ on this server

Which is the should happen...

B needs coldfusion up and running all the time, so I'll leave it with the jrun_module running. The urls above, then, will show you the behavior of apache when JRUN is running...

Does anybody knows how to solve this?
Thanks. Daniel

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

--- End Message ---
--- Begin Message ---
When will GD-2.x be supported with php?
 
Richard Pijnenburg
Klik-on Internet Solutions
 
--- End Message ---
--- Begin Message ---
Has been for years

On Sat, 9 Nov 2002, Richard Pijnenburg wrote:

> When will GD-2.x be supported with php?
>
> Richard Pijnenburg
> Klik-on Internet Solutions
>
>

--- End Message ---
--- Begin Message ---
Well, i'm getting nothing but errors with php 4.2.3 and gd-2.0.4

With the php config, it detects the 2.x functions, but not that they are
really there ( getting all 'no' )

Any idea ?

Richard Pijnenburg
Klik-on Internet Solutions


-----Original Message-----
From: Rasmus Lerdorf [mailto:rasmus@;php.net] 
Sent: Saturday, November 09, 2002 10:58 PM
To: Richard Pijnenburg
Cc: Php-Install
Subject: Re: [PHP-INST] gd-2.x

Has been for years

On Sat, 9 Nov 2002, Richard Pijnenburg wrote:

> When will GD-2.x be supported with php?
>
> Richard Pijnenburg
> Klik-on Internet Solutions
>
>


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

--- End Message ---
--- Begin Message ---
I tried to use GD-2 on php with Windows, however it kept giving me errors
over my fonts. As far as I know I was using the correct command, so I gave
up and went back to version 1!

----- Original Message -----
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Richard Pijnenburg" <[EMAIL PROTECTED]>
Cc: "Php-Install" <[EMAIL PROTECTED]>
Sent: Saturday, November 09, 2002 9:57 PM
Subject: Re: [PHP-INST] gd-2.x


> Has been for years
>
> On Sat, 9 Nov 2002, Richard Pijnenburg wrote:
>
> > When will GD-2.x be supported with php?
> >
> > Richard Pijnenburg
> > Klik-on Internet Solutions
> >
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---
--- Begin Message ---
On Sat, 9 Nov 2002 23:02:49 +0100
"Richard Pijnenburg" <[EMAIL PROTECTED]> wrote:

> Well, i'm getting nothing but errors with php 4.2.3 and gd-2.0.4
> 
> With the php config, it detects the 2.x functions, but not that they
> are really there ( getting all 'no' )
> 
> Any idea ?

How can you expect a gd released after php 4.2.3 will get full support
inside php ?

To use gd 2.0.4 use the current cvs version, and even better, the
current cvs with the bundled gd.

hth

pa
--- End Message ---
--- Begin Message ---
That's because you are using a version of GD that was released after the
version of PHP you are using.  PHP 4.2.3 works perfectly fine with
GD-2.0.1.

-R

On Sat, 9 Nov 2002, Richard Pijnenburg wrote:

> Well, i'm getting nothing but errors with php 4.2.3 and gd-2.0.4
>
> With the php config, it detects the 2.x functions, but not that they are
> really there ( getting all 'no' )
>
> Any idea ?
>
> Richard Pijnenburg
> Klik-on Internet Solutions
>
>
> -----Original Message-----
> From: Rasmus Lerdorf [mailto:rasmus@;php.net]
> Sent: Saturday, November 09, 2002 10:58 PM
> To: Richard Pijnenburg
> Cc: Php-Install
> Subject: Re: [PHP-INST] gd-2.x
>
> Has been for years
>
> On Sat, 9 Nov 2002, Richard Pijnenburg wrote:
>
> > When will GD-2.x be supported with php?
> >
> > Richard Pijnenburg
> > Klik-on Internet Solutions
> >
> >
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message --- Hi,

I have what seems to me to be a very odd problem. I'm running Debian testing, with apache 1.3, and because I needed 4.2s better xslt/sablotron support, I compiled from source. I had originally had the regular php4 package installed, but I removed that package.

php4.2.3 compiled mostly fine - I had to end up installing the sablotron libraries from source. I'm using it as a DSO.

The problem is that php seems to work (the scripts do much of what they are supposed to - and the xslt stuff seems to be working) except that no variables are getting passed, using either get or post! Clearly I did something wrong, but this is a problem I've never encountered before. What might the problem be?

Another issue is that when I have a line in my httpd.conf that Loads the php module, apache complains and tells me it's already loaded. I'm not sure what that means.

Thanks!!
--
.Michelle

--------------------------
Michelle Murrain, Technology Consulting
[EMAIL PROTECTED] http://www.murrain.net
413-253-2874 ph
413-222-6350 cell
413-825-0288 fax
AIM:pearlbear0 Y!:pearlbear9 ICQ:129250575

"A vocation is where the world's hunger & your great gladness meet." Frederick Buechner

--- End Message ---
--- Begin Message ---
Take a look at register_globals in the PHP settings section of the PHP
manual--it is now set to off by default (used to be On)


Marco

-- 
------------
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at http://www.phparch.com

On Sat, 2002-11-09 at 17:39, Michelle Murrain wrote:
> Hi,
> 
> I have what seems to me to be a very odd problem. I'm running Debian 
> testing, with apache 1.3, and because I needed 4.2s better 
> xslt/sablotron support, I compiled from source. I had originally had 
> the regular php4 package installed, but I removed that package.
> 
> php4.2.3 compiled mostly fine - I had to end up installing the 
> sablotron libraries from source.  I'm using it as a DSO.
> 
> The problem is that php seems to work (the scripts do much of what 
> they are supposed to - and the xslt stuff seems to be working) except 
> that no variables are getting passed, using either get or post! 
> Clearly I did something wrong, but this is a problem I've never 
> encountered before. What might the problem be?
> 
> Another issue is that when I have a line in my httpd.conf that Loads 
> the php module, apache complains and tells me it's already loaded. 
> I'm not sure what that means.
> 
> Thanks!!
> -- 
> .Michelle
> 
> --------------------------
> Michelle Murrain, Technology Consulting
> [EMAIL PROTECTED]     http://www.murrain.net
> 413-253-2874 ph
> 413-222-6350 cell
> 413-825-0288 fax
> AIM:pearlbear0 Y!:pearlbear9 ICQ:129250575
> 
> "A vocation is where the world's hunger & your great gladness meet." 
> Frederick Buechner
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--- End Message ---
--- Begin Message ---
On Sat, 2002-11-09 at 17:39, Michelle Murrain wrote:
> Hi,
> 
> I have what seems to me to be a very odd problem. I'm running Debian 
> testing, with apache 1.3, and because I needed 4.2s better 
> xslt/sablotron support, I compiled from source. I had originally had 
> the regular php4 package installed, but I removed that package.
> 
> php4.2.3 compiled mostly fine - I had to end up installing the 
> sablotron libraries from source.  I'm using it as a DSO.
> 
> The problem is that php seems to work (the scripts do much of what 
> they are supposed to - and the xslt stuff seems to be working) except 
> that no variables are getting passed, using either get or post! 
> Clearly I did something wrong, but this is a problem I've never 
> encountered before. What might the problem be?
> 
> Another issue is that when I have a line in my httpd.conf that Loads 
> the php module, apache complains and tells me it's already loaded. 
> I'm not sure what that means.
> 
> Thanks!!
> -- 
> .Michelle
>
in answer to your second you prolly added  LoadModule php4_module
libexec/libphp4.so
which is what I did also but then I found that line already there check 
and see if it's there twice. if so just comment out one of them
 When you did the compile and make install it added it alredy.


--- End Message ---

Reply via email to