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.

PHP3 and mysql

2001-05-15 Thread Keneth
I have just re-install php3, the apache can run php3 well, however, it doesnt seem to able to connect to the mysql server with PHP, that is mysql_connect() Fatal error: Call to unsupported or undefined function mysql_connect() in /var/www/template.inc on line 122 (I can connect to the mysql se

frozen - how to install Apache with php3 and mysql?

2000-05-11 Thread Chris Mason
I have upgraded to frozen and would like to install apache with php and mysql support, using dselect and apt-get as the method, what do I have to do to get this configuration installed. My previous attempts left me with apache without php/mysql. Chris Mason Box 340, The Valley, Anguilla, British W

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
the exact location where I changed things. (It was frustrating for me too!) 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.in

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

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.s

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

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

PHP3 and MySQL

2000-02-09 Thread Alisdair McDiarmid
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't work: php3 scripts without dl('mysql.so') in

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

PHP3 and Mysql -- Broken Module

1999-05-17 Thread jeb
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 message saying "Call to unsupported or undefined fun