[PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Andreas Korthaus
Hi!

Isn't it possible to compile php 4.3.0 static into Apache 2.0 as it is possible with 
Apache 1.3? 
How could I do this?

If I want to use PHP 4.3 with Apache 2.0.44(DSO or static), it is decleard 
"experimantal". Is it realy that dangerous? I have never heard of any problems. If I 
want to use PHp in production, is it a risc to use Apache2? When will Apache2 Support 
become stable? And when will there be a static module for Apche2?

Kind regards
Andreas
__
Sie haben mehr zu sagen als in eine SMS passt? Mit WEB.DE FreeMail ist
das jetzt kein Problem mehr! http://freemail.web.de/features/?mc=021182


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




Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Rasmus Lerdorf
> Isn't it possible to compile php 4.3.0 static into Apache 2.0 as it is possible with 
>Apache 1.3? 
> How could I do this?

You can't.

> If I want to use PHP 4.3 with Apache 2.0.44(DSO or static), it is
> decleard "experimantal". Is it realy that dangerous? I have never heard
> of any problems. If I want to use PHp in production, is it a risc to use
> Apache2? When will Apache2 Support become stable? And when will there be
> a static module for Apche2?

Yes, it is rather experimental still.  If you stick to a prefork mpm it 
should work ok, but with any of the threaded mpms you are really getting 
into problem areas as nobody really knows whether all the various 
3rd-party libraries that people typically link into PHP are threadsafe or 
not. 

What is your reason for picking Apache2 over Apache1.3 at this point?

-Rasmus


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




Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems | php4.2.3 worksbetter but still problems

2003-01-23 Thread Thomas Goebel
Hi,

now i have tried many thing to get a running apache+php system on a aix 
4.3.3 OS.
Nothing works.

No i have tried the php4.2.3.

./configure --with-apache=../apache-1.3.27 
--with-config-file-path=/usr/local/php --enable-track-vars
--with-ingres=$II_SYSTEM/ingres --without-mysql

and it works :-)

Then i have compiled apache with

./configure \
"--with-layout=GNU" \
"--with-perl=/usr/local/bin/perl" \
"--prefix=/usr/local/apache" \
"--enable-module=most" \
"--enable-shared=max" \
"--activate-module=src/modules/php4/libphp4.a"

And it works also fine.

Then i add the lines:

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps

in the  section.

apchectl start - starts without any errors on the console or logfile

httpd -h looks good:
root@appserv[!]/usr/local/apache>>sbin/httpd -l
Compiled-in modules:
  http_core.c
  mod_so.c
  mod_php4.c
suexec: disabled; invalid wrapper /usr/local/apache/sbin/suexec
root@appserv[!]/usr/local/apache>>

NOW THE PROBLEM:
I can not receive any php generated files.

I took a t.php file in the htdocs (Documentroot) directory.
t.php:

 
PHP Test
 
"; ?>
 


If i try with the Browser to receive this file, mozilla asks me what to 
do with this file - Open/Choose Application.

Whats wrong with my configuration?
How can i test if the build in php support works?

Regards,
Thomas



Jose Perez wrote:
My php configuration was more easy :
./configure --with-mysql --with-apxs=/usr/local/apache13/sbin/apxs

It is the only i can tell you. Try apache with --enable-module=so and then
tell me what happen.

Ahh!!. I forgott on apache 2 is very important before execute ./configure ,
execute ./buildconf , you can do the probe.

Regards.


-
Tu portal de Aix en Español
http://aixpanish.com

-
Singer KeyID: 0xC38C7298
- Original Message -
From: "Thomas Goebel" <[EMAIL PROTECTED]>
To: "Jose Perez" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 4:03 PM
Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems !!!


Hi,

Ingres is a database!

And the function is included in the php distribution.
http://www.php.net/manual/en/ref.ingres.php

So it is not my Problem. Or do you think if you have problem compiling
php with DB2 or mysql support it is your problem?


Regards,
Thomas


Jose Perez wrote:


