l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
January 6: Social gathering
Next Installfest:
TBD
Latest News:
Nov. 18: Club officer elections
Page last updated:
2010 Jul 08 16:34

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Apache/MySQL/PHP working together for mediawiki
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Apache/MySQL/PHP working together for mediawiki



> -------- Original Message --------
> Subject: Re: [vox-tech] Apache/MySQL/PHP working together for mediawiki
> From: Rod Roark <rod@sunsetsystems.com>
> Date: Mon, July 05, 2010 3:40 pm
> To: lugod's technical discussion forum <vox-tech@lists.lugod.org>
> 
> 
> Using Ubuntu you just need to install the php5-mysql package.  No
> compiling required.

Perfect! Thank you.

> 
> Rod
> 
> On 07/05/2010 03:35 PM, timriley@appahost.com wrote:
> > Dear LUGOD,
> > 
> > My Linux installation came with Apache, MySQL, and PHP working; however,
> > only Apache and PHP are working together. From Apache I can execute PHP;
> > however, PHP doesn't connect to MySQL, which is running.
> > 
> > I'm trying to install mediawiki which requires all three to work
> > together. The mediawiki installation process has me executing:
> > http://localhost/mediawiki/config/index.php
> > 
> > However, the resulting HTML page contains this error:
> > # PHP 5.2.4-2ubuntu5.10 installed
> > Could not find a suitable database driver!
> > 
> >     * For MySQL, compile PHP using --with-mysql, or install the mysql.so
> > module
> > 
> > This seems to require for me to reinstall PHP from source or to install
> > a dynamically linked object module. I'm going through the steps to
> > install PHP from source, but it seems to want me to install Apache
> > first:
> > http://us.php.net/manual/en/install.unix.apache2.php
> > 
> > Look for the snippet that says:
> > cd ../php-NN
> > ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
> > make
> > make install
> > 
> > I don't have apxs. "locate apxs" returns nothing. So googling it sends
> > me here:
> > http://httpd.apache.org/docs/2.2/programs/apxs.html
> > 
> > This is too far from where I want to be. Any hints? Thank you.
> > 
> > --
> > Tim Riley
> > 
> > _______________________________________________
> > vox-tech mailing list
> > vox-tech@lists.lugod.org
> > http://lists.lugod.org/mailman/listinfo/vox-tech
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech

_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.