lo guys, i ve got a quite few annoying problem configuring apache and php that i have compiled. IT CAN'T MAKE IT WORK !! i ve compiled php as a cgi binary and have installed it in /usr/local/php/ i ve tried to test what i compiled by typing /usr/local/php/bin/php phpinfo.php and that works, it returns correct html code. after that i tried to bind .php script requested on my apache webserver by adding this in commonhttpd.conf :
ScriptAlias /php/ /usr/local/php/bin/ AddType application/x-httpd-php .php Action application/x-httpd-php /php/php when i call a php script like a simple phpinfo it mess up and it returns that on my web browser : Warning: Unexpected character in input: ' in /usr/local/php/bin/php on line 821 Warning: Unexpected character in input: ' in /usr/local/php/bin/php on line 821 Warning: Unexpected character in input: '' (ASCII=7) state=1 in /usr/local/php/bin/php on line 821 Warning: Unexpected character in input: '' (ASCII=8) state=1 in /usr/local/php/bin/php on line 821 Parse error: parse error in /usr/local/php/bin/php on line 821 i'm loosing my mind trying to understand how it works for few days so please help me :-) thx a lot for your help ! -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php