I'm not sure, because i don't know what is the use of  "ingres" support.
But, is clear that if you compile without that module and apache works and
can read php web pages there is your problem and not in php compilation.

--


--


-
Tu portal de Aix en Español
http://aixpanish.com
--


--


-
Singer KeyID: 0xC38C7298
- Original Message -
From: "Thomas Goebel" <[EMAIL PROTECTED]>
To: "Jose" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 1:00 PM
Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems





Do you think my problem with php is the result of a wrong apache
compilation?

Will try to compile apache with --enable-module=so .

!!!
BTW: If i configure php without ingres support, the "make works fine"
./configure --with-apxs=/usr/local/apache/sbin/apxs
--with-config-file-path=/usr/local/apache --enable-track-vars

Regards,
Thomas

Jose wrote:



On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in some
cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 3.0.1.
Download sources of apache and php from http://aixpdslib.seas.ucla.edu
I don't know exactly what is the meaning
of --enable-module=most --enable-shared=max , but you don't have


anything to



lose if you recompiled with --enable-module=so
I don't remember exactly my configure options, but they are more or less


so:




./configure --enable-module=so --with-layout=GNU --prefix=/usr/local/apache1


3


Regards.





--


[EMAIL PROTECTED]





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








--


[EMAIL PROTECTED]



_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
According to my best recollection, I don't remember.
-- Vincent "Jimmy Blue Eyes" Alo
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


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





--


[EMAIL 

Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Chris Hewitt
Andreas Korthaus wrote:


Hi!

Isn't it possible to compile php 4.3.0 static into Apache 2.0 as it is possible with Apache 1.3? 
How could I do this?

If I want to use PHP 4.3 with Apache 2.0.44(DSO or static), it is decleard "experimantal". Is it realy that dangerous? I have never heard of any problems. If I want to use PHp in production, is it a risc to use Apache2? When will Apache2 Support become stable? And when will there be a static module for Apche2?

This was discussed in detail a few  hours ago on the php-general list. 
The subject was "Why PHP doesn't work with Apache2?". I suggest you view 
the earlier posts there.

HTH
Chris


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



[PHP-INST] Answer from myself

2003-01-23 Thread Thomas Goebel
Hi,

i have to ad the line

AddModule mod_php4.c

in the httpd.conf file.

Thought this was done by the "make apache"

Now i can see the "Hello World" php script.

Regards,
Thomas

Thomas Goebel wrote:

Hi,

now i have tried many thing to get a running apache+php system on a aix 
4.3.3 OS.
Nothing works.

No i have tried the php4.2.3.

./configure --with-apache=../apache-1.3.27 
--with-config-file-path=/usr/local/php --enable-track-vars
--with-ingres=$II_SYSTEM/ingres --without-mysql

and it works :-)

Then i have compiled apache with

./configure \
"--with-layout=GNU" \
"--with-perl=/usr/local/bin/perl" \
"--prefix=/usr/local/apache" \
"--enable-module=most" \
"--enable-shared=max" \
"--activate-module=src/modules/php4/libphp4.a"

And it works also fine.

Then i add the lines:

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps

in the  section.

apchectl start - starts without any errors on the console or logfile

httpd -h looks good:
root@appserv[!]/usr/local/apache>>sbin/httpd -l
Compiled-in modules:
  http_core.c
  mod_so.c
  mod_php4.c
suexec: disabled; invalid wrapper /usr/local/apache/sbin/suexec
root@appserv[!]/usr/local/apache>>

NOW THE PROBLEM:
I can not receive any php generated files.

I took a t.php file in the htdocs (Documentroot) directory.
t.php:

 
PHP Test
 
"; ?>
 


If i try with the Browser to receive this file, mozilla asks me what to 
do with this file - Open/Choose Application.

Whats wrong with my configuration?
How can i test if the build in php support works?

Regards,
Thomas



Jose Perez wrote:

My php configuration was more easy :
./configure --with-mysql --with-apxs=/usr/local/apache13/sbin/apxs

It is the only i can tell you. Try apache with --enable-module=so and 
then
tell me what happen.

