Re: PHP3 files on Apache 1.3.26 and PHP4

2002-09-17 Thread Charles Baker
--- Charles Baker <[EMAIL PROTECTED]> wrote: > I'm running apache 1.3.26 and php4. I've never tried > to do anything w/ php on my server. I installed an > app > that has php3 files. When I try to browse the app, I > get a mime-type error. Galeon doesn't seem to know > what to do...I think the fol

RE: Php3 Problems

2002-06-09 Thread Steve Barr
Nik, > > AddType application/x-httpd-php .php .php3 .php4 > > AddType application/x-httpd-php-source .phps You have just these two lines in you Apache config for PHP? In your first post, you show conflicting entries. There should only be one "AddType application/x-httpd-php" line, and one "Ad

Re: Php3 Problems

2002-06-09 Thread Nik Engel
Hi Steve! > # And for PHP 4.x, use: > # > AddType application/x-httpd-php .php .php3 .php4 > AddType application/x-httpd-php-source .phps DoesnŽt help me at all. Unfortunatly i tried all reasonable combinations. But when i try to open a php3 page my browser always tries to download the file... Wh

RE: Php3 Problems

2002-06-09 Thread Steve Barr
> I have apache 1.3 running with php4 on debian woody. > Unfortunatly my webserver cannot parse any php3 files. > When i want to open files with this ending i get an unknown mime typ. > i have added all mime types, as far as i am concerned: > > > AddType application/x-httpd-php .php > A

Re: php3 + recent security patch debs

2002-03-02 Thread Paul 'Baloo' Johnson
On Sat, 2 Mar 2002, Joseph Maher wrote: > In case anyone cares, I rebuilt php3 for potato i386, with the recent > security patch[1] applied. Thank you! -- Baloo

Re: PHP3 and mysql

2001-05-15 Thread John Griffiths
>wendy:/etc/php3/apache# apt-get install php3-mysql >Reading Package Lists... Done >Building Dependency Tree... Done >Sorry, php3-mysql is already the newest version >0 packages upgraded, 0 newly installed, 0 to remove and 56 not upgraded. > >Any idea? 56 not upgraded?

Re: PHP3 and mysql

2001-05-15 Thread Keneth
it said: wendy:/etc/php3/apache# apt-get install php3-mysql Reading Package Lists... Done Building Dependency Tree... Done Sorry, php3-mysql is already the newest version 0 packages upgraded, 0 newly installed, 0 to remove and 56 not upgraded. Any idea? > > > > Fatal error: Call to unsupported o

Re: PHP3 and mysql

2001-05-15 Thread John Griffiths
> > Fatal error: Call to unsupported or undefined function mysql_connect() in >/var/www/template.inc on line 122 > (I can connect to the mysql server locally.) > >Could anyone tell me how to fix it? Thank in advanced! > #apt-get install php3-mysql ususally fixes this one for me.

Re: PHP3 cgi/apache

2000-06-01 Thread Viktor Rosenfeld
Andrew McRobert wrote: > > hi > > ...pls excuse the dumb-ness of this qstn, but how do I tell if I'm running > php3-apache OR php3-cgi? does the former run automatically when apache runs? > (provided there's a valid php3.ini file). If so, then how does php3-cgi run? php3-cgi runs like any other

RE: php3 package - how to install mysql into it

2000-05-11 Thread Sean 'Shaleh' Perry
On 11-May-2000 Chris Mason wrote: > I'm installing apache and php3/mysql using dselect, but there is no mysql > support present in php after I install the package. Is there a way to > configure this? > you have to enable the module in /etc/php3 (or some such directory in /etc it may have moved).

Re: php3 supporting MySQL

2000-05-08 Thread Viktor Rosenfeld
Gergely Madarasz wrote: > > On Mon, 8 May 2000, Umum Wijoyo wrote: > > > Hello again... > > > > I've installed these following .deb packages: > > > > - apache --> works fine! > > - MySQL --> works fine! > > - PHP3 --> why can't it support MySQL? > > > > Can anybody help me with this? > > inst

Re: php3 supporting MySQL

2000-05-08 Thread Gergely Madarasz
On Mon, 8 May 2000, Umum Wijoyo wrote: > Hello again... > > I've installed these following .deb packages: > > - apache --> works fine! > - MySQL --> works fine! > - PHP3 --> why can't it support MySQL? > > Can anybody help me with this? install php3-mysql and add the following line to php3.

RE: php3 supporting MySQL

2000-05-08 Thread Dominic Blythe
perhaps the binary wasn't compiled using the --with-mysql option. You may have to get the source and compile it yourself. > -Original Message- > From: Umum Wijoyo [mailto:[EMAIL PROTECTED] > Sent: 08 May 2000 06:15 > To: debian-user@lists.debian.org > Subject: php3 supporting MySQL > >

