Need help to install PHP 5.2 and 5.3

Annatto

Verified User
Joined
May 13, 2007
Messages
14
I'm trying to setup PHP5.2 as default and PHP5.3 under .htaccess control:

./build | grep Version | awk '{print $3}' --> 1.2.39

Followed CustomBuild guide

options.conf:
Code:
default_php=5
php5_ver=5.2
php5_cli=yes
php5_cgi=no
php6_cli=no
php6_cgi=yes

./build versions:
Code:
Latest version of PHP (CLI): 5.2.17
Installed version of PHP (CLI): 5.2.17
Latest version of PHP6 (CGI): 5.3.28
Installed version of PHP6 (CGI): 5.3.28

Default phpinfo() gives PHP Version 5.2.17 but using the following .htaccess gives 500 Internal Server Error:
Code:
<FilesMatch "\.php$">
AddHandler x-httpd-php6 .php
</FilesMatch>

Apache error log:
Code:
(13)Permission denied: couldn't create child process: /usr/local/suphp/sbin/suphp for

I tried changing permissions on suphp and even removing it but, but the error message doesn't change,

I'd be grateful for any advice on what to try next.

Thanks
 
Back
Top