Ahh!!. I forgott on apache 2 is very important before execute 
./configure ,
execute ./buildconf , you can do the probe.

Regards.

 

-
Tu portal de Aix en Español
http://aixpanish.com
 

-
Singer KeyID: 0xC38C7298
- Original Message -
From: "Thomas Goebel" <[EMAIL PROTECTED]>
To: "Jose Perez" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 4:03 PM
Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems !!!


Hi,

Ingres is a database!

And the function is included in the php distribution.
http://www.php.net/manual/en/ref.ingres.php

So it is not my Problem. Or do you think if you have problem compiling
php with DB2 or mysql support it is your problem?


Regards,
Thomas


Jose Perez wrote:

I'm not sure, because i don't know what is the use of  "ingres" support.
But, is clear that if you compile without that module and apache 
works and
can read php web pages there is your problem and not in php compilation.

-- 



--


-
Tu portal de Aix en Español
http://aixpanish.com
-- 



--


-
Singer KeyID: 0xC38C7298
- Original Message -
From: "Thomas Goebel" <[EMAIL PROTECTED]>
To: "Jose" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 22, 2003 1:00 PM
Subject: Re: [PHP-INST] PHP4.3.0 + AIX4.3.3 compile problems





Do you think my problem with php is the result of a wrong apache
compilation?

Will try to compile apache with --enable-module=so .

!!!
BTW: If i configure php without ingres support, the "make works fine"
./configure --with-apxs=/usr/local/apache/sbin/apxs
--with-config-file-path=/usr/local/apache --enable-track-vars

Regards,
Thomas

Jose wrote:



On bull, you can find gcc-3.0.1, but it doesn't works fine to me(in 
some
cases), so after i can compile 3.2.1 with gcc-3.0.1, then remove 
3.0.1.
Download sources of apache and php from http://aixpdslib.seas.ucla.edu
I don't know exactly what is the meaning
of --enable-module=most --enable-shared=max , but you don't have


anything to



lose if you recompiled with --enable-module=so
I don't remember exactly my configure options, but they are more or 
less


so:




./configure --enable-module=so --with-layout=GNU 
--prefix=/usr/local/apache1

3


Regards.





--


[EMAIL PROTECTED]





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








--


[EMAIL PROTECTED]



_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
According to my best recollection, I don't remember.
-- Vincent "Jimmy Blue Eyes" Alo
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_

Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Andreas Korthaus
Rasmus Lerdorf <[EMAIL PROTECTED]> schrieb am 23.01.03 11:30:22:
> 
> > Isn't it possible to compile php 4.3.0 static into Apache 2.0 as it is possible 
>with Apache 1.3? 
> > How could I do this?
> 
> You can't.
Hm :-(

> What is your reason for picking Apache2 over Apache1.3 at this point?
Because Apache 2 itself is stable. So why using older, slower software? But you're 
right, I will use Apache 1.3.27 with PHPA(free PHP-Cache), this will be much faster 
than Apache 2 without cache.

Thank you,

kind regards
Andreas

__
Virenschutz inklusive: Bei WEB.DE FreeMail können Sie jeden
Dateianhang auf Viren prüfen http://freemail.web.de/features/?mc=021130


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




[PHP-INST]

2003-01-23 Thread Andreas Korthaus

__
Keine Lust, immer Ihre Adressdaten in eine E-Mail zu schreiben? Mit der
vCard ist Schluss damit! Infos - http://freemail.web.de/features/?mc=021153


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




[PHP-INST] Problems compiling PHP 4.3.0 --with-gd (Linux)

2003-01-23 Thread Andreas Korthaus
Hi!

I know there is a discussion about the same topic, but I have different Problems with 
it.
I also asked something like this before, but I don't have access to my old mails here, 
sorry.

I try to compile PHP 4.3.0 on Linux(RedHat 8.0) --with-gd, but this doesn't work.
Without gd(and jpeg and png) everything works fine and PHP works quite right - but 
without gd.

My configure:

./configure --prefix=/usr/local/php-4.3.0 --with-gd --with-jpeg-dir=/usr/lib/ 
--with-png-dir=/usr/lib  --with-zlib-dir=/usr/lib 
--with-apxs2=/usr/local/apache-2.0.44/bin/apxs

This works fine now. But I had to rename libpng and libjpeg from RedHats original 
ones, or PHP couldn't find the libs:

cp libpng.so.3.1.2.2 libpng.so
cp libjpeg.so.62 ibjpeg.so

Now configure worked perfectly.

Next I tried "make", but I got a lot of errors, all something with png-support. Could 
it have something to do with the new Version of  gcc 3.2(standard on Redhat 8)? It 
looks like if PHP would think of using gcc2, but by using gcc PHP uses gcc3.

I've put the output of make onto another webserver(nothing to do with my problem): 
http://knet-systems.de/temp/php_make.txt , perhaps it helps to understand what's going 
wrong here.

Thank you!


kind regards
Andreas 
__
Mit der Multi-SMS von WEB.DE FreeMail koennen Sie 760 Zeichen versenden.
Informationen unter http://freemail.web.de/features/?mc=021184


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




Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Jose Perez
Excuse me , can you tell me what is a phpa and where i can download it ?

Thanks.

-
Tu portal de Aix en Español
http://aixpanish.com

-
Singer KeyID: 0xC38C7298
- Original Message -
From: "Andreas Korthaus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 23, 2003 1:54 PM
Subject: Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)


