php-install Digest 18 Aug 2002 01:06:47 -0000 Issue 983
Topics (messages 8149 through 8152):
Re: Thank Ezekiel.
8149 by: Bob Lockie
8150 by: Rasmus Lerdorf
Compilation hangs on OpenBSD
8151 by: Henri Fallon
8152 by: Rasmus Lerdorf
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 ---
See php.net for how to install both a CGI (binary) and an Apache module.
I don't think they are both installed.
>Thank you very much for your reply,
>
>Apache 1.3.26(as a Module) + php had done, but when i use this index.php
>file here to do an authenticate, it doesn't work
>----------------------------------------------------------------
>if (!isset($PHP_AUTH_USER) && !isset($PHP_AUTH_PW))
> {
> header("WWW-Authenticate: Basic realm=\"Password Protected\"");
> Header("HTTP/1.0 401 Unauthorized");
>...
>else if(($PHP_AUTH_USER=="admin") && ($PHP_AUTH_PW=="admin"))
>...
>------------------------------------------------------------
>when run index.php, it also appear a windows enquire username/password. But
>after 3 times touch true username/password then it notice error page. Seem
>Header or $PHP_AUTH_USER,... doesn't work
>---------------------------------
>Please help me!.
>Thanks a lots.
>Longminh
>
>----- Original Message -----
>From: "Ezekiel" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, August 14, 2002 3:44 PM
>Subject: [PHP-INST] Re: help me install php4.2.2 on Apache2.0.40 for winXP
>
>
>> I suggest you to install apache 1.3.26 instead of 2.0.40 because this new
>> version is very bad implemented with php on win32. I have successed in
>> installing php with apache 2.0.40 on win2K but you have many bugs on your
>> page when you use php.
>>
>> Try 1.3.26 and it will work better.
>>
>> Ezekiel
>>
>> "Le Long Minh" <[EMAIL PROTECTED]> a écrit dans le message de news:
>> 000201c242ba$5c434d20$[EMAIL PROTECTED]
>> Hi everybody!
>> I cannot install php4.2.2 as a module on apache2.0.40 server
>> althought i had put 2 lines :
>>
>> LoadModule php4_module c:/php/sapi/php4apache2.dll
>> AddType application/x-httpd-php .php .phtml .php3
>>
>> in httpd.conf
>>
>> after then, read error log file receive notice is:
>>
>> Syntax error on line 493 of C:/Apache2/conf/httpd.conf:
>> Cannot load C:/php/sapi/php4apache2.dll into server: The specified module
>> could not be found.
>>
>> Thank for your help.
>>
>>
>>
>>
>>
>> --
>> PHP Install Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
--- End Message ---
--- Begin Message ---
Turn on register_globals in your php.ini file.
On Sat, 17 Aug 2002, Le Long Minh wrote:
> Thank you very much for your reply,
>
> Apache 1.3.26(as a Module) + php had done, but when i use this index.php
> file here to do an authenticate, it doesn't work
> ----------------------------------------------------------------
> if (!isset($PHP_AUTH_USER) && !isset($PHP_AUTH_PW))
> {
> header("WWW-Authenticate: Basic realm=\"Password Protected\"");
> Header("HTTP/1.0 401 Unauthorized");
> ...
> else if(($PHP_AUTH_USER=="admin") && ($PHP_AUTH_PW=="admin"))
> ...
> ------------------------------------------------------------
> when run index.php, it also appear a windows enquire username/password. But
> after 3 times touch true username/password then it notice error page. Seem
> Header or $PHP_AUTH_USER,... doesn't work
> ---------------------------------
> Please help me!.
> Thanks a lots.
> Longminh
>
> ----- Original Message -----
> From: "Ezekiel" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 14, 2002 3:44 PM
> Subject: [PHP-INST] Re: help me install php4.2.2 on Apache2.0.40 for winXP
>
>
> > I suggest you to install apache 1.3.26 instead of 2.0.40 because this new
> > version is very bad implemented with php on win32. I have successed in
> > installing php with apache 2.0.40 on win2K but you have many bugs on your
> > page when you use php.
> >
> > Try 1.3.26 and it will work better.
> >
> > Ezekiel
> >
> > "Le Long Minh" <[EMAIL PROTECTED]> a écrit dans le message de news:
> > 000201c242ba$5c434d20$[EMAIL PROTECTED]
> > Hi everybody!
> > I cannot install php4.2.2 as a module on apache2.0.40 server
> > althought i had put 2 lines :
> >
> > LoadModule php4_module c:/php/sapi/php4apache2.dll
> > AddType application/x-httpd-php .php .phtml .php3
> >
> > in httpd.conf
> >
> > after then, read error log file receive notice is:
> >
> > Syntax error on line 493 of C:/Apache2/conf/httpd.conf:
> > Cannot load C:/php/sapi/php4apache2.dll into server: The specified module
> > could not be found.
> >
> > Thank for your help.
> >
> >
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
--- End Message ---
--- Begin Message ---
Hi,
I wanted to use php4 along with apache2 on an UltraSparc openBsd box.
As php 4.2.2 has compilation errors widely reported ( apaceh functions
called with too few arguments ) I tried snapshots :
php4-200208151800 and php4-200208161200
configure line is :
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-xml --with-mysql \
--enable-exif
then the make process hangs at : ext/standard/sha1.c
By "hangs" I mean does not finish in a reasonable time (24h).
Using the same apache source, built with the same options, and the same
snapshot with the same options, on a Linux PC, ilt tokk about 3 minutes to
build. The problem must be arch. dependant or os dependant.
any idea ?
( here's the complete line that hangs
[[
/bin/sh libtool --silent --mode=compile gcc -Iext/standard/
-I/home/henri/php/php4-200208161200/ext/standard/ -DPHP_ATOM_INC
-I/home/henri/php/php4-200208161200/include -I/home/henri/php/php4-200208161200/main
-I/home/henri/php/php4-200208161200 -I/home/henri/php/php4-200208161200/Zend
-I/home/henri/php/php4-200208161200/ext/xml/expat -DDEV_RANDOM=/dev/arandom
-DMOD_SSL=208108 -DEAPI -DUSE_EXPAT -I/home/henri/php/php4-200208161200/TSRM -g -O2
-prefer-pic -c /home/henri/php/php4-200208161200/ext/standard/sha1.c -o
ext/standard/sha1.lo
]]
)
Thanks
--
henri
--- End Message ---
--- Begin Message ---
Apache2 is not really supported yet. But if you are going to play with
it, use the very latest Apache CVS version and the latest PHP CVS version.
However, you are better off simply using the stable Apache 1.3.x at least
for another couple of months.
-Rasmus
On Sat, 17 Aug 2002, Henri Fallon wrote:
> Hi,
>
> I wanted to use php4 along with apache2 on an UltraSparc openBsd box.
>
> As php 4.2.2 has compilation errors widely reported ( apaceh functions
> called with too few arguments ) I tried snapshots :
> php4-200208151800 and php4-200208161200
>
> configure line is :
> ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-xml --with-mysql \
> --enable-exif
>
> then the make process hangs at : ext/standard/sha1.c
> By "hangs" I mean does not finish in a reasonable time (24h).
>
> Using the same apache source, built with the same options, and the same
> snapshot with the same options, on a Linux PC, ilt tokk about 3 minutes to
> build. The problem must be arch. dependant or os dependant.
>
> any idea ?
>
> ( here's the complete line that hangs
> [[
> /bin/sh libtool --silent --mode=compile gcc -Iext/standard/
>-I/home/henri/php/php4-200208161200/ext/standard/ -DPHP_ATOM_INC
>-I/home/henri/php/php4-200208161200/include -I/home/henri/php/php4-200208161200/main
>-I/home/henri/php/php4-200208161200 -I/home/henri/php/php4-200208161200/Zend
>-I/home/henri/php/php4-200208161200/ext/xml/expat -DDEV_RANDOM=/dev/arandom
>-DMOD_SSL=208108 -DEAPI -DUSE_EXPAT -I/home/henri/php/php4-200208161200/TSRM -g -O2
>-prefer-pic -c /home/henri/php/php4-200208161200/ext/standard/sha1.c -o
>ext/standard/sha1.lo
> ]]
>
> )
>
> Thanks
> --
> henri
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---