Re: php3-mode for xemacs

2000-05-04 Thread Damon Muller
Quoth martin, > short question: does anyone know of a php3 mode for xemacs? > > developing php3 in html-mode is sort of annoying :-) Short answer -> not that I know of, but I've heard that some of the various C modes work well. I personally use gvim. If vi is not your cup-of-tea, so be it, but

Re: php3-mode for xemacs

2000-05-04 Thread Arcady Genkin
martin <[EMAIL PROTECTED]> writes: > short question: does anyone know of a php3 mode for xemacs? > > developing php3 in html-mode is sort of annoying :-) http://www.cs.huji.ac.il/~baryudin/php3_mode.html -- Arcady Genkin http://www.thpoon.com Nostalgia isn't what

Re: php3-pgsql module not loading?

2000-04-13 Thread Oliver Elphick
Andrew Sullivan wrote: >Hi, > >I'm looking to see if anyone has php3-pgsql working against postgresql 7 >(from the unstable tree). I had it all working nicely under potato, but I >saw that postgresql 7 was out, and I _really_ need foreign keys. (A lack of ... >Does the module need to

RE: php3 does not support postgres?

2000-03-07 Thread Sean 'Shaleh' Perry
On 06-Mar-2000 Alberto Maurizi wrote: > > I know the subject is false: php3 DOES support Postgres. > But in my (daily upgraded) potato it seems not to. > A very simple call to pg_connect returns: > > Fatal error: Call to unsupported or undefined function pg_connect() > in funct

Re: PHP3 and MySQL

2000-02-14 Thread Nate Duehr
Ahh.. that's it! On Mon, Feb 14, 2000 at 10:51:35AM -, Barry Platt wrote: > Nate Duehr wrote: > > There *is* a way to get apache/php3/mysql to play nicely without having > > to use the dl() for it in every script... I just can't for the life of > > me, remember where I made the changes so it

Re: PHP3 and MySQL

2000-02-14 Thread J C Lawrence
On Mon, 14 Feb 2000 01:59:28 -0700 Nate Duehr <[EMAIL PROTECTED]> wrote: > There *is* a way to get apache/php3/mysql to play nicely without > having to use the dl() for it in every script... Add "extension=mysql.so" to /etc/php/apache/php.ini -- J C Lawrence Ho

RE: PHP3 and MySQL

2000-02-14 Thread Barry Platt
Nate Duehr wrote: > There *is* a way to get apache/php3/mysql to play nicely without having > to use the dl() for it in every script... I just can't for the life of > me, remember where I made the changes so it would work. But I *know* I > found it in the configs for apache somewhere, and after c

Re: PHP3 and MySQL

2000-02-14 Thread Nate Duehr
I know this sounds vague, but it's late, and I can't find it on my server box for some reason... but if it's any consolation: There *is* a way to get apache/php3/mysql to play nicely without having to use the dl() for it in every script... I just can't for the life of me, remember where I made the

Re: PHP3 and MySQL

2000-02-10 Thread Alisdair McDiarmid
On Thu, Feb 10, 2000 at 02:05:16PM +, Sven Gaerner wrote: > Alisdair McDiarmid wrote: > > > On Thu, Feb 10, 2000 at 08:07:11AM +1030, John Pearson wrote: > > > On Wed, Feb 09, 2000 at 07:02:56PM +, Alisdair McDiarmid wrote > > > > I'm trying to get PHP3 and MySQL to play nice, but they ref

Re: PHP3 and MySQL

2000-02-10 Thread Sven Gaerner
Alisdair McDiarmid wrote: > On Thu, Feb 10, 2000 at 08:07:11AM +1030, John Pearson wrote: > > On Wed, Feb 09, 2000 at 07:02:56PM +, Alisdair McDiarmid wrote > > > I'm trying to get PHP3 and MySQL to play nice, but they refuse. I want > > > to load the mysql.so extension, so in the /etc/php3/ap

Re: PHP3 and MySQL

2000-02-09 Thread Alisdair McDiarmid
On Thu, Feb 10, 2000 at 08:07:11AM +1030, John Pearson wrote: > On Wed, Feb 09, 2000 at 07:02:56PM +, Alisdair McDiarmid wrote > > I'm trying to get PHP3 and MySQL to play nice, but they refuse. I want > > to load the mysql.so extension, so in the /etc/php3/apache/php3.ini I > > put `extension

Re: PHP3 and MySQL

