Installatron problem

VladimirK

New member
Joined
Oct 3, 2006
Messages
4
Good day Dear sirs!

I've trying to install iTron plugin but i get preg_match error:
Details

install.sh has been run:

Fatal error: Call to undefined function: preg_match() in /usr/local/directadmin/plugins/iTron/scripts/ixed.php on line 25 Installatron Error #4: Unable to Load POSIX (more >)

Installatron installation complete!


As i understand i have problem with preg_match() in DA, as in apache it works
you can see it in http://zp.ru/test_preg.php it has following code
<?php
// The "i" after the pattern delimiter indicates a case-insensitive search
if (preg_match("/php/i", "PHP is the web scripting language of choice.")) {
echo "A match was found.";
} else {
echo "A match was not found.";
}
?>

phpinfo you can see here http://zp.ru/test.php

So i don't know how to fic it. Please help me.
 
Incase anyone runs into a similar error, this was resolved by overwriting Installatron's PHP.INI with the server's default PHP.INI. This isn't a change we'd recommend for standard PHP configurations, but sometimes is required for more advanced configurations.

Cheers, Phil.
 
Back
Top