Joomla Install Script

Hi When I try and run the Joomla! 1.6 install script I get this response: PHP module mysql is required .. Module is not available even after installation!

I have MySQL running it is installed here: /usr/bin/mysql and it shows up under the list of Servers in Webmin,
Virtual Servers are all configured to run mysql and showing mysql as enabled in the Edit Virtual Server | Enable Features tab.

OS: Ubuntu Linux 10.04.2 VM: 3.84 Pro

Global PHP configuration files are: /etc/php5/apache2/php.ini=Configuration for mod_php /etc/php5/cgi/php.ini=Configuration for scripts run via CGI /etc/php5/cli/php.ini=Configuration for command-line scripts

Status: 
Active

Comments

If you open the file etc/php.php under the domain's home directory, is there a line like :

extension=mysql.so

Also, what PHP execution mode is set for the domain at Server Configuration -> Website Options?

Hi Jamie

There is no file called /etc/php.php or anything similar in the virtual home directories

The php.ini file at /etc/php5/apache2/php.ini does include the line extension=mysql.so

Execution mode is set to run as Apache's user (- this may be causing me other issues I think, now you mention it as I was expecting suExec to be providing virtual server specific web user accounts)

Charles

I'd recommend switching to "Run as domain owner" mode (fcgi), as this is more secure and would probably solve this problem ..

Hi Jamie

I have installed FCGID and when I set

PHP script execution mode to FCGId (run as virtual server owner)

I get the following error:

Failed to save website options : The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.

How did you install FCGId? If I recall correctly, Virtualmin uses an adapted version of that package, which runs from the home directory instead of /var/www.

(I might be wrong though.)

When you type man suexec, does the synopsis read like so? "This is a customized version that can be configured with config files in /etc/apache2/suexec."

Suexec is actually a standalone package on Ubuntu and Debian.

What output do you receive if you type this command:

dpkg -l 'suexec'

Also, what are the contents of the file "/etc/apache2/suexec/www-data"?