ARGH. Also, Geek pop quiz.
Sep. 7th, 2007 11:14 amPHP has zip functionality. It must be enabled at compile-time. This means you need to build PHP from source if you want to use it.
Fine, I can deal with that. I have a lovely fresh-built binary of php with all the options I want.
How the fuck do I tell apache that it should use my nice fresh new binary and not it's old and busted php module? I've tried adding an application handler for files with a php extension and an Action directing it to the fresh new binary. It 404s. This is, in fact, the entirety of the change:
And why are there *no* helpful tutorials on this, anywhere on the internet, that I can find?
I don't even really want to use it as CGI. I don't care how I use it. I just want to be able to make Apache use a new version of PHP *in any way* from source that I have built myself. ANY METHOD AT ALL is good, as long as I can make this change, and, in the future, make any other changes I might want to make to php.
(Apache 2, PHP 5.x - I can use any version I want, as long as it's PHP5, Ubuntu 6.06 Server)
Fine, I can deal with that. I have a lovely fresh-built binary of php with all the options I want.
How the fuck do I tell apache that it should use my nice fresh new binary and not it's old and busted php module? I've tried adding an application handler for files with a php extension and an Action directing it to the fresh new binary. It 404s. This is, in fact, the entirety of the change:
AddHandler php5zip .php5Where, of course, the new binary is /usr/lib/cgi-bin/php - and yes, it's executable.
Action php5zip usr/lib/cgi-bin/php
And why are there *no* helpful tutorials on this, anywhere on the internet, that I can find?
I don't even really want to use it as CGI. I don't care how I use it. I just want to be able to make Apache use a new version of PHP *in any way* from source that I have built myself. ANY METHOD AT ALL is good, as long as I can make this change, and, in the future, make any other changes I might want to make to php.
(Apache 2, PHP 5.x - I can use any version I want, as long as it's PHP5, Ubuntu 6.06 Server)