php-install Digest 24 Mar 2002 23:17:44 -0000 Issue 760
Topics (messages 6451 through 6457):
Perl with apache on win 2000 server
6451 by: Martin
6454 by: Jus me
NEW PHP - Please help.
6452 by: Christopher J. Crane
Install on PWS
6453 by: Numero 6
Install on Apace / Website Pro
6455 by: Jus me
php content not parsed
6456 by: Wayne Ayotte
php with mcrypt configure ERRORS, please help
6457 by: Lucas Spiegel
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 ---
How do I install this and what do i put in
the http.conf...?
Anyone who knows this...
Where can i download a workable Perl ?
--
Martin Eriksson
webdesigner & Utvecklare
----------------------------------------------------------------
[EMAIL PROTECTED]
http://www.svensk-design.com
--- End Message ---
--- Begin Message ---
you can get perl at www.perl.org,
if you find out how do place it in httpd.conf let me know will ya?
At 12:31 PM 3/24/02 +0100, Martin wrote:
>How do I install this and what do i put in
>the http.conf...?
>Anyone who knows this...
>Where can i download a workable Perl ?
>
>--
>Martin Eriksson
>webdesigner & Utvecklare
>----------------------------------------------------------------
>[EMAIL PROTECTED]
>http://www.svensk-design.com
>
>
>
>--
>PHP Install Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
I just downloaded the new version of PHP. I installed it and I am using
Omnicron HTTPD server version 2.09. The PHP that came with the server works,
but when I installed the new version of PHP from PHP.NET, I got the
following error.
<!--- Error Message
Security Alert! PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means
that a page will only be served up if the REDIRECT_STATUS CGI variable is
set. This variable is set, for example, by Apache's Action directive
redirect.
You may disable this restriction by recompiling the PHP binary with
the --disable-force-cgi-redirect switch. If you do this and you have your
PHP CGI binary accessible somewhere in your web tree, people will be able to
circumvent .htaccess security by loading files through the PHP parser. A
good way around this is to define doc_root in your php.ini file to something
other than your top-level DOCUMENT_ROOT. This way you can separate the part
of your web space which uses PHP from the normal part using .htaccess
security. If you do not have any .htaccess restrictions anywhere on your
site you can leave doc_root undefined. If you are running IIS, you may
safely set cgi.force_redirect=0 in php.ini
---!>
I read what it says and also the install.txt file that came from PHP.NET. I
have tried many different configurations with the "force-cgi-redirect "
variable both on and off. I never get it to work. I don't what it means to
assign a variable to the "REDIRECT_STATUS CGI " line in the php.ini file.
Some please help. I tried even going back and repointing the PHP files to
the php.exe that came with the server originally and it still does not work.
I am really stuck now, because nothing works.
--- End Message ---
--- Begin Message ---
I can't manage PHP to work with PWS.
After I install, any php script hangs.
I tried "php.exe -i" in php work directory and it works.
Previously I was working with 4.0.5, and I only replaced old files,
leaving configuration unchanged.
Someone had the same problem?
--- End Message ---
--- Begin Message ---
can someone please tell me what mime type and/or association I use to
install php with web site pro AND Apache
application/php
text/html or what?
Thank you
--- End Message ---
--- Begin Message ---
OK, I installed as per INSTALL, everyhting ok, no errors.
I created the test file test.php: <? phpinfo() ?>.
When I call up this page from a browser I simply get the markup regurgated:
i.e.: <? phpinfo() ?>.
This is the same for any php markup.
Any help would be appreciated.
--- End Message ---
--- Begin Message ---
I'm having a problem installing php with mcrypt support. Here's my setup:
debian linux
Apache/1.3.19
php 4.1.2
libmcrypt 2.5.0 (alternately tried mcrypt 2.2.6 and libmcrypt 2.4.22)
I got libmcrypt to install, but when I try to configure php "with
mcrypt" I get problems.This is what I type to configure php:
./configure --with-mcrypt=/home/myuserdir/php/
And this is the error it gives me:
>checking for mcrypt support... yes
>checking for mcrypt_module_open in -lmcrypt... no
>checking for init_mcrypt in -lmcrypt... no
>configure: error: Sorry
And this is what the configure log says:
>configure:29705: checking for mcrypt_module_open in -lmcrypt
>configure:29726: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -DSHARED_CORE conftest.c -lmcrypt
> -L/home/[path to...]/mcrypt/lib -lltdl
> -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5
>/usr/bin/ld: cannot find -lmcrypt
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 29715 "configure"
>#include "confdefs.h"
>/* Override any gcc2 internal prototype to avoid an error. */
>/* We use char because int might match the return type of a gcc2
> builtin and then its argument prototype would still apply. */
>char mcrypt_module_open();
>
>int main() {
>mcrypt_module_open()
>; return 0; }
>configure:29778: checking for init_mcrypt in -lmcrypt
>configure:29799: gcc -o conftest -g -O2 -DLINUX=22 -DUSE_HSREGEX
>-DEAPI -DUSE_EXPAT -DSHARED_CORE conftest.c -lmcrypt
> -L/home/[path to...]/mcrypt/lib
> -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5
>/usr/bin/ld: cannot find -lmcrypt
>collect2: ld returned 1 exit status
>configure: failed program was:
>#line 29788 "configure"
>#include "confdefs.h"
This is my first time doing this sort of thing, (I've barely even
used telnet before this) so please don't assume I know anything.
Thanks in advance for any help you can give!!
Lucas
--
Fruition Design Collective
http://fruitiondesign.com
Against Patriarchy Conference (Eugene)
http://fruitiondesign.com/againstpatriarchy
Deal With It. (anti-sexist men's zine)
http://fruitiondesign.com/dealwithit
the Insurgent ("news" paper)
http://theinsurgent.org
--- End Message ---