Re: phpMyAdmin install help





Boy -- there's some general confusion here about the whole
functionality of things. Let me try to shed some light here:


ffrias2@xxxxxxxxx wrote:
> I have php 5.0.2 build w/out mysql support and working ok on
> serverA(Solaris 9).

OK, this means that PHP is lacking a certain functionality. Namely
talking to MySQL servers. This means no PHP application on serverA will
ever talk to SQL. Anywhere. Because PHP(!!) lacks that functionality.

> Now, I want to install phpMyAdmin 2.6.3-pl1 on serverA

Which cannot possibly work since PHP on serverA lacks the ability to
talk to a MySQL server...

> to connect to a remote mysql 4.1 on serverB(Win2K).

It doesn't really matter where the MySQL server is running. The precise
location of a MySQL server rarely ever matters -- that kind of thing is
abstracted away into the network layers somewhere. What matters is
whether application X knows how to talk to a MySQL server. In your
case, it doesn't.

> When I try
> to browse the index.php on phpMyAdmin I get the following error :
> "cannot load mysql extension; please check PHP configuration"

I hope that should be clear now: phpMyAdmin is a package that requires
certain operations to be performed and your PHP can't perform those
operations. The first operation would be "establish contact to a MySQL
server" and independently of the precise location of that server, your
PHP is built without the ability to establish this contact.

>
> I made the mods to the config.inc.php w/ remote host info.

Doesn't really matter. Think of it this way: if serverA has no email
program, then it cannot send email. It can't send email to serverA OR
to serverB. You may have set up the addressbook properly, you mayknow
the precise address and routing for the message, but as long as serverA
has no email program, it's not going to send email.

> 1. Is this possible?

I hope you understand now that the answer is "no".

> 2. Do I have to have mysql installed on the same server?

Doesn't matter, really.

> 3. Do I need to download package?
> 4. Other?
>
> Please advice.

You'll need a build of PHP that has MySQL support to run PHP
applications (like phpMyAdmin) that need MySQL.


hope that helps...


cordially


Y.T.

--
Remove YourClothes before you email me.

.



Relevant Pages

  • Re: Speed up web pages : MySQL or PHP solutions ?
    ... People come to us to view 1 image or text + 1 PHP content. ... Can you click on the image = MYSQL ... Make your content cacheable by sending appropriate HTTP headers. ... Cache content on the server to avoid re-creation over and over again, ...
    (comp.lang.php)
  • Executing PHP files on remote web server
    ... We have a web app which uses PHP and MySQL on our in-house Apache web ... database to the web host because a lot of the data is sensitive. ... By loading the non-sensitive data into the web host's MySQL tables, ... running on our own web server. ...
    (comp.lang.php)
  • Re: Newbie Security Questions
    ... questions about PHP and its usage with MySQL. ... And even if they do, its a strange Mysql server that is sitting on the internet accepting requests from all and sundry..normally you run them on a local network, or the same box and set mysql to only accept requests FROM the apache server.. ... You have to layer that over the top using cookies and user logins if you want it. ...
    (comp.lang.php)
  • Re: Server load too high
    ... > the new dedicated server with Dual Xeon 3.2 GHz and 2GB Ram. ... > The board is written in PHP with Mysql. ... Well, since it looks like MySQL is eating more of the CPU, it could be ... In any case, I've been using PHP5 for a while now, and I've not ...
    (comp.lang.php)
  • Re: Need a compelling argument to use Django instead of Rails
    ... functionality for Python, but is not as popular or widely installed as ... the PHP Apache module. ... So, if mod_python provides the same functionality, it's not the main ... server (some may say that PHP has never been designed at all, ...
    (comp.lang.python)