Re: What is the minimum PHP version required for QueryPath 3.0.1?

71 views
Skip to first unread message

TechnoSophos

unread,
Mar 14, 2013, 10:41:45 AM3/14/13
to support-...@googlegroups.com
For 3.x, PHP >= 5.3 is required (namespaces, anonymous functions). Also, libxml support is required, since QueryPath uses that for HTML and XML parsing.

-- 
TechnoSophos
Twitter: @technosophos
Sent with Sparrow

On Thursday, March 14, 2013 at 9:04 AM, Alexander Torrijos wrote:

 What extensions are required if any?

--
You received this message because you are subscribed to the Google Groups "support-querypath" group.
To unsubscribe from this group and stop receiving emails from it, send an email to support-queryp...@googlegroups.com.
To post to this group, send email to support-...@googlegroups.com.
Visit this group at http://groups.google.com/group/support-querypath?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

TechnoSophos

unread,
Mar 14, 2013, 10:42:32 AM3/14/13
to support-...@googlegroups.com
Oh, and MB and iconv are strongly recommended, since XML uses UTF-8 by default, and since HTML is… well… HTML.

-- 
TechnoSophos
Twitter: @technosophos
Sent with Sparrow

Alexander Torrijos

unread,
Mar 15, 2013, 12:12:09 AM3/15/13
to support-...@googlegroups.com
Thanks. I was wondering if there were any implication on using it from a subclass. I had to integrate it within a CodeIgniter 2.0 application.

Alexander Torrijos

unread,
Mar 15, 2013, 1:50:55 AM3/15/13
to support-...@googlegroups.com
It's working on my local machine using WAMP with PHP 5.4 but is failing on CentOS with PHP 5.3.3.

I probably have to troubleshoot the why it's not working on the server.

LibXML, MB and iconv are all enabled on the staging server.

TechnoSophos

unread,
Mar 15, 2013, 1:56:57 PM3/15/13
to support-...@googlegroups.com
Working from a subclass should be just fine.

-- 
TechnoSophos
Twitter: @technosophos
Sent with Sparrow

TechnoSophos

unread,
Mar 15, 2013, 2:00:30 PM3/15/13
to support-...@googlegroups.com
I don't know a lot about CentOS, but have had a very hard time using the version of PHP bundled with it. My dev workstations have later versions of PHP (5.3.13, 5.3.15), so I'm not sure if there was a bug in earlier 5.3 that got resolved later.

Likely culprits are:

- libxml
- SplObjectStorage
- Autoloader

Those all went through fairly large changes between PHP 5.2 and PHP 5.3.

That said, if you can post an issue (with relevant error messages) on GitHub, I will take a look.

-- 
TechnoSophos
Twitter: @technosophos
Sent with Sparrow

--
Reply all
Reply to author
Forward
0 new messages