php-install Digest 11 Oct 2002 10:23:44 -0000 Issue 1064

Topics (messages 8751 through 8763):

(továbbított)apacheforgetstosendbackphp
        8751 by: P I
        8752 by: Marco Tabini
        8754 by: Chris Hewitt
        8755 by: Thistle

Install errors on XP/Apache2.0.43/PHP4.2.3
        8753 by: Jason Wood
        8758 by: Marco Tabini
        8759 by: Aaron Wolski
        8760 by: Jason Wood
        8761 by: Aaron Wolski
        8762 by: Marco Tabini

Re:[PHP-INST](továbbított)apacheforgetstosendbackphp
        8756 by: P I

uploads with php
        8757 by: aps.iw.way.com.ar

Re: Re:[PHP-INST](tovbbtott)apacheforgetstosendbackphp
        8763 by: toby -

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 ---
Hello!

I compiled apache 2.0.42 and php 4.2.3 under Mandrake7.1 with the basic
config options that are in the INSTALL files. I made it without any
problem, but I noticed the following strange things:

If I call a php page that consists of only php source, it works good, so
the file that contains: <? echo "test..."; ?>, displays in the browser
test...

BUT, if I make a phtml page with html source in it, ie:
<table><tr><td><? echo "test..."; ?></td></tr></table> makes a table
without any content (<table><tr><td></td></tr></table>), so it seems
apache forgets to wait until the php parser do its job.

Have anyone met with this thing? I don't understand it and didn't have
this problem before.

Yours sincerely,
                        patis

________________________________________________
http://mailbox.hu - Már SMS értesítéssel is!

--- End Message ---
--- Begin Message ---
Check the error log in Apache... does it say anything?

Did you configure Apache to interpret .phtml files as PHP files? It's
possible you don't see anything because your browser interprets whatever
is between <? and ?> as an HTML tag but can't make ends of it. If you
view the source code of the HTML page from the browsers, chances are
you'll see your PHP code in there, even though the browser doesn't show
it.


Marco

On Thu, 2002-10-10 at 12:49, P I wrote:
> Hello!
> 
> I compiled apache 2.0.42 and php 4.2.3 under Mandrake7.1 with the basic
> config options that are in the INSTALL files. I made it without any
> problem, but I noticed the following strange things:
> 
> If I call a php page that consists of only php source, it works good, so
> the file that contains: <? echo "test..."; ?>, displays in the browser
> test...
> 
> BUT, if I make a phtml page with html source in it, ie:
> <table><tr><td><? echo "test..."; ?></td></tr></table> makes a table
> without any content (<table><tr><td></td></tr></table>), so it seems
> apache forgets to wait until the php parser do its job.
> 
> Have anyone met with this thing? I don't understand it and didn't have
> this problem before.
> 
> Yours sincerely,
>                         patis
> 
> ________________________________________________
> http://mailbox.hu - Már SMS értesítéssel is!
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--- End Message ---
--- Begin Message ---
P I wrote:

>BUT, if I make a phtml page with html source in it, ie:
><table><tr><td><? echo "test..."; ?></td></tr></table> makes a table
>without any content (<table><tr><td></td></tr></table>), so it seems
>apache forgets to wait until the php parser do its job.
>
In you AddType line in httpd.conf, have you included ".phtml"?

HTH
Chris

--- End Message ---
--- Begin Message ---
Greetings!

Might also check to make sure you have :

short_open_tag = On 

in your php.ini file.
This allows the use of <? instead of <?php

OR

re-write your code as :

<table><tr><td><?php echo "test..."; ?></td></tr></table>

If you have .phtml added as a type to be pre-processed, this might be the problem :)

Hope this helps.

Regards,
Thistle

At 11:27 AM 10/10/2002 , Chris Hewitt wrote:
>P I wrote:
>
>>BUT, if I make a phtml page with html source in it, ie:
>><table><tr><td><? echo "test..."; ?></td></tr></table> makes a table
>>without any content (<table><tr><td></td></tr></table>), so it seems
>>apache forgets to wait until the php parser do its job.
>>
>In you AddType line in httpd.conf, have you included ".phtml"?
>
>HTH
>Chris
>
>
>-- 
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
> 
--- End Message ---
--- Begin Message ---
This is driving me nuts.  I downloaded the binarys and set them up in
c:/php/

I've added the LoadModule php4_module c:\php\sapi\php4apache2.dll  line to
my config... Tried several different things, including changing the
php4apache2.dll to a .so file... still didnt work.  The system even viewer
doesnt help;  just gives me this info:

Event Type: Error
Event Source: Service Control Manager
Event Category: None
Event ID: 7024
Date:  10/10/2002
Time:  10:31:50 AM
User:  N/A
Computer: JASON
Description:
The Apache2 service terminated with service-specific error 1 (0x1).

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


