Entropy.ch Discussion Forums Forum Index Entropy.ch Discussion Forums
Discussion forums about Mac OS X software development.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PHP 5.2.2 Package Available

 
Post new topic   Reply to topic    Entropy.ch Discussion Forums Forum Index -> PHP on Mac OS X
View previous topic :: View next topic  
Author Message
liyanage
Site Admin


Joined: 22 May 2003
Posts: 1104
Location: Zurich, Switzerland

PostPosted: Fri May 04, 2007 23:36    Post subject: PHP 5.2.2 Package Available Reply with quote

Here are the packages for the recently released PHP 5.2.2:


Apache 1.3

http://www2.entropy.ch/download/entropy-php-5.2.2-1.tar.gz


Apache 2.x

http://www2.entropy.ch/download/entropy-php-5.2.2-1-apache2.tar.gz


Let me know how it works. I only tested the Apache 1.3 version, briefly.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Ric



Joined: 27 Jun 2003
Posts: 43
Location: Washington, DC, USA

PostPosted: Sat May 05, 2007 21:58    Post subject: Reply with quote

The Apache 1.3 version works fine with all of my stuff. Thanks.
Back to top
View user's profile Send private message
garrycl



Joined: 04 May 2007
Posts: 3

PostPosted: Wed May 09, 2007 2:00    Post subject: Reply with quote

Seems to be working fine for me on 1.3. However, the GD Library image size limitation still exits.

All the best.

Garry
Back to top
View user's profile Send private message
jerome



Joined: 12 Mar 2006
Posts: 3

PostPosted: Thu May 10, 2007 17:13    Post subject: Reply with quote

There's a bug in PHP 5.2.2 if anybody doesn't know and uses SOAP, $HTTP_RAW_POST_DATA isn't set at all regardless of ini setting as of 5.2.2 (though supposedly had issues in previous versions but always worked for me)

http://bugs.php.net/bug.php?id=41293

it's fixed in snap shots, just wanted to warn anybody using SOAP
you can possibly fix it in 5.2.2 like this:
Code:

if (!isset($HTTP_RAW_POST_DATA)){
    $HTTP_RAW_POST_DATA = file_get_contents('php://input');
}
Back to top
View user's profile Send private message
markjallan



Joined: 11 May 2007
Posts: 2
Location: Edinburgh

PostPosted: Fri May 11, 2007 14:41    Post subject: Reply with quote

Hi Marc, firstly let me say thanks for all your work on the PHP packaging, it's a great help.

At work I've been tasked with figuring out how to use SOAP to make PHP talk to some other proprietary software we're using here. Unfortunately, your latest PHP release doesn't appear to include SOAP despite your passing the --enable-soap flag to ./configure and my modifying the /usr/local/php5/lib/php.ini file.

In my browser window I get no output and if I try from the command line I get the following:
Code:
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/php5/lib/php/extensions/no-debug-non-zts-20060613/php_soap.dll' - (null) in Unknown on line 0


php_soap.dll doesn't appear to be there, neither does php_soap.so (as you would expect it to be called on UNIX). I've installed GNOME libxml but still no luck, so I'm not sure where to go from here.

FWIW, I'm running 10.4.9 on an Intel iMac. Many thanks.

Mark
PS. Should this have been a new thread?
Back to top
View user's profile Send private message Visit poster's website
liyanage
Site Admin


Joined: 22 May 2003
Posts: 1104
Location: Zurich, Switzerland

PostPosted: Fri May 11, 2007 19:51    Post subject: Reply with quote

First off, SOAP is not a DSO, it is baked into the main module statically. If you look at the phpinfo() page, you will see "SOAP enabled" message further down.

I suspect that you have a messed up config file. I never use the extension .dll, that must be a local installation issue.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
markjallan



Joined: 11 May 2007
Posts: 2
Location: Edinburgh

PostPosted: Mon May 14, 2007 11:47    Post subject: Reply with quote

I do beg your pardon. It turns out that it was sort of working to begin with, but because of a bug in the original PHP source, I wasn't seeing anything in my browser. I then removed the semi-colon from the php.ini file thinking that I needed to turn SOAP on, and that's when things went downhill!

Here's a link to the original PHP bug which was tripping me up so that others can avoid it for the time being.
Back to top
View user's profile Send private message Visit poster's website
carburo



Joined: 16 Aug 2007
Posts: 1

PostPosted: Thu Aug 16, 2007 10:36    Post subject: PHP info ./config options... are correct? Reply with quote

I have see in the PHP Info page of the precompiled package ( in the ./configure option section ) some things I can't understand:
'--with-gd' -- the path?
'--with-ldap' -- idem
'--with-xmlrpc' -- idem
'--with-imap=../imap-2004g' -- is right?
--with-freetype-dir=/usr/local/php5' -- using the X11 freetype from Apple?
'--with-fbsql=shared,/Users/liyanage/svn/entropy/universalbuild/src/FBDeveloperLibraries/Library/FrontBase' -- can be functional?

this string for the ./config option work all correctly?
I have some dubt because my gd library doesn't function properly, for example.
to remedy all, I must install from the binary distribution? correct?

thanks in advance for every support Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Entropy.ch Discussion Forums Forum Index -> PHP on Mac OS X All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group