php-install Digest 21 Feb 2003 19:10:24 -0000 Issue 1257
Topics (messages 10135 through 10143):
Re: Documentation warning
10135 by: Pedro Román Vela
Mac OSX PHP Install Trouble
10136 by: EOS Technologies
10142 by: Steve Cayford
install 4.3.1 on redhat7.2
10137 by: Henry
two daemons running (apache and Apache-SSL) - php only works for one
10138 by: Wim Paulussen
PHP and mcrypt compilel woes
10139 by: Bill Ing
php-4.3.1 make test ERROR: Cannot open file run-test-info.php
10140 by: Keith N
mcrypt MCRYPT_RIJNDAEL problem
10141 by: Joachim Müller
Use of COM object
10143 by: William Cheung
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 ---
LoadModule mod_speling :P
So the question seems to be:
when will the PHP/Apache guys announce that the compatibility is ok for
production servers?
Anyone?
-----Original Message-----
From: Mitch Pirtle [mailto:[EMAIL PROTECTED]]
Sent: jueves, 20 de febrero de 2003 11:19
To: Pedro Román Vela
Cc: '[EMAIL PROTECTED]'
Subject: Re: [PHP-INST] Documentation warning
On Wed, 2003-02-19 at 16:44, Pedro Román Vela wrote:
> Hi everyone,
> I have successfully installed and configured the latest php (4.3.1) to
work
> with the latest Apche (2.0.44).
Apche 2.0.44? What a strange name. I wonder if it includes
mod_speling? Probably not... ;^P
> It seems to be working fine and has passed
> every test I have tried. However I found the following warining while
> reading the php documentation on installing php for apache 2.0:
> Do not use Apache 2.0 and PHP in a production environment neither on Unix
> nor on Windows.
>
> Is there something I'm missing? What's the reason for that warning?
Yes, it means that there is little-or-no proof that the apache2-php4
combination works reliably under a heavy load. Sure, it works fine on my
laptop (heavy development and only 10'000 hits daily), and also on my
machine at home (2 hits per day, usually me or my cat).
Anybody out there running this combination with a real workload?
-- Mitch
--------------------------------------------------------------------------------------
This message and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. No confidentiality
or privilege is waived or lost by any wrong transmission.
If you have received this message in error, please immediately destroy it and kindly
notify the sender by reply email.
You must not, directly or indirectly, use, disclose, distribute, print, or copy any
part of this message if you are not the intended recipient. Opinions, conclusions and
other information in this message that do not relate to the official business of
Ydilo Advanced Voice Solutions, S.A. shall be understood as neither given nor endorsed
by it.
--------------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
while installing the latest version of php on my mac i cam across the
following problem:
[Jezebel:/apps/php-4.3.0] root# ./configure --with-mysql --with-apxs
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for working sed... sed
checking host system type... powerpc-apple-darwin6.4
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
can anyone help me out with this? tell me what it means?
i am a complete begging as far as the unix side of os x is concerned so keep
it simple please!
thanks
ian
--- End Message ---
--- Begin Message ---
Did you install the developer tools from Apple? You'll need them to
compile php.
-Steve
On Friday, February 21, 2003, at 03:41 AM, EOS Technologies wrote:
while installing the latest version of php on my mac i cam across the
following problem:
[Jezebel:/apps/php-4.3.0] root# ./configure --with-mysql --with-apxs
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for working sed... sed
checking host system type... powerpc-apple-darwin6.4
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
can anyone help me out with this? tell me what it means?
i am a complete begging as far as the unix side of os x is concerned
so keep
it simple please!
thanks
ian
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I saw the message below, how can I do sloving this?
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/home/henry/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is
dangero
us, better use `mkstemp'
--- End Message ---
--- Begin Message ---
LS,
I have two daemons running :
1. httpd -> PHP works
2. httpsd -> PHP does not work : when I try to connect , I get an
FTP-download-like screen . Does anyone have an idea why this might be ?
Wim
--- End Message ---
--- Begin Message ---
Hi,
I'm having problems compiling PHP4.3.1 with mcrypt.
With much effort, I have already compiled...
mhash-0.8.17
mcrypt-2.6.3
libmcrypt-2.5.6
My configure line for PHP is.
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql --with-mcryp
t=/usr/local/bin
The last few lines of the make output follows.
Any suggestions would be greatfully appreciated.
TIA
*****************
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:304: `MCRYPT_SERPENT_128'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:305: `MCRYPT_SERPENT_192'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:306: `MCRYPT_SERPENT_256'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:307: `MCRYPT_TWOFISH_128'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:308: `MCRYPT_TWOFISH_192'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:309: `MCRYPT_TWOFISH_256'
undeclared (first use in this function)
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:310: warning: passing arg 3 of
`zend_register_long_constant' makes integer from pointer without a cast
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c: In function
`zif_mcrypt_get_cipher_name':
/usr/home/wing/php-4.3.1/ext/mcrypt/mcrypt.c:1503: warning: assignment makes
pointer from integer without a cast
*** Error code 1
**********************
--- End Message ---
--- Begin Message ---
Hello,
I keep getting the below error on "make test" after a successful make of
php-4.3.1. Giving global write access to the php-4.3.1/ directory does not
seem to make any difference. Any ideas? Thanks in advance.
Keith.
[kn@citta php-4.3.1]$ make test
ERROR: Cannot open file '/home/kn/php/upgrade/php-4.3.1/run-test-info.php'
(save_text)
make: *** [test] Error 1
--- End Message ---
--- Begin Message ---
Hi All.
I am experiencing a rather strange problem using
mcrypt with php. We store our passwords in a
SQL database. The passwords are encrypted with
the following code at a SuSe7.1 System (php4.04 or php 4.06):
function encryptData($data, $p) {
$iIV = mcrypt_create_iv (mcrypt_get_iv_size (MCRYPT_RIJNDAEL_256,MCRYPT_MODE_ECB),
MCRYPT_RAND);
$sEncrypted = mcrypt_encrypt (MCRYPT_RIJNDAEL_256, $p, $data, MCRYPT_MODE_ECB,
$iIV);
return(base64_encode($sEncrypted));
}
the decryption works like this
function decryptData($data, $p) {
$data = base64_decode($data);
$iIV = mcrypt_create_iv (mcrypt_get_iv_size (MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB),
MCRYPT_RAND);
$sDecrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $p, $data, MCRYPT_MODE_ECB, $iIV);
return(trim($sDecrypted));
}
recently we upgraded our machine to SuSe 8.1 (php4.2.2). The problem is, that the
decryption of data does
not work anymore. I figured out that I have to change MCRYPT_RIJNDAEL_256 to
MCRYPT_RIJNDAEL_128
in order to get fragments of the encrypted text decoded:
function decryptData($data, $p) {
$data = base64_decode($data);
$iIV = mcrypt_create_iv (mcrypt_get_iv_size (MCRYPT_RIJNDAEL_128, MCRYPT_MODE_ECB),
MCRYPT_RAND);
$sDecrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $p, $data, MCRYPT_MODE_ECB, $iIV);
return(trim($sDecrypted));
}
the result looks like that:
www.cyberport.deŒò§v§ÉœlÝh(se
passwd: 33307‰#Cžú´Ÿê"ØÙåXÙG4798
(some info is correct some is scrambled)
Can anybody help retreaving our passwords? Does anybody has a hint, is there
a known bug? Is this a character encoding problem?
Please help.
Best regards.
Joachim Müller
____________________________________________
joachim müller
[EMAIL PROTECTED] . tel +49-69-759003-11
wemove digital solutions
[EMAIL PROTECTED] . tel +49-69-759003-0 . fax +49-69-759003-22
eschersheimer landstrasse 5
60322 frankfurt . germany
http://www.wemove.com/
--- End Message ---
--- Begin Message ---
OS: Win2K
App: Office XP
PHP: 4.2.3
I am trying to use the example in the manual to create a Word COM object.
The Word document is started but there are some warnings when the COM object
is created.
Warning: Type library value emptyenum is already defined and has a different
value in C:\MSWord.php on line 3
The same warning repeated 14 times. I looked at the source and found the
line below causes the warning
$word = new COM("word.application") or die("Unable to instantiate Word");
Could anyone tell me how I could fix the problem?
William Cheung, B.Sc. MCSE MCDBA
Databyte Corp.
--- End Message ---