Rasmus Lerdorf <[EMAIL PROTECTED]> schrieb am 23.01.03 11:30:22:
>
> > Isn't it possible to compile php 4.3.0 static into Apache 2.0 as it is
possible with Apache 1.3?
> > How could I do this?
>
> You can't.
Hm :-(

> What is your reason for picking Apache2 over Apache1.3 at this point?
Because Apache 2 itself is stable. So why using older, slower software? But
you're right, I will use Apache 1.3.27 with PHPA(free PHP-Cache), this will
be much faster than Apache 2 without cache.

Thank you,

kind regards
Andreas


__
Virenschutz inklusive: Bei WEB.DE FreeMail können Sie jeden
Dateianhang auf Viren prüfen http://freemail.web.de/features/?mc=021130


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




Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Andreas Korthaus

> Excuse me , can you tell me what is a phpa and where i can download it ?

It's a PHP-Cache, similar to Zend_Cahce, but free.

http://www.php-accelerator.co.uk/

Looks very nice, but I didn't test it yet. Does someone else her have experience with 
it?


Andreas
__
Erster Klick - SMS versenden, zweiter Klick - die Telefonnummer im 
Adressbuch speichern bei: http://freemail.web.de/features/?mc=021151


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




Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Adam Voigt




I've tried it, works well, and just read a magazine article in a linux mag, which showed

it benchmarking on-par with Zend Cache, a very expensive commercial version.



On Thu, 2003-01-23 at 09:21, Andreas Korthaus wrote:

> Excuse me , can you tell me what is a phpa and where i can download it ?



It's a PHP-Cache, similar to Zend_Cahce, but free.



http://www.php-accelerator.co.uk/



Looks very nice, but I didn't test it yet. Does someone else her have experience with it?





Andreas

__

Erster Klick - SMS versenden, zweiter Klick - die Telefonnummer im 

Adressbuch speichern bei: http://freemail.web.de/features/?mc=021151





-- 

PHP Install Mailing List (http://www.php.net/)

To unsubscribe, visit: http://www.php.net/unsub.php






-- 
Adam Voigt ([EMAIL PROTECTED])
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc








signature.asc
Description: This is a digitally signed message part


Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Rasmus Lerdorf
> > What is your reason for picking Apache2 over Apache1.3 at this point?
> Because Apache 2 itself is stable. So why using older, slower software? But
> you're right, I will use Apache 1.3.27 with PHPA(free PHP-Cache), this will
> be much faster than Apache 2 without cache.

phpa has nothing to do with Apache though.  I don't see any reason for 
that to not work with the Apache 2 PHP module.

As for Apache2 being faster.  Perhaps in some situations for static pages 
it is, but for dynamic pages it is hard to make the case for Apache2 being 
faster as the bucket brigade architecture gets in the way somewhat.  And 
there are faster servers out there for serving up just static content.

-Rasmus


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




Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Andreas Korthaus
Hi Rasmus!

> What is your reason for picking Apache2 over Apache1.3 at this point?
I read through the latest discussion on PHP GENERAL list. If there are some libs 
having problems, with thread-safetiy..., why not using a PHP-Installation without 
these libs? If they become tread-safe they can be added again. Because there are more 
reasons for Apache2:

_Most_ ISPs(same in english? means Internet-Service-Providers) only use PHP in 
CGI-Version because PHP module-Version is not secure if you have different users on 
one Apache/PHP installation. With Apache 1 there was no way to handle that, just using 
CGI-Version, but in Apache 2 there _is_ this great possibility, but it can't be used 
because PHP only works in Apache's prefork-mode without problems. That seems to be an 
Apache 1 with less modules... as real Apache1.

It is not only that Apache 2 ist faster, everybody could use PHP in Module-Version, 
which is _much_ faster and offers more possibilities(pconnect, http_auth...).

What about that argument?

kind regards
Andreas

__
ASCII-Bilder und SMS-Sprueche bei WEB.DE FreeMail - auswaehlen, einfuegen
und versenden! http://freemail.web.de/features/?mc=021168


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




Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Andreas Korthaus
> phpa has nothing to do with Apache though.  I don't see any reason for 
> that to not work with the Apache 2 PHP module.

http://www.php-accelerator.co.uk/faq.php#apache2


> As for Apache2 being faster.  Perhaps in some situations for static pages 
> it is, but for dynamic pages it is hard to make the case for Apache2 being 
> faster as the bucket brigade architecture gets in the way somewhat.  And 
> there are faster servers out there for serving up just static content.

Which ones for example?


regards
Andreas
__
Wieviele E-Mail-Adressen haben Sie? Eine, funf oder gar zehn? Verwalten
Sie doch einfach alle unter: http://freemail.web.de/features/?mc=021120


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




[PHP-INST] PHP installation problems (PEAR)

2003-01-23 Thread Ales Keber
Hello everyone!

I have some problem with PHP installation.

Let's see, I use DEBIAN Woody r1 Pentium machine and I would to install PHP
4.3.0 static with Apache 1.3.27.

But I get this error when I run "make install":
===
root@ra:/usr/local/src/php-4.3.0# make install
Installing PHP CLI binary:/usr/local/bin/
Installing PHP SAPI module
Installing shared extensions:
/usr/local/lib/php/extensions/no-debug-non-zts-20020429/
Installing PEAR environment:  /usr/local/lib/php/
make[1]: *** [install-pear-installer] Segmentation fault
make: *** [install-pear] Error 2


And during make I noticed this warning:
=
/usr/local/src/php-4.3.0/ext/standard/var_unserializer.c:308: warning:
comparison is always false due to limited range of data type
=

Does anyone have any idea what goes wrong?

Thanks for help!

Ales Keber



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




Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Rasmus Lerdorf
> > What is your reason for picking Apache2 over Apache1.3 at this point?

> I read through the latest discussion on PHP GENERAL list. If there are
> some libs having problems, with thread-safetiy..., why not using a
> PHP-Installation without these libs? If they become tread-safe they can
> be added again. Because there are more reasons for Apache2:

That assumes we know which libraries have problems.  We do not.  And that 
is the real problem.  Thread safety problems only really occur when you 
put a system under load and when the occur the symptoms are erratic and 
not very reproducable leading to weird and wonderful things happening.  

The prospect of having a lot of people using PHP under Apache2 with a
threaded mpm and linking in all sorts of libraries of unknown thread
safety does not fill me with the warm and cozies.  Getting hundreds of bug
reports that say that every now and then something is breaking, and it
breaks in different ways all the time is not something I am looking 
forward to.

> _Most_ ISPs(same in english? means Internet-Service-Providers) only use
> PHP in CGI-Version because PHP module-Version is not secure if you have
> different users on one Apache/PHP installation. With Apache 1 there was
> no way to handle that, just using CGI-Version, but in Apache 2 there
> _is_ this great possibility, but it can't be used because PHP only works
> in Apache's prefork-mode without problems. That seems to be an Apache 1
> with less modules... as real Apache1.

You are talking about the perchild mpm?  That is complete vaporware.  It 
simply doesn't work!  When/if that mpm actually works, then yes, I agree, 
there is some real motivation to start trying to solve this impossible 
problem.

> It is not only that Apache 2 ist faster, everybody could use PHP in
> Module-Version, which is _much_ faster and offers more
> possibilities(pconnect, http_auth...).

Again, perchild is a dream.  It doesn't really exist!

-Rasmus


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




Re: [PHP-INST] Compile PHP into Apache 2.0 httpd(static)

2003-01-23 Thread Rasmus Lerdorf
> > phpa has nothing to do with Apache though.  I don't see any reason for 
> > that to not work with the Apache 2 PHP module.
> 
> http://www.php-accelerator.co.uk/faq.php#apache2

So use a different one.  That is a phpa problem, not a PHP one.

> > As for Apache2 being faster.  Perhaps in some situations for static pages 
> > it is, but for dynamic pages it is hard to make the case for Apache2 being 
> > faster as the bucket brigade architecture gets in the way somewhat.  And 
> > there are faster servers out there for serving up just static content.
> 
> Which ones for example?

Zeus, thttpd, tux, khttpd (and if you are on Windows, IIS).  These servers 
are all faster at serving up static files than Apache.  

-Rasmus


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




[PHP-INST] Installation problem of 4.3.0 using built in gd library

2003-01-23 Thread gregory . stewart
I managed to install php with no problems on several boxes, but one 
machine has an issue (solaris 7 on sparc) using the build in GD library. 
It is odd in that if I compare the output from "configure" between this 
particular box, and another which had a successfull "make" there is no 
issue.

Configure was run with these options.

./configure --enable-force-cgi-redirect=yes --enable-memory-limit=yes 
--enable-safe-mode=yes --enable-sysvsem=yes --enable-sysvshm=yes 
--with-gd=/usr/local --with-jpeg-dir=/usr/local --with-zlib=/usr/local 
--enable-wddx --enable-calendar --enable-ftp --with-db 
--enable-gdbm=/usr/local/lib --with-freetype-dir=/usr/local/lib 
--with-ttf=/usr/local/lib --with-png-dir=/usr/local

Thoughts as to whats going on?

make

gcc -I/home/gregstew/php-4.3.0/ext/gd/libgd -DHAVE_LIBPNG -DHAVE_LIBJPEG 
-DHAVE_LIBFREETYPE -Iext/gd/ -I/home/gregstew/php-4.3.0/ext/gd/ 
-DPHP_ATOM_INC -I/home/gregstew/php-4.3.0/include 
-I/home/gregstew/php-4.3.0/main -I/home/gregstew/php-4.3.0 
-I/home/gregstew/php-4.3.0/Zend -I/usr/local/include 
-I/usr/local/include/freetype2 -I/home/gregstew/php-4.3.0/ext/xml/expat 
-D_POSIX_PTHREAD_SEMANTICS -I/home/gregstew/php-4.3.0/TSRM  -g -O2  -c 
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c -o ext/gd/libgd/gdft.o  && 
echo > ext/gd/libgd/gdft.lo
In file included from /home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:50:
/usr/local/include/freetype2/freetype/ftglyph.h:104: parse error before 
`FT_Library'
/usr/local/include/freetype2/freetype/ftglyph.h:104: warning: no semicolon 
at end of struct or union
/usr/local/include/freetype2/freetype/ftglyph.h:106: parse error before 
`format'
/usr/local/include/freetype2/freetype/ftglyph.h:106: warning: data 
definition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:107: parse error before 
`advance'
/usr/local/include/freetype2/freetype/ftglyph.h:107: warning: data 
definition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:109: warning: data 
definition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:156: parse error before 
`FT_GlyphRec'
/usr/local/include/freetype2/freetype/ftglyph.h:156: warning: no semicolon 
at end of struct or union
/usr/local/include/freetype2/freetype/ftglyph.h:157: warning: data 
definition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:158: parse error before 
`top'
/usr/local/include/freetype2/freetype/ftglyph.h:158: warning: data 
definition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:159: parse error before 
`bitmap'
/usr/local/include/freetype2/freetype/ftglyph.h:159: warning: data 
definition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:161: warning: data 
definition has no type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:204: parse error before 
`FT_GlyphRec'
/usr/local/include/freetype2/freetype/ftglyph.h:204: warning: no semicolon 
at end of struct or union

 snip 

/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c: In function `fontTest':
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:327: `a' undeclared (first 
use in this function)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:327: (Each undeclared 
identifier is reported only once
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:327: for each function it 
appears in.)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:327: parse error before `)'
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:328: `b' undeclared (first 
use in this function)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:328: parse error before `)'
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c: In function `fontFetch':
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:336: `a' undeclared (first 
use in this function)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:337: `b' undeclared (first 
use in this function)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:337: parse error before `)'
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:345: `FT_Error' undeclared 
(first use in this function)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:346: `FT_CharMap' undeclared 
(first use in this function)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:349: parse error before `)'
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:356: `fontsearchpath' 
undeclared (first use in this function)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:359: `fontlist' undeclared 
(first use in this function)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:364: `name' undeclared (first 
use in this function)
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:364: `strtok_ptr' undeclared 
(first use in this function)

--- snip ---

/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:637: request for member 
`pitch' in something not a structure or union
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:638: request for member 
`pixel_mode' in something not a structure or union
/home/gregstew/php-4.3.0/ext/gd/libgd/gdft.c:647: request for member 
`width' in somethi