2000-02-09 Thread John Pearson
On Wed, Feb 09, 2000 at 07:02:56PM +, Alisdair McDiarmid wrote > I'm trying to get PHP3 and MySQL to play nice, but they refuse. I want > to load the mysql.so extension, so in the /etc/php3/apache/php3.ini I > put `extension = mysql.so' and checked that extension_dir was correct. > > This didn

Re: PHP3 + Mysql -> connecting problems

2000-01-27 Thread Jorge Sousa
BINGO Its working now, Thank you very much Shao. Have fun... Jorge - Original Message - From: Shao Zhang <[EMAIL PROTECTED]> To: Jorge Sousa <[EMAIL PROTECTED]> Cc: Sent: Thursday, January 27, 2000 4:52 AM Subject: Re: PHP3 + Mysql -> connecting problems >

Re: PHP3 + Mysql -> connecting problems

2000-01-27 Thread Shao Zhang
Hi, I think you will need to load the library. try this in your php scripts: dl("mysql.so"); And make sure you have these lines in your /etc/php3/cgi/php3.ini: extension_dir = /usr/lib/php3/cgi extension = mysql.so Shao. Jorge So

Re: PHP3 + Mysql -> connecting problems

2000-01-27 Thread Saisanthosh B
> "Fatal error: Call to unsupported or undefined function mysql_connect() in > /home/www/projectoX/teste.php3 on line 11" add the following line to your .php3 code: dl ("mysql.so"); -- saisanthosh

Re: PHP3 String functions not available

1999-12-05 Thread Gergely Madarasz
On Sun, 5 Dec 1999, Sven Gaerner wrote: > I have installed PHP3 as cgi- and apache-module on an slink-based machine. I > also have installed some PHP-modules (mysql and imap). When I try to call a > string function (strip_tags) I get an error message in my browser window: call > to unsupported fun

Re: PHP3-3.0.12-7

1999-09-22 Thread John Pearson
On Tue, Sep 21, 1999 at 06:06:16PM +0200, Alfred Munnikes wrote > Hello > > When I'm compiling PHP3-3.0.12-7 (potato source) on my Debian Slink > system (libc6 2.0.7.19981211-6, and the only updated package is > debhelper 2.0.43 ) I get the next error: > > ld -Bshareable -lc -o libphp3.so ./mod_

re: php3

1999-08-29 Thread Michael Fox
I have a php3 html file, and inside it has the mysql_connect blah stuff, ie which mysql server to use and what username, but what is syntax for putting in a password.. I can't seem to manage to get my php3 script to logon using a username pass to the database.. Any help would be appreciated.. I h

Re: [PHP3] IMP and folders

