Install of 1.4.1+ on win2003server, apache2

Install of 1.4.1+ on win2003server, apache2

by Sven Tiberg -
Number of replies: 12
Hi.

Got two varnings at installation
Cant find gd -lib : how to do on php5?
extend memory : how to do on win2003 with apache2.

secondly got blank pages by initializing the db on mysql. can it be that some php code starts with <php

A path to phpinfo() page http://tellus.arb.ltu.se/moodle/php_version.php

-- BG --
Sven-Erik Tiberg
Lule Univ. of Techn.

Average of ratings: -
In reply to Sven Tiberg

Re: Install of 1.4.1+ on win2003server, apache2

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Where/how did you install PHP? You must have the full version, not the Windows Installer version that doesn't have all the files you need. There are some quite detailed instructions on this site somewhere for installing PHP and Moodle on Windows.
In reply to Howard Miller

Re: Install of 1.4.1+ on win2003server, apache2

by Sven Tiberg -

installed it at c:\php full version and used php.ini-recommened > php.ini

Noticed that <php phpinfo(); ?> gave a blank page too. altered to <? phpinfo() ?> to show the info.

??

In reply to Sven Tiberg

Re: Install of 1.4.1+ on win2003server, apache2

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Did you copy any or all of the extensions (from the extensions directory of c:\php) to c:\winnt\system32?? AND... did you enable the ones you need in php.ini?

<php won't work - it's wrong, should be <?php
In reply to Howard Miller

Re: Install of 1.4.1+ on win2003server, apache2

by Sven Tiberg -

Opps. <?php works as well as <? Misstyped in the code for php_version.php

Must be something in the mysql connection as I got a blank page in myqsl_admin (.php) as well.

The WinMySQLadmin 1.4 : enviroment : MyODBC states

Not Found
Driver 3.51 Not Found.

?

In reply to Sven Tiberg

Re: Install of 1.4.1+ on win2003server, apache2

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
What version of MySql are you using? This sounds like MySql is not installed properly or was not initialised properly. If it's an older version get the latest and try that. It's a ages since I installed MySql on Windows so make sure you follow the instructions in the documentation - I don't remember ever having a problem though.
In reply to Howard Miller

Re: Install of 1.4.1+ on win2003server, apache2

by Sven Tiberg -

Used the win-installer for vers.4.0.21, will reinstall it manually tomorrow.

Can the std. security settings in Win 2003 server make this error.
PS not using the firewall.

/ BG Sven-Erik.

 

In reply to Sven Tiberg

Re: Install of 1.4.1+ on win2003server, apache2

by Sven Tiberg -

Removed all mySQL files and registry entries then installed mySQL 4.1.5 gamma with mySQL_Administrator.
mySQL seems to work fine now,

still a blank page in install.php when trying to create the db and db scema in mySQL. Blank screen also by starting mysql_admin

Tips?

Should I set host, user and password in the php.ini file?

/ Sven-Erik

In reply to Sven Tiberg

Re: Install of 1.4.1+ on win2003server, apache2

by Adam Brooks -
i too am getting a blank page on instal/php on a win server.
In reply to Adam Brooks

Re: Install of 1.4.1+ on win2003server, apache2

by Mike Taylor -

We are also having the same problem with a slightly different build:

Win2k server

Apache    1.3.31

PHP  5 - the PHPinfo works OK.

mySQL 4.1.5 gamma - which starts OK.

Moodle 1.4.1+

Regards

Mike Taylor

In reply to Mike Taylor

Re: Install of 1.4.1+ on win2003server, apache2

by Sven Tiberg -

Did you use the installer för PHP 5 or made it manually?

Could it be that some extenions are missing?

Used manual setup and had to remove the ";" for the mysql extension to get it running.

-- Sven-Erik --

In reply to Sven Tiberg

Re: Install of 1.4.1+ on win2003server, apache2

by Mike Taylor -
Sven

We also had the mysql.dll commented out. We uncommented it and nothing, also running phpinfo we noticed there wasn't support for mySQL.

We eventually tracked the problem down to the php.ini file, the setting

extension_dir = c:\php\extensions

had to be changed to:

extension_dir = c:\php\ext

Running phpinfo again we found that mySQL support was available.

Regards

Mike
In reply to Mike Taylor

Re: Install of 1.4.1+ on win2003server, apache2

by Sven Tiberg -

Changed that line too and then installed phpmysqladmin 2.6.0

By starting phpmysqladmin got this message:

#1251 - Client does not support authentication protocol requested by server; consider upgrading MySQL client

Could this give a clue?

PS. posted this message on zend.com too.

-- BG --

Sven-Erik