php-install Digest 23 Jan 2003 18:21:49 -0000 Issue 1215

2003-01-23 Thread php-install-digest-help

php-install Digest 23 Jan 2003 18:21:49 - Issue 1215

Topics (messages 9805 through 9824):

Re: Problem compiling PHP 4.3.0 with GD
9805 by: frankv.cecalc.ula.ve

sql database
9806 by: mon.aiseni.com

Compile PHP into Apache 2.0 httpd(static)
9807 by: Andreas Korthaus
9808 by: Rasmus Lerdorf
9810 by: Chris Hewitt
9812 by: Andreas Korthaus
9815 by: Jose Perez
9816 by: Andreas Korthaus
9817 by: Adam Voigt
9818 by: Rasmus Lerdorf
9819 by: Andreas Korthaus
9820 by: Andreas Korthaus
9822 by: Rasmus Lerdorf
9823 by: Rasmus Lerdorf

Re: PHP4.3.0 + AIX4.3.3 compile problems | php4.2.3 works better but still problems
9809 by: Thomas Goebel

Answer from myself
9811 by: Thomas Goebel


9813 by: Andreas Korthaus

Problems compiling PHP 4.3.0 --with-gd (Linux)
9814 by: Andreas Korthaus

PHP installation problems (PEAR)
9821 by: Ales Keber

