Page 1 of 1

cli-version included in php 4.4.2 release?

Posted: Thu Mar 23, 2006 4:15 pm
by bleed2003
hi,

first thanks very much scott for your effort, i'm really appreciating it.

i'm using the php 4.3.11 release on our REL3 production machine, where we host some eZ publish (CMS) sites. The newer versions of eZ publish require php > 4.4 due to reference issues in prior php versions. But in order to upgrade i have to run several php scripts via the php CLI binary.

I know from our system that in the art 4.3.11 release the php binary was the CGI-version, there was also a thread in this forum http://atomicrocketturtle.com/forum/viewtopic.php?t=607.

So my question, before i break my sites: Is CLI support enabled (by removing --disable-cli from the build flags) in the recent php release (4.4.2)? Could somebody using this version just run the command

Code: Select all

php -v
from the command line and post the output here?

Another less important question: In order to get mysql 4.1.x I must have plesk >= 7.5.4, right? Can I just upgrade plesk from 7.5.2 to 7.5.4 and then mysql, or are there any known issues?

Thanks,
Patrick

Posted: Thu Mar 23, 2006 8:38 pm
by scott
Yep, the CLI is in there and if you have any issues with it, let me know and I'll fix it.

Posted: Thu Mar 23, 2006 9:09 pm
by bleed2003
thanks very much, i'll do the upgrade tomorrow and report on it!

should i open another topic for my other question "is it possibile/okay to upgrade plesk from 7.5.2 to 7.5.4 and then upgrade mysql to 4.1.x"?

would be great if i could do all the upgrading stuff altogether..

thanks again,

patrick

unfortunatly the binary is the CGI version again

Posted: Sun Mar 26, 2006 10:55 am
by bleed2003
hi scott,

unfurtunatly the php-binary of the php-4.4.2 release is the CGI-version again :cry: .

php -v prints:

Code: Select all

PHP 4.4.2 (cgi) (built: Feb 19 2006 19:45:50)
since i cannot wait for a new release i will build php-4.4.2 myself and only use the cli binary from that.

but it would be a great if you could replace the CGI with the CLI version (or at least include the CLI version additionally) in one of your next releases, since the CGI version shoudnt be used anymore on the command-line and many scripts have problems running in CGI-mode.

Thanks,

patrick

Posted: Sun Mar 26, 2006 2:02 pm
by scott
Oh sorry, I forgot to mention I'm doing all the new development on php 5.0 in the atomic-testing channel, I've more or less ceased development on the 4.x series (sort of.. it comes back to haunt me a lot). In 5.0.x and 5.1.x you'll see there is both a php-cgi and a php binary in the RPM.