Additional PHP Options

nike_guy_man's picture

They have: 840 posts

Joined: Sep 2000

I'm upgrading to PHP 4.3.0
What additional packages would you suggest?
I currently have:
Mcrypt
MySQL
zLib
Bz2
obdc
XML
openSSL
sockets
sessions

They were picked from running php -m
Is the Zend Optimizer worth running?

Laughing out loud

nike_guy_man's picture

They have: 840 posts

Joined: Sep 2000

What is GD?
How about the Zend Optimizer?? I'm thinking of installing it... is it worth it?

Abhishek Reddy's picture

He has: 3,348 posts

Joined: Jul 2001

The GD library allows you to manipulate images. Wink

From what I hear about the Zend Optimizer, it's worth it, but I haven't personal experience with it.

They have: 36 posts

Joined: Jan 2003

The new release of php has gd installed in it already,
I would do zend optimizer also.
postgre is not commonly needed. I would wait on that unless you require it.

Hostingdog More than a host your best friend
www.hostingdog.net

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Quote: Originally posted by hostdog
The new release of php has gd installed in it already

The latest release (4.3.0) has the GD library bundled with it. You still have to compile with --with-gd; you just don't have to specify a path.

Mark Hensler
If there is no answer on Google, then there is no question.

They have: 36 posts

Joined: Jan 2003

correct also did you see they have the beta of 5.0 out now. Wonder how long until a bug free version is here

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I think I read somewhere that 4.3 was to be the last of the version 4 series. Just a bug fix release.

I don't see any beta 5 releases, but I do see that the CVS version has been labled version 5. (http://snaps.php.net/)

I'm hoping that version 5 will be stamped 'stable with Apache 2'.

Mark Hensler
If there is no answer on Google, then there is no question.

nike_guy_man's picture

They have: 840 posts

Joined: Sep 2000

Well I decided on:
Mcrypt
MySQL
zLib
Bz2
obdc
XML
openSSL
sockets
GD
sessions

I ran phpinfo() on my 4.2.2 installation (which didn't have mcrypt -- which was what I really wanted) and got the ./configure for my 4.2.2 installation... and I dont even have most of the things installed... like imap -- NOTE: I installed PHP when I installed RH 8.0, so I didn't run ./configure
If you could, explain these to me:

--enable-calendar
--enable-dio
--enable-force-cgi-redirect
--enable-memory-limit
--enable-bcmath
--enable-shmop
--enable-versioning
'

If I read the docs right, --with-apxs2=/usr/sbin/apxs is building it as a module of apache, right? well that failed when I had it as an option... yet I do have Apache 2
I tried configuring about 4000 times... some configured, but wouldn't make
I'll try again when I'm awake...

Laughing out loud

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Try make clean and rm config.cache. I think you only need to rm config.cache when your recompiling after updating a dependency or something. But don't quote me on that.

You can read all about those directives here:
http://www.php.net/manual/en/install.configure.php

--enable-force-cgi-redirect
Enable the security check for internal server redirects. You should use this if you are running the CGI version with Apache.

--enable-memory-limit
Compile with memory limit support.

enable-versioning
Export only required symbols. See INSTALL for more information.

The others aren't on that page. I don't know what they do.

bc is a command line calculator for Unix (you can use it to do your algebra homework as it can use variables Smiling). Though, I can't imagine that PHP would need to interface with a calculator.

Mark Hensler
If there is no answer on Google, then there is no question.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.