Custom PHP5 over default PHP5?

Custom PHP5 over default PHP5?

Posted by: Creep
Posted on: 2008-06-30 13:58:00

Currently, my site is configured with the default PHP5 that Dreamhost provides. I wanna do a customized PHP5 to support the socket extension.

Can I just proceed with the custom PHP5 instructions on the wiki. Or, do I need to remove the old PHP5 first?

Also, will the socket functionality work after I compile the custom PHP5 with --enable-sockets option?

Re: Custom PHP5 over default PHP5?

Posted by: sdayman
Posted on: 2008-06-30 14:34:00

You can't remove the old PHP5. Just go with the custom install. The .htaccess file step is what tells the server to ignore the old PHP5 and use your custom one.

-Scott

Re: Custom PHP5 over default PHP5?

Posted by: Creep
Posted on: 2008-06-30 15:23:00

Thanks a lot!

Re: Custom PHP5 over default PHP5?

Posted by: sdayman
Posted on: 2008-06-30 15:57:00

For the custom sockets, if you're on PS, then I don't know how flexible DH is on listing on other ports. But for a shared server, they're not going to let you open up other ports for listening.

-Scott

Re: Custom PHP5 over default PHP5?

Posted by: Creep
Posted on: 2008-06-30 17:09:00

Aww, okay. Dreamhost doesn't provide PS right?

Re: Custom PHP5 over default PHP5?

Posted by: Creep
Posted on: 2008-06-30 17:54:00

Also, will I be able to use socket as a client and not a server? No listener.

Re: Custom PHP5 over default PHP5?

Posted by: sdayman
Posted on: 2008-06-30 18:09:00

DreamHost does offer PS (Private Server) for quite a bit more of a monthly charge.

Socket as a client will *probably* work if it's just making an outgoing connection on that port. Again, I've not used enable-socket, so I don't know how it works. However, I've not seen DreamHost block outgoing traffic on non-privileged ports.

-Scott

Re: Custom PHP5 over default PHP5?

Posted by: Creep
Posted on: 2008-06-30 19:13:00

Aww, it's invitation-only for now. (PS that is).

Thanks a lot for the info! =)

Re: Custom PHP5 over default PHP5?

Posted by: sdayman
Posted on: 2008-06-30 19:58:00

I must be special. Mine shows that I get "put on a list" once I pick my settings.

-Scott

Tags: php5socketswiki