Hi,
I've tried to install Moodle 1.9 on Apache 1.3 and PHP 5.1.2. I'd like to know if there is any issue about this configuration, because I find some errors with it.
The installation stops when it verifies the environment, with a fatal error, as shown below:
Fatal error: Call to undefined function xml_parser_create() in /product/oracle/1013/Apache/Apache/htdocs/moodle19/lib/xmlize.php on line 50
The environment in which I'm trying to install Moodle is:
Linux Red Hat 4;
Oracle HTTP Server (based on Apache 1.3.34, shipped with a PHP module based on PHP 5.1.2);
Oracle DB server 10g.
Unfortunately PHP is already compiled in the OHS and I cannot modify these options. I just want to be sure, waiting for the oracle support answer, that there is no compatibility problems between Moodle and Apache 1.3.
Is there anyone who has tried to recompile PHP upon Oracle OHS?
These functions are enabled by default, using the bundled expat library. You can disable XML support with --disable-xml. If you compile PHP as a module for Apache 1.3.9 or later, PHP will automatically use the bundled expat library from Apache. In order you don't want to use the bundled expat library configure PHP --with-expat-dir=DIR, where DIR should point to the base installation directory of expat.
Thank you for the answers, I viewed the output of the funtion phpinfo() and found the --disable-xml directive for the configuration of the oracle mod_php module
I'm trying now to compile php by myself but I find some problems for the --with-apxs directive: I cannot find on the Internet the httpd-dev package for Apache 1.3 and the yum command doesn't function... Can anyone suggest me something?
It's a big question... I have to use it! However thank you for the support, I'll wait for the answer of the Oracle support ;)