During Drupal 5.0-rc1 installation, I got following error:

Your Apache server is too old. Drupal requires at least Apache 1.3. (Currently using Web server Apache/x.x.x (Unix) mod_throttle/3.1.2 PHP/4.3.11)

I checked with phpinfo.php and got following Apache version information:

Apache Version Apache/x.x.x (Unix) mod_throttle/3.1.2 PHP/4.3.11

However our webhosting company adviced me that the server which we are in has Apache version 1.3.33.

How can I solve this problem. Thank you.

Comments

chx’s picture

Please provide the artificial intelligence code that we could use to figure out that x.x.x is indeed 1.3.

I think I will file code to remove Apache minimum requirement checking...
--
The news is Now Public | Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.

--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.

polar-bear’s picture

I don't know why there is the Apache minimum requirement checking but why don't you give installer an option to choose whether he/she would like to continue with installation even if the requirement is not met.

cog.rusty’s picture

You could try to change the define('DRUPAL_MINIMUM_APACHE', '1.3') line in /modules/system/system.install and see what happens, but... to what? You want it to be less than or equal to x.x.x. Probably a minimum version '0'. Or 'x.x.x'?!?

polar-bear’s picture

I have commented out Apache Version Check and all went well.

Thank you for your advice.

perohanych’s picture

I am a newbee and it was not a simple task to comment it properly.

It took me some time before I finally changed

if (version_compare($version, DRUPAL_MINIMUM_APACHE) < 0 )...

to

/* if (version_compare($version, DRUPAL_MINIMUM_APACHE) < 0 )*/

if (1 < 0)