What's going on here?  I have no idea... Never had this much of a hard time
getting php to work with apache.


--
Jason Wood
Chief Technology Officer
Expressive Tek, Inc.
407 Kehrs Mill Road
636.256.1362
Fax: 636.527.6064
http://www.expressivetek.com


--- End Message ---
--- Begin Message ---
Have you looked at the Apache error log? That usually contains more
useful information.

Marco

On Thu, 2002-10-10 at 11:41, Jason Wood wrote:
> This is driving me nuts.  I downloaded the binarys and set them up in
> c:/php/
> 
> I've added the LoadModule php4_module c:\php\sapi\php4apache2.dll  line to
> my config... Tried several different things, including changing the
> php4apache2.dll to a .so file... still didnt work.  The system even viewer
> doesnt help;  just gives me this info:
> 
> Event Type: Error
> Event Source: Service Control Manager
> Event Category: None
> Event ID: 7024
> Date:  10/10/2002
> Time:  10:31:50 AM
> User:  N/A
> Computer: JASON
> Description:
> The Apache2 service terminated with service-specific error 1 (0x1).
> 
> For more information, see Help and Support Center at
> http://go.microsoft.com/fwlink/events.asp.
> 
> 
> What's going on here?  I have no idea... Never had this much of a hard time
> getting php to work with apache.
> 
> 
> --
> Jason Wood
> Chief Technology Officer
> Expressive Tek, Inc.
> 407 Kehrs Mill Road
> 636.256.1362
> Fax: 636.527.6064
> http://www.expressivetek.com
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


--- End Message ---
--- Begin Message ---
WHY is everyone trying to get Apache 2 working with PHP?

Rasmus has pointed out SEVERAL times that Apache 2 stable.

Why bother working on a platform that is far from stable just because
you want the latest and greatest? Even if its not a production
environment you are doing your work on I couldn't be bothered working on
something that has soo many known and Unknown bugs!

Save yourself some time and troubles?

Just my thoughts.

Aaron

-----Original Message-----
From: Marco Tabini [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 10, 2002 2:52 PM
To: Jason Wood
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] Install errors on XP/Apache2.0.43/PHP4.2.3


Have you looked at the Apache error log? That usually contains more
useful information.

Marco

On Thu, 2002-10-10 at 11:41, Jason Wood wrote:
> This is driving me nuts.  I downloaded the binarys and set them up in 
> c:/php/
> 
> I've added the LoadModule php4_module c:\php\sapi\php4apache2.dll  
> line to my config... Tried several different things, including 
> changing the php4apache2.dll to a .so file... still didnt work.  The 
> system even viewer doesnt help;  just gives me this info:
> 
> Event Type: Error
> Event Source: Service Control Manager
> Event Category: None
> Event ID: 7024
> Date:  10/10/2002
> Time:  10:31:50 AM
> User:  N/A
> Computer: JASON
> Description:
> The Apache2 service terminated with service-specific error 1 (0x1).
> 
> For more information, see Help and Support Center at 
> http://go.microsoft.com/fwlink/events.asp.
> 
> 
> What's going on here?  I have no idea... Never had this much of a hard

> time getting php to work with apache.
> 
> 
> --
> Jason Wood
> Chief Technology Officer
> Expressive Tek, Inc.
> 407 Kehrs Mill Road
> 636.256.1362
> Fax: 636.527.6064
> http://www.expressivetek.com
> 
> 
> 
> --
> 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 ---
I'm sorry, i don't have the time to look up bugs for everything i use.  I
just wiped this computer, and I was downloading apache/php/mysql.  I'd
assume that any version of apache thats _not_ a beta is stable enough to
use.  I did post asking for help, not smart comments.


--
Jason Wood
Chief Technology Officer
Expressive Tek, Inc.
407 Kehrs Mill Road
636.256.1362
Fax: 636.527.6064
http://www.expressivetek.com


