You are not logged in.
ok so I was following the wiki.
it says to test mysql by using phpmyadmin.
My test fails.
it says, "Cannot load mysql extension. Please check your PHP configuration. - Documentation"
when I look at documentation it says,
" 1.20 I receive the error "cannot load MySQL extension, please check PHP Configuration".
To connect to a MySQL server, PHP needs a set of MySQL functions called "MySQL extension". This extension may be part of the PHP distribution (compiled-in), otherwise it needs to be loaded dynamically. Its name is probably mysql.so or php_mysql.dll. phpMyAdmin tried to load the extension but failed.
Usually, the problem is solved by installing a software package called "PHP-MySQL" or something similar."
---------------------------------------------------------------------------------------------------------------------------------------------------------
I already enabled the mysql.so in /etc/php/php.ini
;extension=imap.so
;extension=json.so
;extension=ldap.so
;extension=mcrypt.so
;extension=mhash.so
;extension=mime_magic.so
extension=mysql.so <-----------------------------------------
;extension=mysqli.so
;extension=ncurses.so
;extension=odbc.so
;extension=openssl.soLast edited by otacon (2009-02-12 02:52:26)
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
is your php modual loaded in apache?
Offline
yes and my php tested working.
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
not sure, I just installed lamp myself last night and everything is working.
go over the wiki again and make sure you didn't miss a step somewhere
if that dont help maybe try reinstalling mysql
Offline
well it looks like my hard-drive is defective so I guess I will be reinstalling everything
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
Make sure you have the MySQL Client Libraries installed. Really, just doing "pacman -S mysql" should do the trick (While installing all the server essentials), but it seems to have not worked in this instance, but indeed, make sure you restart the httpd (/etc/rc.d/httpd restart) before trying again, it'll reload the httpd.conf and php.ini files then.
Offline
I had a bad hard-drive so after reinstalling arch and mysql it just started working. Don't know what I did wrong sry.
Thanks guys
http://remcycle.net
Cheap Web Hosting and Even Cheaper Domain Registration
Offline
hmm, this is really really awkward. i have the same problem and my partition is not corrupted (as far as i know).
i've setup lamp on my new laptop and everything works just fine, but not on my home pc.
this really sucks! ![]()
any suggestions?
Speak when you are angry and you will make the best speech you'll ever regret.
Offline
i have the same problem and i solved this with a little change in php.ini
i think you have to change php extension directory to this
extension_dir = "/usr/lib/php/modules/"Offline