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.1.1 packages available for testing
Goto page 1, 2  Next
 
Post new topic   This topic is locked: you cannot edit posts or make replies.    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: Tue Jan 03, 2006 0:50    Post subject: PHP 5.1.1 packages available for testing Reply with quote

I just finished PHP 5.1.1 packages both with regular and commercial PDFlib. They should run under Panther and Tiger with Apache 1.3.

Sorry for the long delay, I’ve been extremely busy in a project at work during the past few months. Then my brother’s G5 machine on which I build these modules experienced a fatal harddisk failure, it had to be replaced and everything including the Panther OS had to be restored and reinstalled. I finally found some time to work on the updates over the holidays, but then these PHP 5.1 builds proved to be very challenging especially regarding dynamic library linker issues.

It gets harder to keep track of the library dependencies as third party libraries like PDFlib change over time. I will probably have to drop PHP 4 and Panther support sometime because it takes too much time and effort to tweak everything until it works on all versions. If you need these builds in the future, I advise you to start planning your migration to Tiger (and generally keep your OS up to date even beyond Tiger).

P.S.: Extra special big thanks to the people who sent me items off my amazon.com wishlist, that was an unexpected and nice surprise Smile Some of you did not write your e-mail address in the comment so I could not send a proper thank-you note. You know who you are...


Update: I removed the 5.1.1 packages and closed this thread because 5.1.2 was released shortly afterwards. Please see http://www.entropy.ch/phpbb2/viewtopic.php?t=2223


Last edited by liyanage on Sun Jan 15, 2006 13:11; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Ric



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

PostPosted: Tue Jan 03, 2006 5:15    Post subject: Reply with quote

Thanks, Marc! I just installed your 5.1.1 package on my 10.4.3 PowerBook and all of my PHP apps are working fine.
Back to top
View user's profile Send private message
bfr00



Joined: 22 Oct 2004
Posts: 10

PostPosted: Tue Jan 03, 2006 17:07    Post subject: CLI version Reply with quote

Thanks for your 5.1 installer. Could you possibly make an installer option to enable the commmand line version?
Back to top
View user's profile Send private message
liyanage
Site Admin


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

PostPosted: Tue Jan 03, 2006 18:25    Post subject: Re: CLI version Reply with quote

bfr00 wrote:
Thanks for your 5.1 installer. Could you possibly make an installer option to enable the commmand line version?


Isn’t it already in there at /usr/local/php5/bin/php? Or is that something else? I never use it so I never know Smile
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
bfr00



Joined: 22 Oct 2004
Posts: 10

PostPosted: Tue Jan 03, 2006 20:07    Post subject: Already there? Reply with quote

It may be there but it isn't actually "seen" unless you take further steps. If you go to terminal and enter php -v or php -r 'phpinfo();' you will see that the old version is still being used. One way around this is to create a symlink to your new version but I have to do this manually each time I get an update from you and it seems to me it should be an installer option.
Back to top
View user's profile Send private message
liyanage
Site Admin


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

PostPosted: Tue Jan 03, 2006 23:46    Post subject: Re: Already there? Reply with quote

bfr00 wrote:
It may be there but it isn't actually "seen" unless you take further steps.


Well that is a simple PATH variable issue, and nothing that I am going to mess with in the installer. You can always use the fully qualified path name /usr/local/php5/bin/php. You can also adjust PATH in your shell startup script (.bashrc for bash, .tcshrc for tcsh).

I am certainly not going to install symlinks into /usr, as that is against Apple's recommendations. The whole /usr and /System trees are strictly for Apple, with the exception of /usr/local.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
bfr00



Joined: 22 Oct 2004
Posts: 10

PostPosted: Wed Jan 04, 2006 1:47    Post subject: Well Reply with quote

Well OK but those are the instructions posted elsewhere here and that's what I've always had to do to enable CLI PHP.
Back to top
View user's profile Send private message
apathy



Joined: 08 Sep 2004
Posts: 2

PostPosted: Wed Jan 04, 2006 21:27    Post subject: Reply with quote

Hello All,

