PHP MY ADMIN ISSUE

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
cnl83
-


Joined: 26 Jan 2005
Posts: 8

PostPosted: Wed Jan 26, 2005 3:48 am    Post subject: PHP MY ADMIN ISSUE Reply with quote

When I try to access php my admin I get this

cannot load mysql extension,
please check PHP Configuration

Im pretty sure I set things up correctly, is there an easy to test my php.
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1332

PostPosted: Thu Jan 27, 2005 5:38 pm    Post subject: Re: PHP MY ADMIN ISSUE Reply with quote

cnl83,

Please search the forum for php_mysql .
Back to top View user's profile Send private message
cnl83
-


Joined: 26 Jan 2005
Posts: 8

PostPosted: Fri Jan 28, 2005 3:30 am    Post subject: Reply with quote

I did but none of the post have an answer...
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Fri Jan 28, 2005 5:00 pm    Post subject: Reply with quote

You will need to download the Collection of PECL modules for PHP 5.0.3

add these extensions into your php extension folder (defined in php.ini), and uncomment in php.ini (usually in C:/Windows):
Code:
;extension=php_mysql.dll


to uncomment remove ";" from the beginning:
Code:
extension=php_mysql.dll


--
However, if you are using MySQL 4.1.x you will need to use the extension mysqli. Just uncomment it, and alter your phpMyAdmin config file to reflect this.
_________________
Olly
Back to top View user's profile Send private message
cnl83
-


Joined: 26 Jan 2005
Posts: 8

PostPosted: Sat Jan 29, 2005 4:14 am    Post subject: Reply with quote

Ok the details of it being in C:/windows helped.
Once I did that I get a warning error

PHP Startup: Unable to load dynamic library '.php_mysql.dll' - the specified module could not be found.
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Sat Jan 29, 2005 1:59 pm    Post subject: Reply with quote

this means that you have NOT downloaded the extenshions, or put them into your extenshion folder (defualt: extensions).

download the Collection of PECL modules for PHP 5.0.3
_________________
Olly
Back to top View user's profile Send private message
cnl83
-


Joined: 26 Jan 2005
Posts: 8

PostPosted: Sat Jan 29, 2005 2:11 pm    Post subject: Reply with quote

I downloaded that file, and unzipped it into php folder under

C:/program files/php/ext
Im getting the same exact warning message.
Back to top View user's profile Send private message
olly86
-


Joined: 25 Apr 2003
Posts: 993
Location: Wiltshire, UK

PostPosted: Sat Jan 29, 2005 4:10 pm    Post subject: Reply with quote

OK in php.ini find the property:
Quote:
extension_dir = "./"


and change to:
Quote:
extension_dir = "ext"

_________________
Olly
Back to top View user's profile Send private message
cnl83
-


Joined: 26 Jan 2005
Posts: 8

PostPosted: Sun Jan 30, 2005 12:13 am    Post subject: Reply with quote

Ok I have the same error message except it says PHP Startup: Unable to load dynamic library '.ext/php_mysql.dll' - the specified module could not be found.
Back to top View user's profile Send private message
danny
-


Joined: 29 Jan 2005
Posts: 2

PostPosted: Sun Jan 30, 2005 12:54 am    Post subject: Reply with quote

Hmmm just be smart :D. If you are working with windows just go start ---> search. Once the window opens, type the file you want to use and search. If the file is found you should see the path. Copy this into your root and you are done.

Example: If your path is: C:\PHP\....ect and the file is located at C:\myqsl\ you have 2 options. Option 1: You can change the path or option 2: You can copy the file into the right path.

It isn't so hard as it looks ;)

[edit] spell check [/edit]
Back to top View user's profile Send private message
cnl83
-


Joined: 26 Jan 2005
Posts: 8

PostPosted: Thu Feb 03, 2005 1:23 am    Post subject: Reply with quote

Ok, I removed everything, and reinstalled abyss server, PHP, and PHPMYADMIN.

Well PHP folder is C:/php , and there isnt one in program files. In C:/php there isnt a folder called EXT ? whats up with that?
Back to top View user's profile Send private message
danthemandoo
-


Joined: 01 Feb 2005
Posts: 6

PostPosted: Thu Feb 03, 2005 1:38 am    Post subject: Reply with quote

because using the windows installer the extensions arn't needed because most of it is built into it. Downloading the binaries without the installer will give you all the dll's in the extensions dir.
Back to top View user's profile Send private message
cnl83
-


Joined: 26 Jan 2005
Posts: 8

PostPosted: Thu Feb 03, 2005 1:42 am    Post subject: Reply with quote

So should I download all the binaries? I need to get phpmyadmin working.
Im getting the same error messages
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1332

PostPosted: Thu Feb 03, 2005 3:15 am    Post subject: Reply with quote

cnl83 wrote:
So should I download all the binaries? I need to get phpmyadmin working.
Im getting the same error messages

This is called "PHP 4.3.10 zip package" in "Windows Binaries" in http://www.php.net/downloads.php .
Back to top View user's profile Send private message
cnl83
-


Joined: 26 Jan 2005
Posts: 8

PostPosted: Thu Feb 03, 2005 4:39 am    Post subject: Reply with quote

I dloaded that file extracted it into my php directory..
I removed the ; off of the extension name in the php.ini file.

It still says cannot load mysql.dll
Back to top View user's profile Send private message
Goldmund
-


Joined: 19 Feb 2005
Posts: 19
Location: Seattle, WA

PostPosted: Wed Mar 02, 2005 5:05 am    Post subject: Reply with quote

cnl83, not sure if you got everthing to work, but here's what I did.

-Download phpMyAdmin, which you probably already have done and follow the tutorial on http://www.trustabyss.com/.
-Download php 5.0.3-Win32.zip from http://www.php.net/downloads.php
*Be sure to download the one that reads: "PHP 5.0.3 zip package", because this is the one that comes with the 'php_mysql.dll' file.
-Follow the tutorial from http://www.trustabyss.com/ to install PHP
-Download the 'Collection of PECL modules for PHP 5.0.3'
*I'm not sure if you really need these, but do it anyway
-Extract these files to the 'C:/PHP/ext' folder
-Download MySQL 4.0 from http://dev.mysql.com/downloads/
-Follow the tutorial from http://www.trustabyss.com/
*When you first run MySQL create a username and password, which will
initiate the 'green light.'
-Go to your php.ini file in the 'C:/WINDOWS' folder and find...

;extension=php_mysql.dll

and change it to...

extension=php_mysql.dll

-Finally find...

extension_dir = "./"

and change it to...

extension_dir = "ext"

-Now if you open your Abyss Web Server Console and type in the URL:
http://127.0.0.1/phpadmin

Tada! You should see phpMyAdmin up and running!

Hope this helps!
_________________
You learn something new every day.
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group