php-install Digest 3 Oct 2002 06:15:16 -0000 Issue 1051

Topics (messages 8644 through 8651):

MCK,CYBERCASH PHP 4.2.3
        8644 by: Mark Carroll

cant re-compile php with newer gd and png
        8645 by: Bryan Koschmann - GKT
        8646 by: Jens Rosenthal
        8647 by: Bryan Koschmann - GKT

Security question
        8648 by: Brian.Duke.Level3.com
        8649 by: Rasmus Lerdorf

apache13-modssl + mod_php4, php not interpreted
        8650 by: ns

PROBLEM IN INSTALLING
        8651 by: Kishore Hejmady

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 ---
I ran into a config problem with the MCK and cybercash. The following worked
fine with php 4.1.2 with 4.2.2 and 4.2.3 I run into a make error:

=============================================================
./configure --with-apxs=/usr/sbin/apxs --with-cybercash=/usr/www/www-utils/m
ck-3.3.1-i586-pc-linux-gnulibc2.1

The Error I receive is below:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
/usr/bin/ld: cannot find -lmckcrypto
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/www/www-utils/php-4.2.3'
make: *** [all-recursive] Error 1
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Any Ideas?

Thanks in advance for your responce.
Mark


--- End Message ---
--- Begin Message ---
Hello,

I've had php 4.2.3 running just fine, and now I am trying to reconfigure
it to att freetype png and gd support. My configure command looks like
this:

./configure --with-mysql=/usr/local/mysql --enable-force-cgi-redirect
--with-gettext --with-snmp=/usr/local/include/ucd-snmp
--enable-ucd-snmp-hack --with-gd --enable-gd-native-ttf
--with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib
--with-zlib-dir=/usr/include
--with-freetype-dir=/usr/local/include/freetype2 --with-ttf -with-curl
--with-apxs2=/usr/local/apache2/bin/apxs

and finished fine without errors. Now, when running make, I get this:

gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1627: structure has no member named `tpixels'
gd.c: In function `php_imagettftext_common':
gd.c:2809: warning: passing arg 2 of `virtual_filepath' from incompatible
pointer type
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext'
make: *** [all-recursive] Error 1

Can someone give me any ideas? This is:

php 4.2.3
gd 2.0.1
freetype 2


Thanks!

        Bryan

--- End Message ---
--- Begin Message ---
did you compile your gd 2.01 with freetype support?
Without recompiling your gd I don't think it will work...

greetings
Jens

-----Ursprungliche Nachricht-----
Von: Bryan Koschmann - GKT [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 2. Oktober 2002 20:47
An: PHP Install List
Betreff: [PHP-INST] cant re-compile php with newer gd and png


Hello,

I've had php 4.2.3 running just fine, and now I am trying to reconfigure
it to att freetype png and gd support. My configure command looks like
this:

./configure --with-mysql=/usr/local/mysql --enable-force-cgi-redirect
--with-gettext --with-snmp=/usr/local/include/ucd-snmp
--enable-ucd-snmp-hack --with-gd --enable-gd-native-ttf
--with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib
--with-zlib-dir=/usr/include
--with-freetype-dir=/usr/local/include/freetype2 --with-ttf -with-curl
--with-apxs2=/usr/local/apache2/bin/apxs

and finished fine without errors. Now, when running make, I get this:

gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a cast
gd.c: In function `zif_imagecolorat':
gd.c:1627: structure has no member named `tpixels'
gd.c: In function `php_imagettftext_common':
gd.c:2809: warning: passing arg 2 of `virtual_filepath' from incompatible
pointer type
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext'
make: *** [all-recursive] Error 1

Can someone give me any ideas? This is:

php 4.2.3
gd 2.0.1
freetype 2


Thanks!

        Bryan


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


--- End Message ---
--- Begin Message ---
I had it compiled with freetype support and everything was fine there.
But, I had the --with-ttf switched on configure in PHP, so I took that
off and it worked!

Thanks,

        Bryan


On Wed, 2 Oct 2002, Jens Rosenthal wrote:

|did you compile your gd 2.01 with freetype support?
|Without recompiling your gd I don't think it will work...
|
|greetings
|Jens
|
|-----Ursprungliche Nachricht-----
|Von: Bryan Koschmann - GKT [mailto:[EMAIL PROTECTED]]
|Gesendet: Mittwoch, 2. Oktober 2002 20:47
|An: PHP Install List
|Betreff: [PHP-INST] cant re-compile php with newer gd and png
|
|
|Hello,
|
|I've had php 4.2.3 running just fine, and now I am trying to reconfigure
|it to att freetype png and gd support. My configure command looks like
|this:
|
|./configure --with-mysql=/usr/local/mysql --enable-force-cgi-redirect
|--with-gettext --with-snmp=/usr/local/include/ucd-snmp
|--enable-ucd-snmp-hack --with-gd --enable-gd-native-ttf
|--with-png-dir=/usr/lib --with-jpeg-dir=/usr/lib
|--with-zlib-dir=/usr/include
|--with-freetype-dir=/usr/local/include/freetype2 --with-ttf -with-curl
|--with-apxs2=/usr/local/apache2/bin/apxs
|
|and finished fine without errors. Now, when running make, I get this:
|
|gd.c: In function `zm_startup_gd':
|gd.c:303: `gdArc' undeclared (first use in this function)
|gd.c:303: (Each undeclared identifier is reported only once
|gd.c:303: for each function it appears in.)
|gd.c:304: `gdPie' undeclared (first use in this function)
|gd.c:305: `gdChord' undeclared (first use in this function)
|gd.c:306: `gdNoFill' undeclared (first use in this function)
|gd.c:307: `gdEdged' undeclared (first use in this function)
|gd.c: In function `zif_imagecreatetruecolor':
|gd.c:588: warning: assignment makes pointer from integer without a cast
|gd.c: In function `zif_imagecolorat':
|gd.c:1627: structure has no member named `tpixels'
|gd.c: In function `php_imagettftext_common':
|gd.c:2809: warning: passing arg 2 of `virtual_filepath' from incompatible
|pointer type
|make[3]: *** [gd.lo] Error 1
|make[3]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext/gd'
|make[2]: *** [all-recursive] Error 1
|make[2]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext/gd'
|make[1]: *** [all-recursive] Error 1
|make[1]: Leaving directory `/home/bryank/tarball/php-4.2.3/ext'
|make: *** [all-recursive] Error 1
|
|Can someone give me any ideas? This is:
|
|php 4.2.3
|gd 2.0.1
|freetype 2
|
|
|Thanks!
|
|       Bryan
|
|
|

--- End Message ---
--- Begin Message ---
I have built a nice admin login for my site. Works great. Uses the mySql
database to store the uname and pass. But if I insert into my table a
PASSWORD('password') so that the password is encrypted I'm not sure how my
PHP script could check to ensure the password is the same. How can I encrypt
the users passwd (via php)so that it matches the same password I put into
the database? 
--- End Message ---
--- Begin Message ---
crypt()

On Wed, 2 Oct 2002 [EMAIL PROTECTED] wrote:

> I have built a nice admin login for my site. Works great. Uses the mySql
> database to store the uname and pass. But if I insert into my table a
> PASSWORD('password') so that the password is encrypted I'm not sure how my
> PHP script could check to ensure the password is the same. How can I encrypt
> the users passwd (via php)so that it matches the same password I put into
> the database?
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Hello,

I have a problem with php not being interpreted now that I have
started using apache13-modssl instead of apache13. 

I am running freebsd 4.6-RELEASE. The procedure I went through
was removing mod_php4 then removing apache. I then changed the
dependency of mod_php4 to use apache13-modssl and recompiled.

The web server starts fine using ssl but the php web pages are
not interpreted. I have the following lines in my http.conf 
file which leads me to believe the php modules are being loaded

-----------
<IfDefine SSL>
LoadModule ssl_module         libexec/apache/libssl.so
LoadModule php4_module        libexec/apache/libphp4.so
</IfDefine>
.
.
.
.
<IfDefine SSL>
AddModule mod_ssl.c
AddModule mod_php4.c
</IfDefine>
-----------


Does anybody have any ideas?

Cheers,

Nigel
--- End Message ---
--- Begin Message ---
The configration and environment of my pc is as under

RAM 32MB
Intel Pentium Processor

Microsoft Windows 98 Second Edition 4.10.2222 A

Apache HTTP Server Version 1.3
PHP version4

PHP as server module

While i start the apache server or php.exe, the apache server runs with 
errors.  For example eventhough the php_ifx.dll, php_mcrypt.dll, 
php_oci8.dll, php_oracle.dll, etc. is present in 
C:\kishore\php\php-4.2.3-Win32\extensions directory it diplays

Unable to load dynamic library 
'C:\kishore\php\php-4.2.3-Win32\extensions\php_ifx.dll' - One of the library 
files needed to run this application cannot be found.
Unable to load dynamic library 
'C:\kishore\php\php-4.2.3-Win32\extensions\php_mcrypt.dll' - One of the 
library files needed to run this application cannot be found.
Unable to load dynamic library 
'C:\kishore\php\php-4.2.3-Win32\extensions\php_oci8.dll' - One of the 
library files needed to run this application cannot be found.
Unable to load dynamic library 
'C:\kishore\php\php-4.2.3-Win32\extensions\php_oracle.dll' - One of the 
library files needed to run this application cannot be found.

AT THE END IT DISPLAYS

this program has performed an illegal operation and will be shut down.

with

APACHE caused an invalid page fault in
module PHP_IISFUNC.DLL at 017f:01fc10c3.
Registers:
EAX=00000000 CS=017f EIP=01fc10c3 EFLGS=00010246
EBX=0097bc00 SS=0187 ESP=0063dae4 EBP=7800138e
ECX=007d9d60 DS=0187 ESI=007cf650 FS=11b7
EDX=0000001a ES=0187 EDI=00762190 GS=0000
Bytes at CS:EIP:
8b 08 ff 51 08 c3 90 90 90 90 90 90 90 81 ec 34
Stack dump:
00000000 01fc285a 00762190 008f4c13 00000001 0000001c 00762190 007cf6a0 
007d4b70 008fcbc7 007cf650 bff77590 00762190 000000ec 00000000 008fb375


Kindly HELP ME.


Regards
Kishore H.



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx

--- End Message ---

Reply via email to