Error while installing PHP 5.3.2

pratapsingh

Verified User
Joined
Oct 10, 2009
Messages
7
Hello ,

I have been trying to install PHP 5.3.2 but I have no clue what is wrong with it I have searched the forums before posting this here ..

I am getting the following error :

Apache is failing first if I change php from cli to cgi

Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe

I followed the link
http://www.directadmin.com/forum/showthread.php?t=29483 but still no luck

If I am trying to install as cli then I am getting the following error

=====================================
Generating phar.php
/bin/sh: line 1: 16607 Segmentation fault ` if test -x "/usr/local/directadmin/custombuild/php-5.3.2/sapi/cli/php"; then /usr/local/directadmin/custombuild/php-5.3.2/build/shtool echo -n -- "/usr/local/directadmin/custombuild/php-5.3.2/sapi/cli/php -n"; if test "x" != "x"; then /usr/local/directadmin/custombuild/php-5.3.2/build/shtool echo -n -- " -d extension_dir=/usr/local/directadmin/custombuild/php-5.3.2/modules"; for i in bz2 zlib phar; do if test -f "/usr/local/directadmin/custombuild/php-5.3.2/modules/$i.la"; then . /usr/local/directadmin/custombuild/php-5.3.2/modules/$i.la; /usr/local/directadmin/custombuild/php-5.3.2/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /usr/local/directadmin/custombuild/php-5.3.2/build/shtool echo -n -- "/usr/local/directadmin/custombuild/php-5.3.2/sapi/cli/php"; fi;` -d 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' /usr/local/directadmin/custombuild/php-5.3.2/ext/phar/build_precommand.php > ext/phar/phar.php
make: *** [ext/phar/phar.php] Error 139
=======================================

I want to have php running as CLI on my system.

I am not sure how to proceed now.

Thanks.
 
Hi pratapsingh

How can you solve ?

Thank
 
Last edited:
Please make a new post. Do not Necropost. The post is 11 years old. This user hasn't been on the forum since 2010.

You should not even be using PHP5
 
Back
Top