We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
  • Pages:
  • 1
  • 2
Error installing PHPMyAdmin
Topic Started: Oct 15 2005, 08:36 AM (1,933 Views)
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
Okay, there are a couple things you've got to do. It seems like you've already uncommented the php_mysql.dll extension. You should NOT uncomment php_msql.dll, that's mSQL (miniSQL) and isn't used with MySQL.

Now you need to add a variable to your path. I'm not on Windows so this is a paraphrase, but right-click on My Computer -> Properties -> Advanced tab. Then you want something about environment variables, it's a button you click. Then, you'll see a text box with lots of directory names in it. Add the path to your PHP installation in it. (Note that they're separated by semicolons.)

Now, copy php_mysql.dll to C:\windows\system32\

Restart Apache and you should be good.
Offline Profile Quote Post Goto Top
 
Peachy
Member Avatar
:P
[ *  *  *  *  * ]
I fixed the line in php.ini file, copied the php_mysql.dll file to system32 folder and I'm stumped with the semicolons in the Enviroment Variables bit, here's a screenie
Posted Image
Offline Profile Quote Post Goto Top
 
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
See the one that says Path, at the bottom? You can see a whole directory there and part of another one, they're separated by ;

Highlight that, hit edit, and add ;C:\PHP or wherever you installed PHP.
Offline Profile Quote Post Goto Top
 
Peachy
Member Avatar
:P
[ *  *  *  *  * ]
Ah rite got you now, well I edited that and, well it's still not good news. I think I'm just not supposed to get this.
Offline Profile Quote Post Goto Top
 
Seth
Member Avatar
I has a pony
[ *  *  *  *  *  *  *  *  * ]
You restarted Apache? :/
Offline Profile Quote Post Goto Top
 
Peachy
Member Avatar
:P
[ *  *  *  *  * ]
Yep, even restarted my pc (just in case)
Offline Profile Quote Post Goto Top
 
Pete
Member Avatar
"Magnitude without direction"
[ *  *  *  *  *  * ]
Well....you could always use EasyPHP....

It's not the first thing I'd recommend as it uses older versions of PHP/MySQL/Apache, but you can upgrade them manually, and it installs everything for you automagically in a few clicks. You need to uninstall Apache/PHP/MySQL before you use it though.....
Offline Profile Quote Post Goto Top
 
Peachy
Member Avatar
:P
[ *  *  *  *  * ]
Pete
November 6, 2005 07:45 PM
Well....you could always use EasyPHP....

It's not the first thing I'd recommend as it uses older versions of PHP/MySQL/Apache, but you can upgrade them manually, and it installs everything for you automagically in a few clicks. You need to uninstall Apache/PHP/MySQL before you use it though.....

Any ideas how easy it is to upgrade it? 1 of my mate's kens someone that works with MySql and PHP and he'll be up in December, so if I haven't anything working by then I might see if he can get it working.
Offline Profile Quote Post Goto Top
 
Pete
Member Avatar
"Magnitude without direction"
[ *  *  *  *  *  * ]
Well I installed it because I actually had the exact same problem as you (Apache 2.0.55, PHP 5.0.5, MySQL 5). I haven't bothered upgrading it yet, but presumably you would just overwrite the files. I'll try and upgrade it and let you know.
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
Just now, I've been trying to install this as well.
(Apache 2.0.55, PHP 5.0.5, MySQL 5 that is.)
If I restart Apache, I get an error, "Unable to load the extention G:\Apache\Modules\php_mysql.dll, file could not be found".
Yet its there.
Same goes for just about every other extention.
(I also added all directiries involved to the path like Seth said)

Edit:
Is says it can't find the procedure.
So eigher they made a real dumb error message, or something is just wrong with apache, right? :unsure:
/edit.

edit2:
Ok, so it apears its just a huge load of the dll's not working.
Bah.
/edit

So eigher there is something we are all forgetting, or something is wrong with apache.
(I doubt its the latter though :P )

Looking for what may cause this right now, if I figure it out I'll post it here.


And installing something like EasyPHP is the easier way to do it, I know that, but I've had some bad experiences with those.
(Ok, not with EasyPHP, but with 3/4 others)
Offline Profile Quote Post Goto Top
 
Peachy
Member Avatar
:P
[ *  *  *  *  * ]
Well I haven't tried EasyPHP yet. I just tried a newer version of PHPMyAdmin (2.6.4 the latest stable version) and still have the same prob :(
Offline Profile Quote Post Goto Top
 
Pete
Member Avatar
"Magnitude without direction"
[ *  *  *  *  *  * ]
I still say use EasyPHP as a last resort, if all else fails.

Did you add this line to your httpd.conf file?

Code:
 

AddHandler application/x-httpd-php .php


To view *.phps files:

Code:
 

AddHandler application/x-httpd-php-source .phps


Remember to restart Apache after doing that. The best way to do that is to close all Apache processes, then restart them.
Offline Profile Quote Post Goto Top
 
Peachy
Member Avatar
:P
[ *  *  *  *  * ]
Well I didn't, do now and still have the same problem :(
I really don't get this
Offline Profile Quote Post Goto Top
 
Pete
Member Avatar
"Magnitude without direction"
[ *  *  *  *  *  * ]
hmmm.... try changing AddHandler to AddType, maybe that'll do something.
Offline Profile Quote Post Goto Top
 
Jory
Member Avatar
Member
[ *  *  *  *  *  * ]
Assuming you are still getting the same error as you told us about it the first post:
Its not PHP thats not working, so adding stuff like that won't work.
(Nice try thought Pete ;) )

Apache just can't load the MySQL extension.
(And a bunch of others)
So I would think that there are eigther some broken dll's in the packages we all download, so some compatibillety problem of some kind.
I'm going to look for other dll's.


Huge and rahter important edit:
(I think)

Download the PHP 5.05 windows package here
(I used the nl2 server, but that should matter, should it?)
Then take the php_mysql.dll from the phpdir/ext and put it in whatever directorie you are having the extensions.
Restart apache and it should work.
(Did for my anyway)

So the problem wasn't with us, but with the package we used for PHP.
(It was 5.02, guess it was a corrupt pack or something)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Technology Chat · Next Topic »
Add Reply
  • Pages:
  • 1
  • 2