[PHP-INST] small PHP CGI server

2002-06-18 Thread BB
I am trying to write a small CGI webserver. Having finally found out how to pass the Environment vars onto PHP, I am stumpted to find that PHP wasn't reading them and putting them in their place (GET vars). I tried changing the exe from the php-cli to just php. This now brings up a security err

[PHP-INST] How to config the httpd.conf on Apache2 server on Widnows XP?

2002-06-18 Thread Didier Ma
I have installed the Apache2 server and php4.2.1 and it runs sucessfully on my IIS. But I don't know how to config the httpd.conf for Apache2. Please help. D. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-INST] headers already sent!!!!!

2002-06-18 Thread Chris Hewitt
Viraj, It means that, after sending headers, you have sent some text to the browser. You cannot then send more headers, as all headers must be sent before anything else. HTH Chris Viraj Kalinga Abayarathna wrote: >Hello > what is the reson for the error "Headers already sent"? >please

php-install Digest 18 Jun 2002 11:03:02 -0000 Issue 889

2002-06-18 Thread php-install-digest-help
php-install Digest 18 Jun 2002 11:03:02 - Issue 889 Topics (messages 7360 through 7364): PHP4 install as so dies if apache2 not compiled with default layout 7360 by: Norm Mackey headers already sent! 7361 by: Viraj Kalinga Abayarathna 7364 by: Chris Hewitt smal

Re: [PHP-INST] PHP 4.x and Apache 2.x

2002-06-18 Thread Victor Fernandes
Just for the records and to give some hope ;-) I found where the problem is and patched the sources to fix the problem for me. I will not suggest or recommend my solution (patch) because this should be solved when PHP 4 will be fully supported with Apache 2.x. Yes I had this error certainly due

[PHP-INST] Re: headers already sent!!!!!

2002-06-18 Thread BB
You cannot send headers before ANYTHING else if your code starts with so much as a space, then you can't send any headers "Viraj Kalinga Abayarathna" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hello > what is the reson for the error "Headers already sent"? > please explain

[PHP-INST] Small CGI serve

2002-06-18 Thread BB
I am trying to write a small CGI webserver. Having finally found out how to pass the Environment vars onto PHP, I am stumpted to find that PHP wasn't reading them and putting them in their place (GET vars). I tried changing the exe from the php-cli to just php. This now brings up a security err

[PHP-INST] problems installing php with apache 2.0.35

2002-06-18 Thread José Horácio
Hi ! I have apache 2.0.35 installed in a windows 2000 professional machine. It is not an apache update from an older version it is a brend new instalation of apache. I'm trying to install php 4.2.1 as a module in Apache. Following the steps of the install.txt that comes with the php zip "php-4.2.

Re: [PHP-INST] problems installing php with apache 2.0.35

2002-06-18 Thread MikeParton
For PHP 4.2.1 and Apache 2.0.3X you need the following in your httpd.conf: LoadModule php4_module "path_to/php/sapi/php4apache2.dll" AddType application/x-httpd-php .php .phtml AddType application/x-httpd-php-source .phps The php apache dll is php4apache2.dll vs php4apache.dll HTH Mike -

RE: [PHP-INST] GD Lib Support

2002-06-18 Thread Matt Schroebel
Phpinfo should show at least gd, and png support for jpgraph to work. My phpinfo for php-4.1.2 shows: GD Support enabled GD Version 2.0 or higher FreeType Support enabled FreeType Linkage with freetype T1Lib Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled

[PHP-INST] PHP/IIS5 Problem

2002-06-18 Thread Gator
I needed to move a couple of working sites that use PHP scripts to a new Win2K server. The new server runs simple PHP scripts like . But it will not run the scripts where input parameters are added to the URL like: daily.php?week=1&day=1 This runs as if there was no input, like:

RE: [PHP-INST] PHP/IIS5 Problem

2002-06-18 Thread Shrock, Court
This is because register_globals is set to Off in your php.ini. For security reasons, it is best to leave this setting as it is; instead, add some code at the top of your script so that you get what you would expect: $week = $_GET['week']; $day = $_GET['day']; ... The security hole comes in for

[PHP-INST] how to

2002-06-18 Thread tony perez
how to unsuscribe my self from this mailing list? visita BORRACHOS http://www.borrachoz.com antonio pérez guerrero TEL=927-14-62 veracruz, ver. ICQ # 37385673 __ Get Your Free E-mail at http://www.prontomail.com -- PHP Install Mailin

[PHP-INST] Help with PHP 4.2.1 !!!!

2002-06-18 Thread Frank
Hi, How have the PHP 4.2.1 in system Windows or WinNT and manager IIS? I like know, if working good the library php_oci8.dll. Thank you... Frank.-

[PHP-INST] IMAP and I my make and what do I get recursion :)

2002-06-18 Thread php user
At this point in the make I get this error related to --with-imap and --with-ssl-imap ...I believe Making all in . make[1]: Entering directory `/usr/lib/php-4.2.1' /bin/sh /usr/lib/php-4.2.1/libtool --silent --mode=link gcc -I. -I/usr/lib/php-4.2.1/ -I/usr/lib/php-4.2.1/main -I/usr/lib/php-4.2.1

RE: [PHP-INST] Windows Install troubles.

2002-06-18 Thread Viraj Kalinga Abayarathna
Hi, You have done some errornous escapings from php in your script. I did some fewer modifications and now script is working. Compare the ?>'s //end escape here for the first if block //start the html content Unable to connect to the database server at this time. //

php-install Digest 18 Jun 2002 23:57:58 -0000 Issue 890

2002-06-18 Thread php-install-digest-help
php-install Digest 18 Jun 2002 23:57:58 - Issue 890 Topics (messages 7365 through 7376): Re: PHP 4.x and Apache 2.x 7365 by: Victor Fernandes Re: headers already sent! 7366 by: BB Small CGI serve 7367 by: BB problems installing php with apache 2.0.35 7

Re: [PHP-INST] Windows Install troubles.

2002-06-18 Thread MikeParton
You might want to look at "echo"ing your HTML inside your php code. Seems more simple to me. So, what you have here would look like: $dbuser = "username"; > $dbpass = "password"; > $db = "databssename"; > $LoginDB=@mysql_connect($dbhost, $dbuser, $dbpass); or die("Unable to connect to

[PHP-INST] PHP 4.2.1 not working with Apache 2.0.39

2002-06-18 Thread Christian Stadler
Hi, I've just tried to upgrade from apache 2.0.36 to apache 2.0.39 on my Win32-system, but I couldn't get to run it with the PHP-apache-module I'm getting the following error: >apache: module "c:\php4build\snap\sapi\apache2filter\sapi_apache2.c" is not compatible with this version of apache. No

[PHP-INST] PHP and Sybase

2002-06-18 Thread Robert Neumann
Hello, this is my situation: on my windows2000 pc I installed Apache 1.3.26, PHP 4.0.4 and Sybase Open Client; on my linux redhat 7.2 pc Sybase ASE 11.9.2 is installed. The Sybase server works and I also can access it from my windows pc via open client. Apache and PHP also work fine on the window