Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter mithrandir

    (@mithrandir)

    That might be what I need to do. Currently I’m getting annoyed by some other oddities of this otherwise fantastic distro–and may switch to Mandrake in the end.

    Thread Starter mithrandir

    (@mithrandir)

    Hmm. I’ve put hello world and phpinfo() PHP files in each of the directories in question and they work fine. But if I go to wp-admin/ Firefox barfs up a dialog about what to do with a PHTML file. Apparently PHP is humming, but there’s something else amiss. Is there a configuration snag somewhere within WordPress that’s confusing PHP? I hope we can resolve this within the thread in case anyone else comes along with the same issue.

    Thread Starter mithrandir

    (@mithrandir)

    If there’s a config file making the PHP engine ignore anything that isn’t in /phpmyadmin, where/what could the misconfiguration possibly be? I’m going to look around but if anyone has any idea where I should start, that would be great.

    Whatever the problem was, I updated Apache and MySQL to the most current versions Fedora Core 3 offers, made sure the right password was in the right file, and phpmyadmin worked!

    I then commented out the part in wp-settings.php that checks for mysql and gives that error. I’m now happily blogging!

    But what about that error? “Your PHP installation appears to be missing the MySQL which is required for WordPress.”

    I’ve got all of LAMP in and functioning. My version of MySQL is high enough. What could be sending me that message?

    better yet, I put the phpinfo script in the top level directory, “/var/www/html/”, and the script works fine. However, if I run it from /var/www/html/phpmyadmin/phpinfo.php I get the “cannot load mysql extension…” error.

    Fascinating!

    An extra bit of confusion: the command “# php -m” returns a list of installed php modules, which INCLUDES “mysql”

    I’m having exactly the same problem as dinonet.

    Apache is installed and IS running, according to the GUI “Service Configuration” app in Fedora.
    PHP 4.3 is installed and IS enabled.
    MySQL 3.23.58 is installed and IS running, according to “Service Configuration”.
    Currently running Fedora Core 3

    I’ve poked around in every config file Googling helped me find and as far as I know this stuff should all be humming. I’ve reconfigured and restarted all of those things. Yet I get the “cannot load mysql extension, please check PHP Configuration” error every time I try to look at anything in phpmyadmin/ . A ‘Hello World!’ PHP file I made in the root html directory works fine. So Apache and PHP are definitely on and working. phpMyAdmin can’t seem to find MySQL. Once again, YES, mysql is installed and so is php-mysql. Once again, YES, mysql is running.

    This is not a problem exclusively dinonet’s. There is something missing in the instructions and the documentation. What is it? Everyone else seems to have such an easy time with *AMP.

    Why can’t PHP load the mysql extension?

    Thread Starter mithrandir

    (@mithrandir)

    Weird. Files in my normal directories don’t get passed to the PHP engine, but any PHP file within the phpmyadmin directory works no problem. I put the wordpress files under the phpmyadmin directory and now everything works. It’s sloppy, and I still want to know how to make PHP take care of ALL files on the webserver, but at least I’ve got this thing sort of working now. If someone can help me with that, I’d start over from scratch and the 5 minute install would actually take 5 minutes.

    Thread Starter mithrandir

    (@mithrandir)

    I’ve logged into phpmyadmin using the user “root” and everything appears to work now. I can make databases.

    Thread Starter mithrandir

    (@mithrandir)

    No PHP files are rendered. I think Heatsink may be right. But I have PHP installed, and as far as I know everything is running. index.php in the phpmyadmin directory functions.

    If the webserver doesn’t know how to handle PHP files, how do I fix it?

    Thread Starter mithrandir

    (@mithrandir)

    If by “internet expl.” you are referring to Microsoft Internet Explorer, I am afraid that is impossible. As I said above, I am running Ubuntu Linux 5.04.

    Thread Starter mithrandir

    (@mithrandir)

    (me again): More specifically, Firefox asks me what app to open install.php with or whether to download it. It’s as though Firefox doesn’t recognize the file extension.

    Thread Starter mithrandir

    (@mithrandir)

    >Creating a mysql user with a password would be a
    >good idea. Now you’re trying to connect without a
    >username..

    Yes, I suppose it would. But I’d rather worry about having the thing WORK before I worry about coming up with a password.

    And no, I am not trying to connect without a username. I am logged in as ‘mysql’ when I attempt to create the database and that is the error I get. If MySQL is confused, please help me figure out what’s confusing it. If I tried connecting without a username, I wouldn’t have gotten in in the first place, would I?

    Thread Starter mithrandir

    (@mithrandir)

    Ubuntu. PHP4.3 and MySQL 4.0.23

    Trying to host locally. I’m calling the host localhost and letting everything have the most basic default names possible. I’ve sort of solved the above problem(s) by installing phpmyadmin, so now I have a comprehensible tool for creating a database. Unfortunately, I now get the following when trying to create the ‘wordpress’ database: #1044 – Access denied for user: ‘@localhost’ to database ‘wordpress’

    Login was just the MySQL default ‘mysql’ and no password. Not sure why access is/was denied. I’m the only user the app recognizes. Going to try running it as root. I’ll search around other threads, too.

Viewing 15 replies - 1 through 15 (of 16 total)