--- 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
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
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
> 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
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
>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?
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
>
> 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.
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
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).
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
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.
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
>
>
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
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
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
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
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
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
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
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
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
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
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
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
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
>
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
> "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
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
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_
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
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
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
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
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
> 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
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
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_
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
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
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/
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
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
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
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
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
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
> "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
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
49 matches
Mail list logo