Re: php installation problems; now mysql connection problems

2004-03-19 Thread samy lancher
This morning I decided to install php4.4.2.2 back. In usr/ports/www/mod_php4 I gave 
make clean. It cleared work directory. Than I gave make install command. I chose 
the option of installing php without mysql since i already have mysql in my system. 
Installation went on fine but now php is not able to connect to mysql. Any clues?
 
Thanks,
Naveen.
Jorn Argelo [EMAIL PROTECTED] wrote:

Why don't you use portupgrade instead? You can install it via
/usr/ports/sysutils/portupgrade if you don't have it. Though I am not
certain if it works or even exists for FreeBSD 4.5

Anyway, if you do have it, try this:

pkg_info | grep php
portupgrade -Rr 

Cheers,

Jorn

On 3/19/2004, samy lancher wrote:


Hello All,

I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to upgrade php to 
php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to usr/ports/distfiles and gave the 
command

port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz

I noticed that php old version got uninstalled and the new one did not get installed. 
Then in usr/ports/distfiles when i gave the command pkg_add php4-4.3.3,1.tgz i got 
an error

read_plist: bad command '@conflicts php4-4*'

I guess it is something to do with package version and their dependencies but I am 
not sure what exactly the problem is.

I would also like to know if there is a way i can find out all the dependencies for a 
particular package before actually installing it.

I would appreciate if some one could help me.

Thanks,

Naveen.


Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php installation problems; now mysql connection problems

2004-03-19 Thread Matt Emmerton
When you chose install php without mysql, what you really did is install
PHP without mysql _support_.  This is why you can't connect.
Reinstall PHP *with* mysql support and you will be fine.

Matt