Installation problem of 4.3.0 using built in gd library
9824 by: gregory.stewart.magma.ca

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

Thank you But, the problem was solved updating SED version on Solaris 8 !!!

Best regards,


On Wed, 22 Jan 2003 11:35:25 +0500 "toby -" wrote:

> 
> hi
> 
> you need tow extra libraries for gd support
> 
> tiff and jpeg
> 
> you will hae to down load these, put them in ur php folder and configure 
> php.ini to work
> --with both
> 
> 
> hope dis helps .
> 
> good luck
> 
> toby .
> 
> _
> Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
> http://join.msn.com/?page=features/featuredemail
> 



--- End Message ---
--- Begin Message ---
hi i got mysql-31.23.54-win with apache2 and php4.

the problem im having is to create the databases and tables one by one in
MS-DOS and i cant work it out.
i'va got databases (.sql files) that i want to upload in MySQL, but i have
to wirtte them again and it takes too much time.

is there any quicker way of doing this (uploading *.sql files into MySQL)




--- End Message ---
--- Begin Message ---
Hi!

Isn't it possible to compile php 4.3.0 static into Apache 2.0 as it is possible with 
Apache 1.3? 
How could I do this?

If I want to use PHP 4.3 with Apache 2.0.44(DSO or static), it is decleard 
"experimantal". Is it realy that dangerous? I have never heard of any problems. If I 
want to use PHp in production, is it a risc to use Apache2? When will Apache2 Support 
become stable? And when will there be a static module for Apche2?

