hey friends,
We are working on a project which converts php files to xml. The procedure is like this php fetches the data from the database and then it converts it to the xml form.
We have done this on Windows and now want to set this up on FC3 .
I am not able to find the rpm for php-libxml2 and php-iconv requires php-common,db3,mm packages(only php-common is available).
Most important is that whether the rpm of php that comes with FC3 does have the support for libxml2 or not. How do I know whether php has been compiled with libxml2 support or not.
If php is not compiled with libxml2 support then can I configure the php with libxml2 support through php-*.scr.rpm or I have to take the php-4.3.11.tar.gz and compile it.
Thanks & Regards
Ankush Grover
I am using php-4.3.11,mysql version 4.1.11.
On Wed, 2006-01-04 at 12:53 +0530, Ankush Grover wrote:
hey friends,
Ola,
I am not able to find the rpm for php-libxml2 and php-iconv requires php-common,db3,mm packages(only php-common is available).
I don't remember how it was on fc3; in fc4 it's php-xml
Most important is that whether the rpm of php that comes with FC3 does have the support for libxml2 or not. How do I know whether php has been compiled with libxml2 support or not.
use phpinfo().
If php is not compiled with libxml2 support then can I configure the php with libxml2 support through php-*.scr.rpm or I have to take the php-4.3.11.tar.gz and compile it.
It's best to edit the .spec file from the src.rpm, then build php with the modified spec. But I don't think you need to recompile, only to install proper module. Run "yum list 'php*'" to see all.
On 1/5/06, Marius Andreiana mandreiana.lists@gmail.com wrote:
On Wed, 2006-01-04 at 12:53 +0530, Ankush Grover wrote:
hey friends,
Ola,
hey ,
thanks for your information.
I am not able to find the rpm for php-libxml2 and php-iconv requires
php-common,db3,mm packages(only php-common is available).
I don't remember how it was on fc3; in fc4 it's php-xml
it is php-domxml
Most important is that whether the rpm of php that comes with FC3 does
have the support for libxml2 or not. How do I know whether php has been compiled with libxml2 support or not.
use phpinfo().
I have to use phpinfo() in a program or on the command prompt.On the command prompt it returns syntax error.
If php is not compiled with libxml2 support then can I configure the
php with libxml2 support through php-*.scr.rpm or I have to take the php-4.3.11.tar.gz and compile it.
It's best to edit the .spec file from the src.rpm, then build php with the modified spec. But I don't think you need to recompile, only to install proper module. Run "yum list 'php*'" to see all.
I will try this.
Regards
Ankush