- Original Message - 
From: samy lancher [EMAIL PROTECTED]
To: Jorn Argelo [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, March 19, 2004 11:01 AM
Subject: Re: php installation problems; now mysql connection problems


 This morning I decided to install php4.4.2.2 back. In
usr/ports/www/mod_php4 I gave make clean. It cleared work directory. Than
I gave make install command. I chose the option of installing php without
mysql since i already have mysql in my system. Installation went on fine but
now php is not able to connect to mysql. Any clues?

 Thanks,
 Naveen.
 Jorn Argelo [EMAIL PROTECTED] wrote:

 Why don't you use portupgrade instead? You can install it via
 /usr/ports/sysutils/portupgrade if you don't have it. Though I am not
 certain if it works or even exists for FreeBSD 4.5

 Anyway, if you do have it, try this:

 pkg_info | grep php
 portupgrade -Rr

 Cheers,

 Jorn

 On 3/19/2004, samy lancher wrote:

 
 Hello All,
 
 I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to
upgrade php to php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to
usr/ports/distfiles and gave the command
 
 port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz
 
 I noticed that php old version got uninstalled and the new one did not
get installed. Then in usr/ports/distfiles when i gave the command pkg_add
php4-4.3.3,1.tgz i got an error
 
 read_plist: bad command '@conflicts php4-4*'
 
 I guess it is something to do with package version and their dependencies
but I am not sure what exactly the problem is.
 
 I would also like to know if there is a way i can find out all the
dependencies for a particular package before actually installing it.
 
 I would appreciate if some one could help me.
 
 Thanks,
 
 Naveen.
 
 
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php installation problems; now mysql connection problems

2004-03-19 Thread samy lancher
If I install with mysql, Will i lose my existing databases.?

Matt Emmerton [EMAIL PROTECTED] wrote:When you chose install php without mysql, 
what you really did is install
PHP without mysql _support_. This is why you can't connect.
Reinstall PHP *with* mysql support and you will be fine.

Matt

- Original Message - 
From: samy lancher 
To: Jorn Argelo 
Cc: 
Sent: Friday, March 19, 2004 11:01 AM
Subject: Re: php installation problems; now mysql connection problems


 This morning I decided to install php4.4.2.2 back. In
usr/ports/www/mod_php4 I gave make clean. It cleared work directory. Than
I gave make install command. I chose the option of installing php without
mysql since i already have mysql in my system. Installation went on fine but
now php is not able to connect to mysql. Any clues?

 Thanks,
 Naveen.
 Jorn Argelo wrote:

 Why don't you use portupgrade instead? You can install it via
 /usr/ports/sysutils/portupgrade if you don't have it. Though I am not
 certain if it works or even exists for FreeBSD 4.5

 Anyway, if you do have it, try this:

 pkg_info | grep php
 portupgrade -Rr

 Cheers,

 Jorn

 On 3/19/2004, samy lancher wrote:

 
 Hello All,
 
 I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to
upgrade php to php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to
usr/ports/distfiles and gave the command
 
 port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz
 
 I noticed that php old version got uninstalled and the new one did not
get installed. Then in usr/ports/distfiles when i gave the command pkg_add
php4-4.3.3,1.tgz i got an error
 
 read_plist: bad command '@conflicts php4-4*'
 
 I guess it is something to do with package version and their dependencies
but I am not sure what exactly the problem is.
 
 I would also like to know if there is a way i can find out all the
dependencies for a particular package before actually installing it.
 
 I would appreciate if some one could help me.
 
 Thanks,
 
 Naveen.
 
 
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php installation problems; now mysql connection problems

2004-03-19 Thread samy lancher
I tried to installed PHP with MySQL but I could not successfully install it. I got an 
error which says MySQL is already installed in your system, please uninstall mysql 
first.
Is there a way to install php without actually uninstalling mysql?

Matt Emmerton [EMAIL PROTECTED] wrote:
When you chose install php without mysql, what you really did is install
PHP without mysql _support_. This is why you can't connect.
Reinstall PHP *with* mysql support and you will be fine.

Matt

- Original Message - 
From: samy lancher 
To: Jorn Argelo 
Cc: 
Sent: Friday, March 19, 2004 11:01 AM
Subject: Re: php installation problems; now mysql connection problems


 This morning I decided to install php4.4.2.2 back. In
usr/ports/www/mod_php4 I gave make clean. It cleared work directory. Than
I gave make install command. I chose the option of installing php without
mysql since i already have mysql in my system. Installation went on fine but
now php is not able to connect to mysql. Any clues?

 Thanks,
 Naveen.
 Jorn Argelo wrote:

 Why don't you use portupgrade instead? You can install it via
 /usr/ports/sysutils/portupgrade if you don't have it. Though I am not
 certain if it works or even exists for FreeBSD 4.5

 Anyway, if you do have it, try this:

 pkg_info | grep php
 portupgrade -Rr

 Cheers,

 Jorn

 On 3/19/2004, samy lancher wrote:

 
 Hello All,
 
 I have FreeBSD 4.5, apache 1.3.26_3 and mod_php4-4.2.2 . i wanted to
upgrade php to php4-4.3.3.1 so i downloaded php4-4.3.3,1.tgz to
usr/ports/distfiles and gave the command
 
 port_update -r mod_php4-4.2.2 php4-4.3.3,1.tgz
 
 I noticed that php old version got uninstalled and the new one did not
get installed. Then in usr/ports/distfiles when i gave the command pkg_add
php4-4.3.3,1.tgz i got an error
 
 read_plist: bad command '@conflicts php4-4*'
 
 I guess it is something to do with package version and their dependencies
but I am not sure what exactly the problem is.
 
 I would also like to know if there is a way i can find out all the
dependencies for a particular package before actually installing it.
 
 I would appreciate if some one could help me.
 
 Thanks,
 
 Naveen.
 
 
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]
 Do you Yahoo!?
 Yahoo! Mail - More reliable, more storage, less spam
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
Do you Yahoo!?
Yahoo! Mail - More reliable, more storage, less spam
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]