[PHP-INST] PHP install question

2002-10-14 Thread Sean M Lentner
I got php with gettext, ldap, imap & mysql installed and running but I don't think I have PHP registered properly. On my RH linux box I can do a which php and get the location but on OpenBSD I just get which php php: Command not found. which ls /bin/ls any ideas? Also I can access test.php

[PHP-INST] php /apache install problems

2002-10-14 Thread electroteque
hi guys having apache2filter errors compiling php 4.2.2 and 4.3 against both apache 2.0.39 and 2.0.43 php_functions.c:93:27: missing binary operator before '!' make[3]: *** [php_functions.lo] Error 1 make[3]: Leaving directory `/usr/local/etc/php-4.2.2/sapi/apache2filter' make[2]: *** [all-rec

[PHP-INST] phpMyAdmin

2002-10-14 Thread Marcus Van Wyk
Hi there I've just gone and setup PhpMyAdmin I've done what the install file told me to do. And as soon as I load the index.php to the browser I see the DB e.g MySQL test as soon as I click on one of them it replies saying No tables found in database this is the same for MySQL and test. I

[PHP-INST] RE: [PHP-DEV] Re: Apache 2 & incorrect 304 response to "If-Modified-Since"

2002-10-14 Thread James Cox
I don't particularly like the look of this patch... we should fix 304's properly... > > > > --- sapi/apache2filter/sapi_apache2.c~ Fri Aug 16 07:27:03 2002 > > +++ sapi/apache2filter/sapi_apache2.c Mon Oct 14 23:27:26 2002 > > @@ -558,14 +558,24 @@ > > return OK; > > } > > > > +static

php-install Digest 15 Oct 2002 00:46:42 -0000 Issue 1069

2002-10-14 Thread php-install-digest-help
php-install Digest 15 Oct 2002 00:46:42 - Issue 1069 Topics (messages 8781 through 8804): Re: PHP 4.2.3 and Apache 2.0.43 8781 by: Jason Wood Cobalt and Zend Optimizer 8782 by: Francis call of undefined function setfetchmode() 8783 by: christine kreuter using jpeg

[PHP-INST] Re: Apache 2 & incorrect 304 response to "If-Modified-Since"

2002-10-14 Thread Yasuo Ohgaki
Takagi Ryo wrote: > Hi, > > I've been trying to set up PHP 4.2.3 that works with Apache 2.0.43 > running on Red Hat Linux 6.2 server, but could not find a way to let it > reply correctly to requests with If-Modified-Since: header other than to > modify PHP source code. Try CVS version. > > Bel

Re: [PHP-INST] Problems with PHP 4.2.3 & IIS 5.1 & WinXP

2002-10-14 Thread David Barrett
Hehe... I love quick solutions... not... The problem has got to be with PHP 4.2.3. I have the same using it under Apache 2.whatever the latest stable release is. And my php.ini is the same as it is on all my other installations. Mind you, in my case the problem could be Apache, too... the abov

Re: [PHP-INST] Problems with PHP 4.2.3 & IIS 5.1 & WinXP

2002-10-14 Thread Stuart
On Monday, Oct 14, 2002, at 21:45 Europe/London, Punisher wrote: > I am unable to run scripts on IIS with WinXP IIS Server ... > > I installed PHP as cgi .. > Normal scripts work, but when I try to handle variables, from a form > for > example ( a little checkbox that should check if a licence w

[PHP-INST] php with jpeg support.

2002-10-14 Thread New Disorder Records
For whatever reason, my system would not compile php with jpeg support, so I forced it by adding this line to ext/gd/php_gd.h and main/php_config.h: #define HAVE_GD_JPEG 1 This took me hours to figure out, hopefully this email can help someone else out in the future. This only works, of cou

[PHP-INST] Re: PHP Install on Win2kPro + Apache 1.3.27 + PHP 4.2.3

2002-10-14 Thread David Barrett
Did you add a "LoadModule" command to the Apache config? This is needed, and was the point at which Apache started giving me errors... but that was with Apache 2 - the method definitely does work for Apache 1.3.27. "Max Salviejo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

[PHP-INST] Re: Install errors on XP/Apache2.0.43/PHP4.2.3

2002-10-14 Thread David Barrett
I also am trying to get Apache2.0.43/PHP4.2.3 to work on a Win2k machine, and have had limited success. I have got PHP working, but couldn't use the module approach... I had to add these lines to httpd.conf: ScriptAlias /php/ "C:/PHP/" AddType application/x-httpd-php .phtml .php .php3 Action appl

[PHP-INST] using jpegs (fwd)

2002-10-14 Thread New Disorder Records
As an added bit of information, the code below produces the same sort of error if I replace the last line with imagepng($im) Hi, I have installed php several times, but this is the first time I've tried to make image generation work. I compiled php against gd-1.8.4, yet when I run this co

[PHP-INST] Problems with PHP 4.2.3 & IIS 5.1 & WinXP

2002-10-14 Thread Punisher
I am unable to run scripts on IIS with WinXP IIS Server ... I installed PHP as cgi .. Normal scripts work, but when I try to handle variables, from a form for example ( a little checkbox that should check if a licence was accepted )… It does not work .. the variable isn’t handled by the script

Re: [PHP-INST] php+apache problem

2002-10-14 Thread Jeffrey_N_Dyke
you need to configure your httpd.conf. with these lines, where appropriate LoadModule rewrite_module libexec/mod_rewrite.so LoadModule php4_modulelibexec/libphp4.so AddModule mod_php4.c AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps This should

Re: [PHP-INST] php+apache problem

2002-10-14 Thread Marco Tabini
This sounds like an Apache issue. Have you compiled PHP as a module? If so, did you add the appropriate entries in your httpd.conf? You can find the instructions in the PHP manual. On Mon, 2002-10-14 at 16:07, Marcus Van Wyk wrote: > Hi there > Hoping to find some help here > > I have a Linux 8

[PHP-INST] php+apache problem

2002-10-14 Thread Marcus Van Wyk
Hi there Hoping to find some help here I have a Linux 8 box I'm trying to set up MySQL to work with php.4.2.3 to work with apache.1.3 I've gone through a very descriptive howto to install. But as soon as I load a .php page to the browser it tries to download any help on how to fix this would

Re: [PHP-INST] using jpegs

2002-10-14 Thread New Disorder Records
I looked, and I can't figure out why it wouldn't set HAVE_GD_JPG, and I couldn't find any reason, so I modified config and the Makefile so that it is set: #define HAVE_GD_JPG 1 However, that didn't help any. When I compile php and libphp.so, the Makefile includes -ljpeg. When I run strings

[PHP-INST] Apache 2 & incorrect 304 response to "If-Modified-Since"

2002-10-14 Thread TAKAGI Ryo
Hi, I've been trying to set up PHP 4.2.3 that works with Apache 2.0.43 running on Red Hat Linux 6.2 server, but could not find a way to let it reply correctly to requests with If-Modified-Since: header other than to modify PHP source code. Below is the patch I am using now, which is "borrowed" f

Re: [PHP-INST] using jpegs

2002-10-14 Thread Rasmus Lerdorf
Well, trace through the code and figure out why HAVE_GD_JPG is not defined in php_config.h. ext/gd/config.m4 checks libgd for gdImageCreateFromJpeg and sets HAVE_GD_JPG accordingly. -Rasmus On Mon, 14 Oct 2002, New Disorder Records wrote: > my config file says nothing about not finding jpegs.

Re: [PHP-INST] using jpegs

2002-10-14 Thread New Disorder Records
my config file says nothing about not finding jpegs. what it says is this: configure:22952: checking for the location of libjpeg configure:23013: checking for jpeg_read_header in -ljpeg no errors. On Mon, 14 Oct 2002, Rasmus Lerdorf wrote: > Then check your config.log file to see why the PH

Re: [PHP-INST] using jpegs

2002-10-14 Thread Rasmus Lerdorf
Then check your config.log file to see why the PHP configure check failed to find it. On Mon, 14 Oct 2002, New Disorder Records wrote: > I just tested it, and yes, GD was built with jpeg support. I wrote a > short C program that uses gd and jpegs, and it works fine. > > -Ernst > > On Mon, 14 Oc

Re: [PHP-INST] using jpegs

2002-10-14 Thread New Disorder Records
I doubt it, there is only one version of libgd. Here is my configuration command: ./configure --with-gd=/home/ernst/gd-1.8.4 --with-jpeg-dir=/usr/lib --with-sybase-ct=/opt/sybase-11.9.2 --enable-gd-native-ttf --with-apache=../apache_1.3.26 Thanks for any help On Mon, 14 Oct 2002, Tomasz Orz

Re: [PHP-INST] using jpegs

2002-10-14 Thread New Disorder Records
I just tested it, and yes, GD was built with jpeg support. I wrote a short C program that uses gd and jpegs, and it works fine. -Ernst On Mon, 14 Oct 2002, New Disorder Records wrote: > but my gd library WAS built with jpeg support. as far as I can tell. > I've built GD a number of times o

Re: [PHP-INST] using jpegs

2002-10-14 Thread New Disorder Records
but my gd library WAS built with jpeg support. as far as I can tell. I've built GD a number of times on other machines and always use jpegs. Any other ideas? On Mon, 14 Oct 2002, Rasmus Lerdorf wrote: > Your GD library was not built with jpeg support. > > On Mon, 14 Oct 2002, New Disorder Re

Re: [PHP-INST] using jpegs

2002-10-14 Thread Rasmus Lerdorf
Your GD library was not built with jpeg support. On Mon, 14 Oct 2002, New Disorder Records wrote: > Hi, > I have installed php several times, but this is the first time I've > tried to make image generation work. I compiled php against gd-1.8.4, yet > when I run this code: > > header("Content

[PHP-INST] using jpegs

2002-10-14 Thread New Disorder Records
Hi, I have installed php several times, but this is the first time I've tried to make image generation work. I compiled php against gd-1.8.4, yet when I run this code: header("Content-type: image/jpeg"); $im = imagecreate(50,100); $white = imagecolorallocate($im, 255,255,255); $black = imag

[PHP-INST] call of undefined function setfetchmode()

2002-10-14 Thread christine kreuter
Hi, I used installer package FoxServ to setup Apache/2.0.39 (Win32) PHP/4.2.2 /MySQL 3.23.39. I have following problem now: If I try to run a certain php-script I get following error: Fatal error: Call to undefined function: setfetchmode() in C:\Webserver\www\config.inc.php on line 15 Calling

[PHP-INST] Cobalt and Zend Optimizer

2002-10-14 Thread Francis
Ok trying and failing to install Zend on a cobalt box... anybody done this? I keep getting the script aborting: "Zend Optimizer installation script was aborted. The process was not completed successfully. " useful but not that useful.. HELP! :) -- PHP Install Mailing List (http://www.php.ne

[PHP-INST] Re: PHP 4.2.3 and Apache 2.0.43

2002-10-14 Thread Jason Wood
Aaron- As far as i can tell, PHP4.2.3 and Apache 2.0.43 do NOT work together. Someone posted a link to a newer version of php: http://snaps.php.net/win32/php4-win32-latest.zip I have not tried this, but give it a shot. -- Jason Wood Chief Technology Officer Expressive Tek, In

php-install Digest 14 Oct 2002 12:25:23 -0000 Issue 1068

2002-10-14 Thread php-install-digest-help
php-install Digest 14 Oct 2002 12:25:23 - Issue 1068 Topics (messages 8778 through 8780): New Question 8778 by: Jared Dame 8779 by: Marco Tabini PHP Installation Problem 8780 by: zULu Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To

[PHP-INST] PHP Installation Problem

2002-10-14 Thread zULu
Hi, I need help installing PHP on a Linux Red Hat 7 I downloaded the tar.gz distribution, decompressed, and put: ./configure, but i forgot the options, so i press control+c to stop the process, write the line to put ./configure --options.. and hit enter, the scripts says that only one con