Kind regards
Andreas
__
Sie haben mehr zu sagen als in eine SMS passt? Mit WEB.DE FreeMail ist
das jetzt kein Problem mehr! http://freemail.web.de/features/?mc=021182


--- End Message ---
--- Begin Message ---
> Isn't it possible to compile php 4.3.0 static into Apache 2.0 as it is possible with 
>Apache 1.3? 
> How could I do this?

You can't.

> If I want to use PHP 4.3 with Apache 2.0.44(DSO or static), it is
> decleard "experimantal". Is it realy that dangerous? I have never heard
> of any problems. If I want to use PHp in production, is it a risc to use
> Apache2? When will Apache2 Support become stable? And when will there be
> a static module for Apche2?

Yes, it is rather experimental still.  If you stick to a prefork mpm it 
should work ok, but with any of the threaded mpms you are really getting 
into problem areas as nobody really knows whether all the various 
3rd-party libraries that people typically link into PHP are threadsafe or 
not. 

What is your reason for picking Apache2 over Apache1.3 at this point?

-Rasmus


--- End Message ---
--- Begin Message ---
Andreas Korthaus wrote:


Hi!

Isn't it possible to compile php 4.3.0 static into Apache 2.0 as it is possible with Apache 1.3? 
How could I do this?

If I want to use PHP 4.3 with Apache 2.0.44(DSO or static), it is decleard "experimantal". Is it realy that dangerous? I have never heard of any problems. If I want to use PHp in production, is it a risc to use Apache2? When will Apache2 Support become stable? And when will there be a static module for Apche2?