"Aaron Wolski" <[EMAIL PROTECTED]> wrote in message
000501c2708f$6165f020$0401a8c0@aaron">news:000501c2708f$6165f020$0401a8c0@aaron...
> WHY is everyone trying to get Apache 2 working with PHP?
>
> Rasmus has pointed out SEVERAL times that Apache 2 stable.
>
> Why bother working on a platform that is far from stable just because
> you want the latest and greatest? Even if its not a production
> environment you are doing your work on I couldn't be bothered working on
> something that has soo many known and Unknown bugs!
>
> Save yourself some time and troubles?
>
> Just my thoughts.
>
> Aaron
>
> -----Original Message-----
> From: Marco Tabini [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 2:52 PM
> To: Jason Wood
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] Install errors on XP/Apache2.0.43/PHP4.2.3
>
>
> Have you looked at the Apache error log? That usually contains more
> useful information.
>
> Marco
>
> On Thu, 2002-10-10 at 11:41, Jason Wood wrote:
> > This is driving me nuts.  I downloaded the binarys and set them up in
> > c:/php/
> >
> > I've added the LoadModule php4_module c:\php\sapi\php4apache2.dll
> > line to my config... Tried several different things, including
> > changing the php4apache2.dll to a .so file... still didnt work.  The
> > system even viewer doesnt help;  just gives me this info:
> >
> > Event Type: Error
> > Event Source: Service Control Manager
> > Event Category: None
> > Event ID: 7024
> > Date:  10/10/2002
> > Time:  10:31:50 AM
> > User:  N/A
> > Computer: JASON
> > Description:
> > The Apache2 service terminated with service-specific error 1 (0x1).
> >
> > For more information, see Help and Support Center at
> > http://go.microsoft.com/fwlink/events.asp.
> >
> >
> > What's going on here?  I have no idea... Never had this much of a hard
>
> > time getting php to work with apache.
> >
> >
> > --
> > Jason Wood
> > Chief Technology Officer
> > Expressive Tek, Inc.
> > 407 Kehrs Mill Road
> > 636.256.1362
> > Fax: 636.527.6064
> > http://www.expressivetek.com
> >
> >
> >
> > --
> > 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 ---
*shrugs*

They were not meant as "smart comments" but merely as comments to
perhaps indicated that there ARE problems with Apache 2 and PHP.

Try Apache 1.3<?> with PHP 4.2.. I have them both working on my laptop
in a testing and presentation environment.

Just a thought eh?

Aaron

-----Original Message-----
From: Jason Wood [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, October 10, 2002 3:14 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] Install errors on XP/Apache2.0.43/PHP4.2.3


I'm sorry, i don't have the time to look up bugs for everything i use.
I just wiped this computer, and I was downloading apache/php/mysql.  I'd
assume that any version of apache thats _not_ a beta is stable enough to
use.  I did post asking for help, not smart comments.


--
Jason Wood
Chief Technology Officer
Expressive Tek, Inc.
407 Kehrs Mill Road
636.256.1362
Fax: 636.527.6064
http://www.expressivetek.com


"Aaron Wolski" <[EMAIL PROTECTED]> wrote in message
000501c2708f$6165f020$0401a8c0@aaron">news:000501c2708f$6165f020$0401a8c0@aaron...
> WHY is everyone trying to get Apache 2 working with PHP?
>
> Rasmus has pointed out SEVERAL times that Apache 2 stable.
>
> Why bother working on a platform that is far from stable just because 
> you want the latest and greatest? Even if its not a production 
> environment you are doing your work on I couldn't be bothered working 
> on something that has soo many known and Unknown bugs!
>
> Save yourself some time and troubles?
>
> Just my thoughts.
>
> Aaron
>
> -----Original Message-----
> From: Marco Tabini [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 10, 2002 2:52 PM
> To: Jason Wood
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] Install errors on XP/Apache2.0.43/PHP4.2.3
>
>
> Have you looked at the Apache error log? That usually contains more 
> useful information.
>
> Marco
>
> On Thu, 2002-10-10 at 11:41, Jason Wood wrote:
> > This is driving me nuts.  I downloaded the binarys and set them up 
> > in c:/php/
> >
> > I've added the LoadModule php4_module c:\php\sapi\php4apache2.dll 
> > line to my config... Tried several different things, including 
> > changing the php4apache2.dll to a .so file... still didnt work.  The

> > system even viewer doesnt help;  just gives me this info:
> >
> > Event Type: Error
> > Event Source: Service Control Manager
> > Event Category: None
> > Event ID: 7024
> > Date:  10/10/2002
> > Time:  10:31:50 AM
> > User:  N/A
> > Computer: JASON
> > Description:
> > The Apache2 service terminated with service-specific error 1 (0x1).
> >
> > For more information, see Help and Support Center at 
> > http://go.microsoft.com/fwlink/events.asp.
> >
> >
> > What's going on here?  I have no idea... Never had this much of a 
> > hard
>
> > time getting php to work with apache.
> >
> >
> > --
> > Jason Wood
> > Chief Technology Officer
> > Expressive Tek, Inc.
> > 407 Kehrs Mill Road
> > 636.256.1362
> > Fax: 636.527.6064
> > http://www.expressivetek.com
> >
> >
> >
> > --
> > 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
>



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

--- End Message ---
--- Begin Message ---
Just a thought--and I don't want to start a whole thread of word wars,
but... if nobody ever tries the new stuff... how will we know that it
will work eventually? I think it's excellent to have these problems (as
long as we somehow manage to fix them, of course) and, besides, learning
is the whole point of the mailing list anyway!


