php-install Digest 28 Oct 2002 20:28:42 -0000 Issue 1092
Topics (messages 8938 through 8941):
problem with installation of PHP
8938 by: bkodi001.fiu.edu
4.3pre2 Mcrypt Compile Failure
8939 by: Mitch Vincent
have php parse .html files, no access to server setup.
8940 by: Robert Foster
8941 by: Jim Thome
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 have installed php on win2k and IIS as webserver.i edited php.ini file: file as
explained in install file
extension_dir= C:\php\php-4.2.3-Win32\extensions
but its still giving me erros as shown below.
help me
Warning: Failed opening 'c:\inetpub\wwwroot\phpinfo.php' for inclusion
(include_path='.;c:\php4\pear') in Unknown on line 0
Bhargavi Kodiparthi
1441 SW 104th PATH
#105,miami
Fl-33174.
ph#:305-299-2938.
--- End Message ---
--- Begin Message ---
OS 10.2.1 - Latest libmcrypt.
Seems to have something to do with compatibility with older mcrypt
libs, but even after some hacking I couldn't get it to work right...
gcc -Iext/mcrypt/ -I/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/
-DPHP_ATOM_INC -I/Users/mitch/desktop/php-4.3.0pre2/include
-I/Users/mitch/desktop/php-4.3.0pre2/main
-I/Users/mitch/desktop/php-4.3.0pre2
-I/Users/mitch/desktop/php-4.3.0pre2/Zend -I/usr/local/include
-I/usr/local/pgsql/include
-I/Users/mitch/desktop/php-4.3.0pre2/ext/xml/expat -no-cpp-precomp
-no-cpp-precomp -I/Users/mitch/desktop/php-4.3.0pre2/TSRM -g -O2 -c
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c -o
ext/mcrypt/mcrypt.o && echo > ext/mcrypt/mcrypt.lo
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning: as it has already been specified as a non-system
directory
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:222:1: warning:
"MCRYPT_FAILED" redefined
In file included from
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:34:
/usr/local/include/mcrypt.h:30:1: warning: this is the location of the
previous definition
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c: In function
`zm_startup_mcrypt':
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:272: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:273: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:274:
`MCRYPT_BLOWFISH_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:274: (Each
undeclared identifier is reported only once
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:274: for each
function it appears in.)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:275:
`MCRYPT_BLOWFISH_192' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:276:
`MCRYPT_BLOWFISH_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:277:
`MCRYPT_BLOWFISH_448' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:278: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:279: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:280: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:281: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:282:
`MCRYPT_IDEA' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:283: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:284: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:285: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:286: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:287:
`MCRYPT_RC2_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:288:
`MCRYPT_RC2_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:289:
`MCRYPT_RC2_1024' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:290:
`MCRYPT_RC4' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:291:
`MCRYPT_RC6_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:292:
`MCRYPT_RC6_192' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:293:
`MCRYPT_RC6_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:294:
`MCRYPT_SAFER_64' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:295:
`MCRYPT_SAFER_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:296: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:297:
`MCRYPT_SERPENT_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:298:
`MCRYPT_SERPENT_192' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:299:
`MCRYPT_SERPENT_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:300:
`MCRYPT_TWOFISH_128' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:301:
`MCRYPT_TWOFISH_192' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:302:
`MCRYPT_TWOFISH_256' undeclared (first use in this function)
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:303: warning:
passing arg 3 of `zend_register_long_constant' makes integer from
pointer without a cast
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c: In function
`zif_mcrypt_get_cipher_name':
/Users/mitch/desktop/php-4.3.0pre2/ext/mcrypt/mcrypt.c:1495: warning:
assignment makes pointer from integer without a cast
make: *** [ext/mcrypt/mcrypt.lo] Error 1
--- End Message ---
--- Begin Message ---
I would like to be able to have my Hosted web server parse my .html
files for php commands also, instead of just files with the .php
extension. Currently only .php files are parsed by PHP. Is it possible
to do this with an .htaccess file? What directory should I put the
.htaccess file in? An example would be great.
Also, any security problems having .html files parsed by php for php
commands?
Thanks,
Bob.
--- End Message ---
--- Begin Message ---
Bob,
Add this line to your .htaccess file:
AddType application/x-httpd-php .html
No security problems, just an added load on your server to parse (potentially) static
files.
Jim
>>> Robert Foster <[EMAIL PROTECTED]> 10/28/02 12:46PM >>>
I would like to be able to have my Hosted web server parse my .html
files for php commands also, instead of just files with the .php
extension. Currently only .php files are parsed by PHP. Is it possible
to do this with an .htaccess file? What directory should I put the
.htaccess file in? An example would be great.
Also, any security problems having .html files parsed by php for php
commands?
Thanks,
Bob.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---