The MU forums have moved to

Cant Get Past Submit (5 posts)

  1. kaneda18
    Posted 16 years ago #

    Alright first off I'm pretty new to this wordpress stuff so bear with me. This is what I have so far...

    Running Fedora 2.6.18-1.2798.fc6

    Soooooo, I download and extract the tar.gz from this fine website. I rename the folder wpmu and move it into my /var/www/html/ directory.

    I load up http://localhost.localdomain/wpmu and out pops a nifty installation page. It tells me I need to change the permissions on 2 folders. I chmod them to 777. Refresh the page and continue on my merry way.

    I have mysql-server up and running. I downloaded mysql-administrator via yum and I am able to connect to my running mysql-server just fine.

    I type mysql -u root -p and then enter in my password. Created a new user called wpuser and granted him all privileges. Created a new database called wordpress. Fairly straightforward so far.

    Now I go back to my firefox browser where I have that installation page setup, I enter the following...

    Database name : wordpress
    User Name : wpuser
    Password : (blank because im just testing)
    Database Host : localhost

    The server address is set for localhost.localdomain

    I enter a site title and enter my email. Click submit and... I'm sent to a blank page.

    I was originally at http://localhost.localdomain/wpmu/ and after hitting submit I am taken to http://localhost.localdomain/wpmu/index.php

    Now I know php works just fine. I can run phpinfo() in a test.php file and the page loads and shows me all kinds of fancy stuff. So my question is... what is going on? I know I got the in my httpd.conf file.

    LoadModule rewrite_module modules/

    One thing I find odd though is... when I open up httpd.conf and search for php I cannot find it anywhere. Yet... php pages still load on the localhost webserver? Anyways, I went and tried to add in the module and when I restart httpd it tells me that "the module is already loaded, skipping."

    I also checked my iptables and made sure port 3306 was open. Restarted both iptables and httpd... what am I doing wrong?

  2. kaneda18
    Posted 16 years ago #

    Just adding something else...

    I noticed in the phpinfo() that it has '--without-mysql' which leads me to believe things are broken.

    Now when I started all this I simply did a yum install (whatever) and the ones I got were httpd, mysql, mysql-server and php. I never made or compiled any of these. I notice a few guides out there that say to do things like ./configure --with-mysql=/path/to/mysql

    So I guess my question should be... is it possible to reconfigre or do I have to remove everything and grab the tarballs and build it this way? I seem to recall a looong time ago php-mysql module just came functioning.

  3. kaneda18
    Posted 16 years ago #

    God I feel stupid. Incase anyone else happens to come across this problem. A simple fix is to edit your /etc/php.ini file and do a search for the mysql section.

    You'll need to add a value for the following...
    mysql.default_port =
    mysql.default_socket =

    My default socket was in /var/lib/mysql/mysql.sock and I just used 3306 as my port.

    Hope this helps someone.

  4. drmiketemp
    Posted 16 years ago #

    So did you get it to work? Just want to make sure.

  5. kaneda18
    Posted 16 years ago #

    Yup, got it working. :)

About this Topic

  • Started 16 years ago by kaneda18
  • Latest reply from kaneda18