Hi,
I have recently installed PHP4 with Apache2. Currently I am trying to
install the DOMXML extension. According to what I have read, if I
uncomment the extension=php_d omxml.dll line in php.ini (ensuring that
extension_dir is correct and that the file is definitely in that
folder) and then restart apache this should install domxml in PHP.
Now! when I do phpinfo() it tells me that domxml is enabled (good).
Unfortunetely, when I try the following:
domxml_open_fil e('xml/menu.xml');
....I get the following error:
Warning: domxml_open_fil e(): I/O in C:\Program
Files\Apache\Ap ache2\htdocs\cs p\home\index.ph p on line 28
Warning: domxml_open_fil e(): warning : in C:\Program
Files\Apache\Ap ache2\htdocs\cs p\home\index.ph p on line 28
Warning: domxml_open_fil e(): failed to load external entity
"../xml/menu.xml" in C:\Program
Files\Apache\Ap ache2\htdocs\cs p\home\index.ph p on line 28
Is there any reason why PHP4 would struggle with this line? Is there
anything else that I need to do to install domxml? Cheers
Burnsy
I have recently installed PHP4 with Apache2. Currently I am trying to
install the DOMXML extension. According to what I have read, if I
uncomment the extension=php_d omxml.dll line in php.ini (ensuring that
extension_dir is correct and that the file is definitely in that
folder) and then restart apache this should install domxml in PHP.
Now! when I do phpinfo() it tells me that domxml is enabled (good).
Unfortunetely, when I try the following:
domxml_open_fil e('xml/menu.xml');
....I get the following error:
Warning: domxml_open_fil e(): I/O in C:\Program
Files\Apache\Ap ache2\htdocs\cs p\home\index.ph p on line 28
Warning: domxml_open_fil e(): warning : in C:\Program
Files\Apache\Ap ache2\htdocs\cs p\home\index.ph p on line 28
Warning: domxml_open_fil e(): failed to load external entity
"../xml/menu.xml" in C:\Program
Files\Apache\Ap ache2\htdocs\cs p\home\index.ph p on line 28
Is there any reason why PHP4 would struggle with this line? Is there
anything else that I need to do to install domxml? Cheers
Burnsy
Comment