1999-06-22 Thread Rene H. Larsen
Mario Jorge Nunes Filipe <[EMAIL PROTECTED]> writes: > First of all, we're talking about a 2.1 debian machine. It's running > imap server version 4.4(-4). PHP version is 3.0.7 amd imp version is > 2.0.7. > > My defaults.php3 says the following in the folders section: > > /* Folder con

Re: [PHP3] IMP and folders

1999-06-18 Thread Mario Jorge Nunes Filipe
Chuck Hagenbuch wrote: > > Quoting Mario Jorge Nunes Filipe <[EMAIL PROTECTED]>: > > > I'm installing IMP on our mail server. Most users read mail using some > > POP3 client but some still use pine (don't ask, it's a long story). My > > problem is that i can't configure imp to read the folders th

Re: PHP3 and Mysql -- Broken Module

1999-05-18 Thread budi w
i've got that problem too and then i recompile apache,mysql and php3 (all in source) and all works fine regards budi wibowo [EMAIL PROTECTED] jeb wrote: > I'm using the latest Debain versions of PHP3 and the PHPMysql module. > I'm also using the latest version of Mysql. It works fine. > > PHP3

Re: PHP3 and Mysql -- Broken Module

1999-05-18 Thread Fraser Campbell
I had this problem on several occasions. I had to manually edit the file /etc/php3/apache/php3.ini and uncomment the line that says: extension=mysql.so Then you should be ok ... this is with slink. If you are using potato versions of apache/php3/mysql then the builds may indeed be broken. Not

Re: PHP3 and Mysql -- Broken Module

1999-05-18 Thread Andrew Chung
> When I try to run a PHP script, I get a message saying > > "Call to unsupported or undefined function mysql_connect()" > > I've added the mysql module to the PHP configuration, but it's > apparent that it can find a library or something that it needs. > > Does anyone have this combination wor

Re: PHP3 and Mysql -- Broken Module

1999-05-17 Thread Gergely Madarasz
On Mon, 17 May 1999, jeb wrote: > I'm using the latest Debain versions of PHP3 and the PHPMysql module. > I'm also using the latest version of Mysql. It works fine. > > PHP3 seems to work by itself; PHP3 scripts that don't access Mysql > work. > > When I try to run a PHP script, I get a messag

Re: PHP3+MySQL problems

1999-04-30 Thread Remco van de Meent
Chris wrote: > Hi. Well, I seem to be having problems getting PHP to recognize that I > have mysql support in place. When I try to view a document with a > mysql_connect() function in it, I get: > > Fatal error: Call to unsupported or undefined function mysql_connect() > in /home/cmayes/public_

Re: [PHP3] Max TEXT size..

1999-02-10 Thread Graham Ashton
On Wed, Feb 10, 1999 at 11:46:56AM +, Graham Ashton wrote: > > look in section 7.2 of the mysql manual, and scroll down until you find > 'TEXT' at the left hand side of the page. sorry about that folks - I replied to the wrong list - wasn't thinking straight. now that's 2 cock-ups in as many

Re: [PHP3] Max TEXT size..

1999-02-10 Thread Graham Ashton
On Wed, Feb 10, 1999 at 12:29:00PM +0100, Chris Chabot wrote: > While developing several sites based on a PHP (3.0.6/Apache-1.3.4) engine, ive > stumbled across a max. size limit for TEXT fields while inserting them in the > MySql (3.22.15) database. The max size was 65535, which sounds awfully mu

Re: PHP3 Installation. (Trouble #2)

1999-01-15 Thread Frank Barknecht
Christian Lavoie hat gesagt: // Christian Lavoie wrote: > Having found out that the problem was caused by Apache's magic > necessary-modules loader, I went to try to connect to mySQL. Here's > the output: > > Fatal error: Call to unsupported or undefined function mysql_connect() > in /var/www/

RE: PHP3 Installation.

1999-01-12 Thread Shaleh
On 12-Jan-99 Christian Lavoie wrote: > Okay, here's my newbie question of the week: > I've installed the php3 packages (php3, php3-mysql-apache, php3-doc; > names aren't accurate, they just represent what I needed) and actually > want to build a page using mySQL, and PHP3 scripting (what a weird

Re: php3: unsupported or undefined function

1998-07-20 Thread Adam Heczko
Your /etc/php3.ini should looks like : (...) ;; ; Dynamic Extensions ; ;; ; if you wish to have an extension loaded automaticly, use the ; following syntax: extension=modulename.extension ; for example, on windows, ; extension=msql.dll ; or under UNIX, ; ex

Re: PHP3 and PGSQL

1998-07-09 Thread Adam Heczko
Hi ! Thanks , Jeff and Mark. I've followed Mark suggestion, RTFM and now my PHP scripts runs without any problems. I had to add one line to my /etc/php3.ini file. Adam Heczko. -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Re: PHP3 and PGSQL

1998-07-09 Thread Mark Mealman
On Wed, 08 Jul 1998, Adam Heczko wrote: >Hi everybody ! > >I've got problem running my *.php3 files, in which I use PostgreSQL as a >database server. Generally pg_connect("localhost", "", "", "", >"dbname"); function generates following error message : >Fatal error: Call to unsupported or undefined

Re: PHP3 and PGSQL

1998-07-09 Thread Jeff Noxon
You need to edit /etc/php3.ini. RTFM in the /usr/doc/php3-pgsql directory. (Look at README.Debian.) It works great. On Wed, Jul 08, 1998 at 10:43:18PM +0200, Adam Heczko wrote: > Hi everybody ! > > I've got problem running my *.php3 files, in which I use PostgreSQL as a > database server. Gene

Re: php3 + apache = undefined `table_elts'

1998-03-04 Thread Gergely Madarasz
On 4 Mar 1998, tibor simko wrote: > > "greg" == Gergely Madarasz <[EMAIL PROTECTED]> writes: > > greg> The current php3 package was compiled with apache > greg> 1.3b3. Since then apache 1.3b5 is available as a debian > greg> package, i just didnt have time to upload the new php3.d

Re: php3 + apache = undefined `table_elts'

1998-03-04 Thread tibor simko
> "greg" == Gergely Madarasz <[EMAIL PROTECTED]> writes: greg> The current php3 package was compiled with apache greg> 1.3b3. Since then apache 1.3b5 is available as a debian greg> package, i just didnt have time to upload the new php3.deb greg> compiled against it... hmm, pe

Re: php3 + apache = undefined `table_elts'

1998-03-03 Thread Gergely Madarasz
On 3 Mar 1998, tibor simko wrote: > hello / szia :-) Szia! ;) > i am sending this message to you as to the debian php3 maintainer, > since nobody responded to my email on debian-user. php3's cgi > approach works fine for me, but not the apache module approach; here > comes the original message