Gallery is not supported on Windows (PHP reports that you're using: WINNT)

w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Fri, 2013-01-25 19:21

Gallery = http://hktaitung.org/gallery3
Gallery = 2.3.1 核心 1.3.0.1
API = 核心 7.54,3.9,2.6, 1.5
PHP = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

I just installed installed XAMMP and Gallery 3.04 in my PC with Window XP.

After I set up the http://localhost/phpmyadmin/ and move the gallery3 into the folder htdocs.

I finished http://localhost/gallery3/installer, then run http://localhost/gallery3/.

I get the error message as the subject....

What is wrong?

Please let me know how to fix the above problem, thank you for your help.....

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Fri, 2013-01-25 22:02

I hate to do this, but, just as you posted: Gallery is not supported on Windows (PHP reports that you're using: WINNT)

So, with that, I'll move this to the correct forum, and you can read up on Windows installs in there.

Thanks

 
w91803
w91803's picture

Joined: 2009-08-29
Posts: 67
Posted: Sat, 2013-01-26 07:58

Gallery 網址 = http://hktaitung.org/gallery/main.php
Gallery 版本 = 2.3.1 核心 1.3.0.1
API = 核心 7.54,模組 3.9,佈景主題 2.6,內嵌 1.5
PHP版本 = 5.2.12 cgi
伺服器 = Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/

Hi Jnash,

Thank you for moving my post into the right forum. Later, I just commended out as the following code in inder.php:

//if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
// exit("Gallery is not supported on Windows (PHP reports that you're using: " . PHP_OS . ")");
//}

My problem is resolved....

Thanks,

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Sat, 2013-01-26 18:08

Excellent, glad you got it sorted.