Hi All,
I hope I am in the right forum, I want to add libxml2 extension which will let PHP5 use SimpleXML functions.
I am using PHP 5.2.9-1 on Windows Server 2008. I have a successful installation of IIS 7, MySQL, and PHP with a few of the dynamic installations included in the php.msi file. So I have downloaded the LibXML2 package (libxml2-2.7.3.win32) and put the libxml2.dll file in the PHP5\ext folder as I specified in the php.ini file.
Then, as I understand it, I am supposed to open the .ini file and add the line "extension=libxml2.dll" in the extensions area. In my ini file this seems to be right at the end where other extensions are added like MySQL etc. They are listed in this way:
I just added this line:
The test I am using to see if it works is just opening the phpinfo.php file i have added to webroot.
Before I add this line the phpinfo file works fine, but when I add this line, the file fails with this error:
"HTTP Error 500.0 - Internal Server Error
C:\PHP5\php-cgi.exe - The FastCGI process exited unexpectedly"
I'm not sure why this happening. Can anyone give me some insight on this?
Thanks.
I hope I am in the right forum, I want to add libxml2 extension which will let PHP5 use SimpleXML functions.
I am using PHP 5.2.9-1 on Windows Server 2008. I have a successful installation of IIS 7, MySQL, and PHP with a few of the dynamic installations included in the php.msi file. So I have downloaded the LibXML2 package (libxml2-2.7.3.win32) and put the libxml2.dll file in the PHP5\ext folder as I specified in the php.ini file.
Then, as I understand it, I am supposed to open the .ini file and add the line "extension=libxml2.dll" in the extensions area. In my ini file this seems to be right at the end where other extensions are added like MySQL etc. They are listed in this way:
Code:
; Local Variables:
; tab-width: 4
; End:
[PHP_GD2]
extension=php_gd2.dll
[PHP_MBSTRING]
extension=php_mbstring.dll
[PHP_MCRYPT]
extension=php_mcrypt.dll
[PHP_MYSQL]
extension=php_mysql.dll
I just added this line:
Code:
[PHP_MYSQL]
extension=php_mysql.dll
[red]entension=libxml2.dll[/red]
The test I am using to see if it works is just opening the phpinfo.php file i have added to webroot.
Before I add this line the phpinfo file works fine, but when I add this line, the file fails with this error:
"HTTP Error 500.0 - Internal Server Error
C:\PHP5\php-cgi.exe - The FastCGI process exited unexpectedly"
I'm not sure why this happening. Can anyone give me some insight on this?
Thanks.