Does anyone know how to install PHP as CGI Binary rather than the normal Apache Module ?
I've searched on Google but no luck.
I have already got PHP installed via Kloxo so will I need to remove it inorder to install PHP-CGI ?
Can anyone guide me to a nice tutorial or help ?
Thanks. Does this.. http://php.net/manual/en/security.cgi-bin.php or this http://forums.site5.com/showthread.php?t=11227 help? Hmmm, you should remove PHP by running:
Code: yum remove phpInstall/update compiler
Code: yum install gccThen manually retrieve the latest PHP from php website and wget it to your root dir.
Then extract and get inside the new dir.
Then I think you should do something like this:
Code: ./configure --prefix=/home/admin/public_html --without-apache --enable-force-cgi --with-pear --with-mysql Code: make Code: make installNot sure if it works...
Also check this post: http://forums.site5.com/showpost.php?p=71741&postcount=6 Thanks l0cal, should've contacted you
thought you were busy lol
Will try it and reply here. Quote: Originally Posted by l0calh0st http://www.wjunction.com/18-server-management-help/94625-php-cgi-installation.html#post942848 You only need to install mod_fcgid and load it into httpd.conf. Why would you delete a *proper* PHP(Kloxo build) and install a broken one(read: it won't work). Makes sense? Or you could install php-fpm from webtatic's repo. Add webtatic's repo (search google for webtatic) and then yum install php-fpm.
I've searched on Google but no luck.
I have already got PHP installed via Kloxo so will I need to remove it inorder to install PHP-CGI ?
Can anyone guide me to a nice tutorial or help ?
Thanks. Does this.. http://php.net/manual/en/security.cgi-bin.php or this http://forums.site5.com/showthread.php?t=11227 help? Hmmm, you should remove PHP by running:
Code: yum remove phpInstall/update compiler
Code: yum install gccThen manually retrieve the latest PHP from php website and wget it to your root dir.
Then extract and get inside the new dir.
Then I think you should do something like this:
Code: ./configure --prefix=/home/admin/public_html --without-apache --enable-force-cgi --with-pear --with-mysql Code: make Code: make installNot sure if it works...
Also check this post: http://forums.site5.com/showpost.php?p=71741&postcount=6 Thanks l0cal, should've contacted you
Will try it and reply here. Quote: Originally Posted by l0calh0st http://www.wjunction.com/18-server-management-help/94625-php-cgi-installation.html#post942848 You only need to install mod_fcgid and load it into httpd.conf. Why would you delete a *proper* PHP(Kloxo build) and install a broken one(read: it won't work). Makes sense? Or you could install php-fpm from webtatic's repo. Add webtatic's repo (search google for webtatic) and then yum install php-fpm.