On Thu, 2002-10-10 at 15:10, Aaron Wolski wrote:
> *shrugs*
> 
> They were not meant as "smart comments" but merely as comments to
> perhaps indicated that there ARE problems with Apache 2 and PHP.
> 
> Try Apache 1.3<?> with PHP 4.2.. I have them both working on my laptop
> in a testing and presentation environment.
> 
> Just a thought eh?
> 
> Aaron
> 
> -----Original Message-----
> From: Jason Wood [mailto:[EMAIL PROTECTED]] 
> Sent: Thursday, October 10, 2002 3:14 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-INST] Install errors on XP/Apache2.0.43/PHP4.2.3
> 
> 
> I'm sorry, i don't have the time to look up bugs for everything i use.
> I just wiped this computer, and I was downloading apache/php/mysql.  I'd
> assume that any version of apache thats _not_ a beta is stable enough to
> use.  I did post asking for help, not smart comments.
> 
> 
> --
> Jason Wood
> Chief Technology Officer
> Expressive Tek, Inc.
> 407 Kehrs Mill Road
> 636.256.1362
> Fax: 636.527.6064
> http://www.expressivetek.com
> 
> 
> "Aaron Wolski" <[EMAIL PROTECTED]> wrote in message
> 000501c2708f$6165f020$0401a8c0@aaron">news:000501c2708f$6165f020$0401a8c0@aaron...
> > WHY is everyone trying to get Apache 2 working with PHP?
> >
> > Rasmus has pointed out SEVERAL times that Apache 2 stable.
> >
> > Why bother working on a platform that is far from stable just because 
> > you want the latest and greatest? Even if its not a production 
> > environment you are doing your work on I couldn't be bothered working 
> > on something that has soo many known and Unknown bugs!
> >
> > Save yourself some time and troubles?
> >
> > Just my thoughts.
> >
> > Aaron
> >
> > -----Original Message-----
> > From: Marco Tabini [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, October 10, 2002 2:52 PM
> > To: Jason Wood
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP-INST] Install errors on XP/Apache2.0.43/PHP4.2.3
> >
> >
> > Have you looked at the Apache error log? That usually contains more 
> > useful information.
> >
> > Marco
> >
> > On Thu, 2002-10-10 at 11:41, Jason Wood wrote:
> > > This is driving me nuts.  I downloaded the binarys and set them up 
> > > in c:/php/
> > >
> > > I've added the LoadModule php4_module c:\php\sapi\php4apache2.dll 
> > > line to my config... Tried several different things, including 
> > > changing the php4apache2.dll to a .so file... still didnt work.  The
> 
> > > system even viewer doesnt help;  just gives me this info:
> > >
> > > Event Type: Error
> > > Event Source: Service Control Manager
> > > Event Category: None
> > > Event ID: 7024
> > > Date:  10/10/2002
> > > Time:  10:31:50 AM
> > > User:  N/A
> > > Computer: JASON
> > > Description:
> > > The Apache2 service terminated with service-specific error 1 (0x1).
> > >
> > > For more information, see Help and Support Center at 
> > > http://go.microsoft.com/fwlink/events.asp.
> > >
> > >
> > > What's going on here?  I have no idea... Never had this much of a 
> > > hard
> >
> > > time getting php to work with apache.
> > >
> > >
> > > --
> > > Jason Wood
> > > Chief Technology Officer
> > > Expressive Tek, Inc.
> > > 407 Kehrs Mill Road
> > > 636.256.1362
> > > Fax: 636.527.6064
> > > http://www.expressivetek.com
> > >
> > >
> > >
> > > --
> > > 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
> >
> 
> 
> 
> -- 
> 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 ---
Hello!

I made wrong description about my problem. The point is that after
passing a variable to a php page, the page doesn't see it. For example
after calling test.php?id=5 , the test.php doesn't see the id variable.
I tried both post and get methods, neither worked.

                patis

________________________________________________
http://mailbox.hu - Már SMS értesítéssel is!

--- End Message ---
--- Begin Message ---


Hi,
I have Linux Redhat 6.2, Apache 1.3.26 and PHP 4.2.3, and I have problems with 
files upload. When I make an upload; the php,  upload the file to the 
directory /var/tmp, but a little piece of it.
I have checked the php.in and I have all ok there.

Please help me, I can´t resolve this problem.

TIA

Ana Paula

-------------------------------------------------
 Internet Way - Webmail - http://www.way.com.ar
--- End Message ---
--- Begin Message ---


hullo patis 2 ways to go about it
1. check register globals in your php.ini
if its off trun it on n try the page
but with this u ll b risking security
2. with register globals off u can access the passed varisblez thru
&_POST['variable'] or &_GET['variable']
beware dat php variables POST n GET r case sensitive

hope it helps

luck

toby .....



remember me in ur pryrz
luv alwyaz
2ba !!!!

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com

--- End Message ---

Reply via email to