Discussion:
Bug: Flux CMS snapshot
Andreas Bachmann
2009-12-16 20:07:30 UTC
Permalink
Hi,

Env:
WinXP
Apache 2.2.14
mod_fcgid 2.3.4
PHP 5.3.1
MySQL 5.1.41-community

When I'd like to install Flux CMS, an error came:
[...]
Checking for MySQL Support ... Wrong version.
Flux CMS cannot be installed due to:
MySQL too old. Should be >= 4.0, is mysqlnd 5.0.5-dev - 081106 - $Revision:
289630 $
[...]

I fixed the part:
function getMysqlVersion() {
if (extension_loaded("mysqli")) {
$mysql_version = @mysqli_get_server_info();
if (!$mysql_version) {
$mysql_version = @mysqli_get_client_info();
}
} else {
$mysql_version = @mysql_get_server_info();
if (!$mysql_version) {
$mysql_version = @mysql_get_client_info();
}
}

if (strpos($mysql_version, "mysqlnd") == 0) {
$arr = explode(" ", $mysql_version);
$mysql_version = $arr[1];
}

return $mysql_version;
}

Another thing: install/.htaccess has php module specific commands and
brought me a "500 Internal Server Error"
[...]
[Wed Dec 16 20:53:26 2009] [alert] [client 127.0.0.1]
F:/apache2.2/htdocs/fluxcms/install/.htaccess: Invalid command 'php_value',
perhaps misspelled or defined by a module not included in the server
configuration
[...]

greets

Andreas
--
bitflux-cms mailing list
bitflux-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
list.fluxcms
2009-12-16 20:49:25 UTC
Permalink
Hi Andreas,

your 500-Error concerns the apache configuration.
See at http://de3.php.net/configuration.changes
There is a need for the "AllowOverride All" directive
to get the php_value running from .htaccess.

Alternate you can put the php_value settings in your
apache configuration file as well - then there is no
need for the .htaccess, and the system gets faster.

Hope this helps.

Thomas

tiri GmbH
Lauenburger Str. 31a
21493 Schwarzenbek
Tel. 04151 8674995
Fax. 04151 8674996
Net. http://www.tiri.li

Geschäftsführer: Anja Baumann, Thomas Baumann
Sitz Schwarzenbek, Amtsgericht Lübeck, HRB 8837 HL
Post by Andreas Bachmann
Hi,
WinXP
Apache 2.2.14
mod_fcgid 2.3.4
PHP 5.3.1
MySQL 5.1.41-community
[...]
Checking for MySQL Support ... Wrong version.
289630 $
[...]
function getMysqlVersion() {
if (extension_loaded("mysqli")) {
if (!$mysql_version) {
}
} else {
if (!$mysql_version) {
}
}
if (strpos($mysql_version, "mysqlnd") == 0) {
$arr = explode(" ", $mysql_version);
$mysql_version = $arr[1];
}
return $mysql_version;
}
Another thing: install/.htaccess has php module specific commands and
brought me a "500 Internal Server Error"
[...]
[Wed Dec 16 20:53:26 2009] [alert] [client 127.0.0.1]
F:/apache2.2/htdocs/fluxcms/install/.htaccess: Invalid command 'php_value',
perhaps misspelled or defined by a module not included in the server
configuration
[...]
greets
Andreas
--
bitflux-cms mailing list
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
bitflux-cms mailing list
bitflux-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
Andreas Bachmann
2009-12-17 09:09:31 UTC
Permalink
Hi Thomas,

The config is ok: I wrote "AllowOverride All" (= use .htaccess).
I'm using mod_fcgid, no apache php-module installed.
I commented out the php_value command in the .htaccess
I just made a comment about that issue.

Andreas
Post by list.fluxcms
Hi Andreas,
your 500-Error concerns the apache configuration.
See at http://de3.php.net/configuration.changes
There is a need for the "AllowOverride All" directive
to get the php_value running from .htaccess.
Alternate you can put the php_value settings in your
apache configuration file as well - then there is no
need for the .htaccess, and the system gets faster.
Hope this helps.
Thomas
tiri GmbH
Lauenburger Str. 31a
21493 Schwarzenbek
Tel. 04151 8674995
Fax. 04151 8674996
Net. http://www.tiri.li
Geschäftsführer: Anja Baumann, Thomas Baumann
Sitz Schwarzenbek, Amtsgericht Lübeck, HRB 8837 HL
Post by Andreas Bachmann
Hi,
WinXP
Apache 2.2.14
mod_fcgid 2.3.4
PHP 5.3.1
MySQL 5.1.41-community
[...]
Checking for MySQL Support ... Wrong version.
289630 $
[...]
function getMysqlVersion() {
if (extension_loaded("mysqli")) {
if (!$mysql_version) {
}
} else {
if (!$mysql_version) {
}
}
if (strpos($mysql_version, "mysqlnd") == 0) {
$arr = explode(" ", $mysql_version);
$mysql_version = $arr[1];
}
return $mysql_version;
}
Another thing: install/.htaccess has php module specific commands and
brought me a "500 Internal Server Error"
[...]
[Wed Dec 16 20:53:26 2009] [alert] [client 127.0.0.1]
F:/apache2.2/htdocs/fluxcms/install/.htaccess: Invalid command 'php_value',
perhaps misspelled or defined by a module not included in the server
configuration
[...]
greets
Andreas
--
bitflux-cms mailing list
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
--
bitflux-cms mailing list
bitflux-***@lists.bitflux.ch
http://lists.bitflux.ch
Christian Stocker
2009-12-17 07:35:29 UTC
Permalink
Hi

I added the mysqlnd check to our installed.

Thanks for the feedback

chregu
Post by Andreas Bachmann
Hi,
WinXP
Apache 2.2.14
mod_fcgid 2.3.4
PHP 5.3.1
MySQL 5.1.41-community
[...]
Checking for MySQL Support ... Wrong version.
289630 $
[...]
function getMysqlVersion() {
if (extension_loaded("mysqli")) {
if (!$mysql_version) {
}
} else {
if (!$mysql_version) {
}
}
if (strpos($mysql_version, "mysqlnd") == 0) {
$arr = explode(" ", $mysql_version);
$mysql_version = $arr[1];
}
return $mysql_version;
}
Another thing: install/.htaccess has php module specific commands and
brought me a "500 Internal Server Error"
[...]
[Wed Dec 16 20:53:26 2009] [alert] [client 127.0.0.1]
F:/apache2.2/htdocs/fluxcms/install/.htaccess: Invalid command 'php_value',
perhaps misspelled or defined by a module not included in the server
configuration
[...]
greets
Andreas
--
Liip AG // Feldstrasse 133 // CH-8004 Zurich
Tel +41 43 500 39 81 // Mobile +41 76 561 88 60
www.liip.ch // blog.liip.ch // GnuPG 0x0748D5FE
--
bitflux-cms mailing list
bitflux-***@lists.bitflux.ch
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms
Loading...