Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How did you install php and mysql? If you used your distro's packages I guess you missed something like php-mysql or mysqli. If you built it from source you missed to add mysql support. Take a look at the configure line of phpinfo() to see how php was configured.
Distribution: Too bad they don't have a distro called Prozaklinux - I use Mandy ... (Mandriva 2008.1)
Posts: 64
Original Poster
Rep:
urpmi
Quote:
Originally Posted by bathory
The easiest way to upgrade, is to use your distro's package manager (that is urpmi in you case), since it can resolve any dependencies problems that may occur.
Hi bathory,
I've attempted:
urpmi php -wget
what is the correct syntax to upgrade?
Results:
Code:
urpmi php -wget
Unknown option: w
Unknown option: g
Unknown option: e
Unknown option: t
The package(s) are already installed
I've attached the 'help' for it here.
Thanks,
FirstBorn
Code:
urpmi version 4.6.24
Copyright (C) 1999-2005 Mandrakesoft.
This is free software and may be redistributed under the terms of the GNU GPL.
usage:
--help - print this help message.
--update - use only update media.
--media - use only the given media, separated by comma.
--searchmedia - use only the given media to search requested (or updated) packages.
--excludemedia - do not use the given media, separated by comma.
--sortmedia - sort media according to substrings separated by comma.
--synthesis - use the given synthesis instead of urpmi db.
--auto - automatically select a package in choices.
--auto-select - automatically select packages to upgrade the system.
--no-uninstall - never ask to uninstall a package, abort the installation.
--keep - keep existing packages if possible, reject requested
packages that leads to remove.
--split-level - split in small transaction if more than given packages
are going to be installed or upgraded,
default is 20.
--split-length - small transaction length, default is 1.
--fuzzy - impose fuzzy search (same as -y).
--src - next package is a source package (same as -s).
--install-src - install only source package (no binaries).
--clean - remove rpm from cache before anything else.
--noclean - keep rpm not used in cache.
--force - force invocation even if some packages do not exist.
--allow-nodeps - allow asking user to install packages without
dependencies checking.
--allow-force - allow asking user to install packages without
dependencies checking and integrity.
--parallel - distributed urpmi across machines of alias.
--root - use another root for rpm installation.
--use-distrib - configure urpmi on the fly from a distrib tree, useful
to install a chroot with --root option.
--wget - use wget to retrieve distant files.
--curl - use curl to retrieve distant files.
--limit-rate - limit the download speed.
--resume - resume transfer of partially-downloaded files
(--no-resume disables it, default is disabled).
--proxy - use specified HTTP proxy, the port number is assumed
to be 1080 by default (format is <proxyhost[:port]>).
--proxy-user - specify user and password to use for proxy
authentication (format is <user:password>).
--bug - output a bug report in directory indicated by
next arg.
--env - use specific environment (typically a bug
report).
--verify-rpm - verify rpm signature before installation
(--no-verify-rpm disable it, default is enabled).
--test - verify if the installation can be achieved correctly.
--excludepath - exclude path separated by comma.
--excludedocs - exclude doc files.
--skip - packages which installation should be skipped
--more-choices - when several packages are found, propose more choices
than the default.
--norebuild - don't try to rebuild hdlist if not readable.
--strict-arch - upgrade only packages with the same architecture.
-a - select all matches on command line.
-p - allow search in provides to find package.
-P - do not search in provides to find package.
-y - impose fuzzy search (same as --fuzzy).
-s - next package is a source package (same as --src).
-q - quiet mode.
-v - verbose mode.
names or rpm files given on command line will be installed.
Distribution: Too bad they don't have a distro called Prozaklinux - I use Mandy ... (Mandriva 2008.1)
Posts: 64
Original Poster
Rep:
Installed from Distro
Quote:
Originally Posted by bathory
How did you install php and mysql? If you used your distro's packages I guess you missed something like php-mysql or mysqli. If you built it from source you missed to add mysql support. Take a look at the configure line of phpinfo() to see how php was configured.
Hi bathory,
Thanks for helping.
Are You referring to the "Configuration Command" section?
That one reads:
"This is irrelevant, look inside the /usr/share/doc/php-4.3.10/configure_command file.
urpmi is your friend, use it to install extensions not shown below."
Since I used Mandriva's install section to install this,
how would I go about fixing this?
Are You referring to the "Configuration Command" section?
That one reads:
"This is irrelevant, look inside the /usr/share/doc/php-4.3.10/configure_command file.
urpmi is your friend, use it to install extensions not shown below."
Yes, I'm referring to this part.
So since it says to use urpmi to install missing extensions, take a look at this that could be helpful.
Distribution: Too bad they don't have a distro called Prozaklinux - I use Mandy ... (Mandriva 2008.1)
Posts: 64
Original Poster
Rep:
Fixed, Thanks!
Quote:
Originally Posted by bathory
How did you install php and mysql? If you used your distro's packages I guess you missed something like php-mysql or mysqli. If you built it from source you missed to add mysql support. Take a look at the configure line of phpinfo() to see how php was configured.
Hi bathory,
Thank You Very Much for pointing Me in the right direction.
I had to log in as root to install the "php-mysql" that You
had suggested above.
The easiest way to upgrade, is to use your distro's package manager (that is urpmi in you case), since it can resolve any dependencies problems that may occur.
Distribution: Too bad they don't have a distro called Prozaklinux - I use Mandy ... (Mandriva 2008.1)
Posts: 64
Original Poster
Rep:
urpmi install/upgrading
Quote:
Originally Posted by bathory
The easiest way to upgrade, is to use your distro's package manager (that is urpmi in you case), since it can resolve any dependencies problems that may occur.
Hi bathory,
Not sure what happened, but My post was
posted above this one somewhere...
Anyway, here is My response.
Thanks,
FirstBorn
---------------------------------------
Quote:
Originally Posted by bathory
The easiest way to upgrade, is to use your distro's package manager (that is urpmi in you case), since it can resolve any dependencies problems that may occur.
Hi bathory,
I've attempted:
urpmi php -wget
what is the correct syntax to upgrade?
Results:
Code:
urpmi php -wget
Unknown option: w
Unknown option: g
Unknown option: e
Unknown option: t
The package(s) are already installed
I've attached the 'help' for it here.
Thanks,
FirstBorn
Code:
urpmi version 4.6.24
Copyright (C) 1999-2005 Mandrakesoft.
This is free software and may be redistributed under the terms of the GNU GPL.
usage:
--help - print this help message.
--update - use only update media.
--media - use only the given media, separated by comma.
--searchmedia - use only the given media to search requested (or updated) packages.
--excludemedia - do not use the given media, separated by comma.
--sortmedia - sort media according to substrings separated by comma.
--synthesis - use the given synthesis instead of urpmi db.
--auto - automatically select a package in choices.
--auto-select - automatically select packages to upgrade the system.
--no-uninstall - never ask to uninstall a package, abort the installation.
--keep - keep existing packages if possible, reject requested
packages that leads to remove.
--split-level - split in small transaction if more than given packages
are going to be installed or upgraded,
default is 20.
--split-length - small transaction length, default is 1.
--fuzzy - impose fuzzy search (same as -y).
--src - next package is a source package (same as -s).
--install-src - install only source package (no binaries).
--clean - remove rpm from cache before anything else.
--noclean - keep rpm not used in cache.
--force - force invocation even if some packages do not exist.
--allow-nodeps - allow asking user to install packages without
dependencies checking.
--allow-force - allow asking user to install packages without
dependencies checking and integrity.
--parallel - distributed urpmi across machines of alias.
--root - use another root for rpm installation.
--use-distrib - configure urpmi on the fly from a distrib tree, useful
to install a chroot with --root option.
--wget - use wget to retrieve distant files.
--curl - use curl to retrieve distant files.
--limit-rate - limit the download speed.
--resume - resume transfer of partially-downloaded files
(--no-resume disables it, default is disabled).
--proxy - use specified HTTP proxy, the port number is assumed
to be 1080 by default (format is <proxyhost[:port]>).
--proxy-user - specify user and password to use for proxy
authentication (format is <user:password>).
--bug - output a bug report in directory indicated by
next arg.
--env - use specific environment (typically a bug
report).
--verify-rpm - verify rpm signature before installation
(--no-verify-rpm disable it, default is enabled).
--test - verify if the installation can be achieved correctly.
--excludepath - exclude path separated by comma.
--excludedocs - exclude doc files.
--skip - packages which installation should be skipped
--more-choices - when several packages are found, propose more choices
than the default.
--norebuild - don't try to rebuild hdlist if not readable.
--strict-arch - upgrade only packages with the same architecture.
-a - select all matches on command line.
-p - allow search in provides to find package.
-P - do not search in provides to find package.
-y - impose fuzzy search (same as --fuzzy).
-s - next package is a source package (same as --src).
-q - quiet mode.
-v - verbose mode.
names or rpm files given on command line will be installed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.