View previous topic :: View next topic |
Author |
Message |
cnl83 -
Joined: 26 Jan 2005 Posts: 8
|
Posted: Wed Jan 26, 2005 3:48 am Post subject: PHP MY ADMIN ISSUE |
|
|
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 |
|
 |
admin Site Admin
Joined: 03 Mar 2002 Posts: 1332
|
Posted: Thu Jan 27, 2005 5:38 pm Post subject: Re: PHP MY ADMIN ISSUE |
|
|
cnl83,
Please search the forum for php_mysql . |
|
Back to top |
|
 |
cnl83 -
Joined: 26 Jan 2005 Posts: 8
|
Posted: Fri Jan 28, 2005 3:30 am Post subject: |
|
|
I did but none of the post have an answer... |
|
Back to top |
|
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Fri Jan 28, 2005 5:00 pm Post subject: |
|
|
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 |
|
 |
cnl83 -
Joined: 26 Jan 2005 Posts: 8
|
Posted: Sat Jan 29, 2005 4:14 am Post subject: |
|
|
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 |
|
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
|
Back to top |
|
 |
cnl83 -
Joined: 26 Jan 2005 Posts: 8
|
Posted: Sat Jan 29, 2005 2:11 pm Post subject: |
|
|
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 |
|
 |
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Sat Jan 29, 2005 4:10 pm Post subject: |
|
|
OK in php.ini find the property:
Quote: | extension_dir = "./" |
and change to:
Quote: | extension_dir = "ext" |
_________________ Olly |
|
Back to top |
|
 |
cnl83 -
Joined: 26 Jan 2005 Posts: 8
|
Posted: Sun Jan 30, 2005 12:13 am Post subject: |
|
|
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 |
|
 |
danny -
Joined: 29 Jan 2005 Posts: 2
|
Posted: Sun Jan 30, 2005 12:54 am Post subject: |
|
|
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 |
|
 |
cnl83 -
Joined: 26 Jan 2005 Posts: 8
|
Posted: Thu Feb 03, 2005 1:23 am Post subject: |
|
|
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 |
|
 |
danthemandoo -
Joined: 01 Feb 2005 Posts: 6
|
Posted: Thu Feb 03, 2005 1:38 am Post subject: |
|
|
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 |
|
 |
cnl83 -
Joined: 26 Jan 2005 Posts: 8
|
Posted: Thu Feb 03, 2005 1:42 am Post subject: |
|
|
So should I download all the binaries? I need to get phpmyadmin working.
Im getting the same error messages |
|
Back to top |
|
 |
admin Site Admin
Joined: 03 Mar 2002 Posts: 1332
|
Posted: Thu Feb 03, 2005 3:15 am Post subject: |
|
|
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 |
|
 |
cnl83 -
Joined: 26 Jan 2005 Posts: 8
|
Posted: Thu Feb 03, 2005 4:39 am Post subject: |
|
|
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 |
|
 |
Goldmund -
Joined: 19 Feb 2005 Posts: 19 Location: Seattle, WA
|
Posted: Wed Mar 02, 2005 5:05 am Post subject: |
|
|
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 |
|
 |
|