This was discussed in detail a few  hours ago on the php-general list. 
The subject was "Why PHP doesn't work with Apache2?". I suggest you view 
the earlier posts there.

HTH
Chris

--- End Message ---
--- Begin Message ---
Rasmus Lerdorf <[EMAIL PROTECTED]> schrieb am 23.01.03 11:30:22:
> 
> > Isn't it possible to compile php 4.3.0 static into Apache 2.0 as it is possible 
>with Apache 1.3? 
> > How could I do this?
> 
> You can't.
Hm :-(

> What is your reason for picking Apache2 over Apache1.

[PHP-INST] Problem with libmcrypt-2.5.6 !

2003-01-23 Thread frankv
Hi

I'm working with
php4.3.0+apache1.3.27+solaris8+mcrypt-2.6.3+mhash-0.8.17+libmcrypt-2.5.6

When I try to compile php with libmcrypt-2.5.6 support, I see it error:
(--with-mcrypt=/usr/local/bin or --with-mcrypt=../libmcrypt-2.5.6)

...
...
checking for mcrypt_module_open in -lmcrypt... no
checking for init_mcrypt in -lmcrypt... no
configure: error: Sorry, I was not able to diagnose which libmcrypt
version you have installed.

Any suggestions ??

Best regards,



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




[PHP-INST] PHP & OpenSSL Windows 2000 IE

2003-01-23 Thread Stewart Walker
I can find all kind of doc's on installing openSSL on a client. Can't find 
any installs or docs for a Windows 2000 server running IE with PHP..

Could some help..
Thanks
Stew

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




[PHP-INST] difference between install as cgi and module

2003-01-23 Thread Rubylinda Otero
is there anyone here can clear my mind about installing apache+php in cgi
and module, whats the difference of the two


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