Re: Need help with wordpress install.

Previous thread: Open hardware. by Adrian Fisher on Saturday, November 3, 2007 - 12:47 pm. (5 messages)

Next thread: A motherboard wich works with bd.mp + sound.. any recommendations? by sebastian.rother on Saturday, November 3, 2007 - 3:30 pm. (1 message)
From: nuffnough
Date: Saturday, November 3, 2007 - 1:44 pm

Hi.

I am getting an error when I try to run the wordpress
wp-admin/install.php script:

Your PHP installation appears to be missing the MySQL which is
required for WordPress.


This is OpenBSD 4.2 with:

mysql-client-5.0.45 multithreaded SQL database (client)
mysql-server-5.0.45 multithreaded SQL database (server)
p5-DBD-mysql-3.0008 MySQL drivers for the Perl DBI
p5-DBI-1.53         unified perl interface for database access
p5-Net-Daemon-0.39  extension for portable daemons
p5-PlRPC-0.2018p0   module for writing rpc servers and clients
php5-core-5.2.3     server-side HTML-embedded scripting language
php5-extensions-5.2.3 informational package about PHP5 extensions
php5-mysql-5.2.3    mysql database access extensions for php5
php5-mysqli-5.2.3   mysql database access extensions for php5


I have created a blank mysql database,  and given it a password.
MySQL starts on boot fine,  and I can use mysqladmin to my heart's
content. I used phpxs to load php5-mysqli (and php5-mysql,  after I
got desperate).

Loading a phptest.php file on the webserver demonstrates that php is
working just fine.

I have configured the wp-config.php file to point to the database that
I have created.  I even specified the mysql.default.port = 3306 in the
php.ini file after I found someone fixed their problem by doing this
on a fedora system.

I am sure (well,  I am hoping!) that there is something obvious and
dumb that I've overlooked.  Or that I didn't find documented, but that
some of the genii in misc can help me with.

TIA

nuffi

From: James
Date: Saturday, November 3, 2007 - 5:56 pm

I installed wordpress on OpenBSD entirely following the steps here:

http://codex.wordpress.org/Installing_WordPress

What step are you on?


From: James
Date: Saturday, November 3, 2007 - 5:57 pm

Just thought of something else, too.

are you using an install of apache from ports, or the default version in
OpenBSD? Because the default version is chrooted, so you may need to install
a bunch of stuff in the chroot environment, or turn off the chroot and lose
its security features.




From: nuffnough
Date: Saturday, November 3, 2007 - 11:36 pm

Thanks for the reply.

I'm just using the default apache in obsd 4.2.  I've tried it
switching chroot() off in rc.conf,  but it seems to make no

I am up to this step:

Run the WordPress installation script by accessing
wp-admin/install.php in your favorite web browser.

It is when I put that url into a browser that I get shown that error.

THanks for the help.

Nuffi

From: James
Date: Sunday, November 4, 2007 - 2:59 am

Makes all the difference in the world, me bucko. It's good to have it


Clearly, then, you're misconfigured somewhere before this :)

I seem to recall that reading httpd-errors is often a good place to start
with wordpress, along with messages. But your solution is really as simple
as combing through the instructions and verifying that you've followed
everything.





From: L. V. Lammert
Date: Sunday, November 4, 2007 - 5:52 pm

Indeed. First, turn off chroot and make sure PHP is runnig! THEN you can
setup the chroot, .. make sure PHP still runs, and *then* work with your
wordpress install.

	Lee

From: Marc Winiger
Date: Sunday, November 4, 2007 - 2:25 am

Hi


Which error?

Did you move the mysql.sock to /var/www/var/run/mysql?

http://www.unixadmintalk.com/f67/re-mysql-issues-290522/

Marc

Previous thread: Open hardware. by Adrian Fisher on Saturday, November 3, 2007 - 12:47 pm. (5 messages)

Next thread: A motherboard wich works with bd.mp + sound.. any recommendations? by sebastian.rother on Saturday, November 3, 2007 - 3:30 pm. (1 message)