I just installed PHP 5.1.1 for Mac OSX and Apache/1.3.33 (Darwin). I am running a Wordpress blog and with 5.1.1, the blog came up but, without the text for each entry. The title was there and the date it was entered, just no text.

I have gone back to 5.0.4 and all is well.
Back to top
View user's profile Send private message
liyanage
Site Admin


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

PostPosted: Thu Jan 05, 2006 1:04    Post subject: Reply with quote

apathy wrote:
The title was there and the date it was entered, just no text.

I have gone back to 5.0.4 and all is well.


Wow that is a weird failure... I have no idea...
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
apathy



Joined: 08 Sep 2004
Posts: 2

PostPosted: Thu Jan 05, 2006 4:59    Post subject: Reply with quote

liyanage wrote:
apathy wrote:
The title was there and the date it was entered, just no text.

I have gone back to 5.0.4 and all is well.


Wow that is a weird failure... I have no idea...



it is working now. The "Markdown" plugin was causing the problem, so I disabled it.

Robert
Back to top
View user's profile Send private message
macagent



Joined: 18 Jun 2003
Posts: 33

PostPosted: Thu Jan 05, 2006 23:16    Post subject: Reply with quote

Quote:

I advise you to start planning your migration to Tiger (and generally keep your OS up to date even beyond Tiger).


Marc,

Why is this? Tiger is just an update to the "Mac" OS right. All the unix stuff can be continually updated regardless of the Mac version, correct?

I have heard nothing but bad stuff on Tiger server, especially regarding PHP IO issues.
Back to top
View user's profile Send private message
Sylvain228



Joined: 04 Oct 2005
Posts: 1

PostPosted: Fri Jan 06, 2006 0:53    Post subject: Mail() doesn't work Reply with quote

No problem so far on Panther Server 10.3.9
Back to top
View user's profile Send private message
liyanage
Site Admin


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

PostPosted: Fri Jan 06, 2006 1:06    Post subject: Reply with quote

macagent wrote:
Quote:

I advise you to start planning your migration to Tiger (and generally keep your OS up to date even beyond Tiger).


Marc,

Why is this? Tiger is just an update to the "Mac" OS right.


No, not at all, the UNIX and Mac OS parts are not independent. There were lots of upgrades and changes/improvements to the UNIX subsystem from Panther to Tiger.

The trouble is usually changed versions or dependencies of the dynamic libraries, in this case (Tiger) there was suddenly a new dependency to the XML parser library libxml that caused a problem.

Creating a binary for two versions of the OS usually takes a *lot* more time than one for a single OS release. This is why I might drop support for older OSs sometime in the future, if it takes too much time.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
macagent



Joined: 18 Jun 2003
Posts: 33

PostPosted: Fri Jan 06, 2006 12:05    Post subject: Reply with quote

Quote:
This is why I might drop support for older OSs sometime in the future, if it takes too much time.


Marc,

I am sure many folks here will be happy to pay for updates to the Panther version. Smile The upgrade to Tiger just seems scarey when you run a shared hosting eviroment. Everything runs fine on Panther, so it is hard to justify going to Tiger. But we want newest PHP builds Wink

Thanks Marc! I suggest everyone go and give Marc a donation for all his hard work. He does not have to do what he does, so lets show him he is appreciated. Very Happy
Back to top
View user's profile Send private message
liyanage
Site Admin


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

PostPosted: Sat Jan 07, 2006 2:21    Post subject: Reply with quote

macagent wrote:
I am sure many folks here will be happy to pay for updates to the Panther version. Smile The upgrade to Tiger just seems scarey


The point is that you *will* have to upgrade at some point anyway, and it only gets harder the longer you wait. I am saying this based on my own experience. It is much better to keep your system current.

Also, at some point it might simply not be possible or practical to create a version for an old OS because of library/dependency conflicts. It is usually straightforward to get the stuff to run with the newest versions of all libraries, but complicated or impossible to backport to older systems.

Just keeping an old system around because it "just runs, so don't mess with it" is not a good strategy regarding future security and bug fixes which is why I encourage people to keep up to date. And no, I don't get kickbacks from Apple for pushing OS upgrade sales Smile
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Entropy.ch Discussion Forums Forum Index -> PHP on Mac OS X All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

 
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