php-install Digest 30 Mar 2002 02:00:24 -0000 Issue 768
Topics (messages 6499 through 6508):
Re: If PHP-HP=P; then P=Problem; else PHM=please help me :)
6499 by: Jonathan Hilgeman
Session Cookies
6500 by: Lee Leahu
6501 by: Jim Thome
really simple question
6502 by: Vasiliy Boulytchev
6504 by: Yasuo Ohgaki
php failing from within .html pages...
6503 by: LRB
>From Newman: What is this message?
6505 by: Philip J. Newman
Uninstalling mcrypt & php
6506 by: Lucas Spiegel
6507 by: Hunter, Ray
Installing PHP on Win98 with PWS
6508 by: Brett Moyer
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 ---
This sounds like the compiler can't include the different system header
files like sys/time.h which would declare and clear up errors looking like
this:
zend_execute_API.c:788: `ITIMER_PROF' undeclared (first use in this
function)
My guess is that you need to make sure your compiler's include path is set
correctly to include the necessary files. On my FreeBSD machine, the
sys/time.h file was actually /usr/include/sys/time.h, so my include path has
to have "/usr/include" in it.
- Jonathan
--- End Message ---
--- Begin Message ---
Hello Everyone,
I am managing a web server that runs Apache and PHP 4.0.6.
We have a few customers that use cookies for their sessions.
I have a new customer that wants to have his Session ID put in his URL and
not use Cookies.
Is there a way to configure php to not use cookies for session for a specific
site?
Thank you,
Lee Leahu
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Recompile with --enable-trans-sid.
>>> Lee Leahu <[EMAIL PROTECTED]> 03/29/02 10:35AM >>>
Hello Everyone,
I am managing a web server that runs Apache and PHP 4.0.6.
We have a few customers that use cookies for their sessions.
I have a new customer that wants to have his Session ID put in his URL and
not use Cookies.
Is there a way to configure php to not use cookies for session for a specific
site?
Thank you,
Lee Leahu
[EMAIL PROTECTED]
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Ladies and Gents,
How can I tell what version of php I am running? I've just upgraded and want to know
if it worked.
can't i do something like this and pull it up with a browser?
<?php
phpinfo
?>
Any other way?
Thanks,
Vasiliy Boulytchev
Colorado Information Technologies Inc.
--- End Message ---
--- Begin Message ---
Vasiliy Boulytchev wrote:
> Ladies and Gents,
>
> How can I tell what version of php I am running? I've just upgraded and want to
>know if it worked.
>
>
> can't i do something like this and pull it up with a browser?
> <?php
> phpinfo
> ?>
>
> Any other way?
<?php
echo phpversion();
?>
PHP4.2.0 will have constant
<?php
echo PHP_VERSION;
?>
--
Yasuo Ohgaki
>
> Thanks,
>
> Vasiliy Boulytchev
> Colorado Information Technologies Inc.
>
--- End Message ---
--- Begin Message ---
Anybody?
I've set up an account on Interland on using Linux.
The way they have their cgi php installed php only works within .php or
.phtml pages, which is not acceptable for my use.
Their tech guys can't help.
Example:
<html>
<body>
<?php include "blah.php"; ?>
</body>
</html>
...displays only html, and the php tag is visible in source code.
I tried installing a .htaccess file in the site root, which doesn't help
either:
"AddType application/x-httpd-php .html"
this worked on another host, but not Interland.
Help??
Thanks very much,
Lenny Brandriet
Oakland, CA, USA
--- End Message ---
--- Begin 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.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
[EMAIL PROTECTED]
ICQ# 20482482
+64 25 6144012
--- End Message ---
--- Begin Message ---
So how would I go about *uninstalling* mcrypt and/or php if I want to
"start clean" and try again?
Thanks,
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 ---
--- Begin Message ---
In mcrypt do a "make clean" and if php was compiled in do a make clean as
well or remove the rpms...Also delete the config.cache files too.
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
> -----Original Message-----
> From: Lucas Spiegel [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 29, 2002 3:31 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Uninstalling mcrypt & php
>
>
> So how would I go about *uninstalling* mcrypt and/or php if I want to
> "start clean" and try again?
> Thanks,
> 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
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Can anyone help I followed all inst. in the books I have and in the dl
documents that came with Php but when I try a page it bombs
Brett Moyer
407-851-7913
[EMAIL PROTECTED]
--- End Message ---