note 115103 added to install.unix.apache2
| From: | VusP | Date: | Mon, 26 May 2014 12:14:09 +0000 |
| Subject: | note 115103 added to install.unix.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-199624@lists.php.net to get a copy of this message | ||
I downloaded the source and ran
./configure --enable-maintainer-zts --enable-debug --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql
make
When I do make, the steps are all fine until I reach "Generating phar.phar" where the make
seems to be stuck
On inspecting (with make -n) the steps to be run are,
echo "Generating phar.phar"
rm -f ext/phar/phar.phar
rm -f /usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/ext/phar/phar.phar
if test -x "/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/sapi/cli/php"; then
/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/build/shtool echo -n --
"/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/sapi/cli/php -n"; if test "x" !=
"x"; then /usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/build/shtool echo -n -- " -d
extension_dir=/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/modules"; for i in bz2 zlib phar;
do if test -f "/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/modules/$i.la"; then .
/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/modules/$i.la;
/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/build/shtool echo -n -- " -d
extension=$dlname"; fi; done; fi; else
/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/build/shtool echo -n --
"/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/sapi/cli/php"; fi; -d
'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d
phar.readonly=0 -d 'safe_mode=0' ext/phar/phar.php pack -f ext/phar/phar.phar -a
pharcommand -c auto -x \\.svn -p 0 -s
/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/ext/phar/phar/phar.php -h sha1 -b
"/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/build/shtool echo -n --
"/usr/local/bin/php";"
/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/ext/phar/phar/
chmod +x ext/phar/phar.phar
echo
echo "Build complete."
echo "Don't forget to run 'make test'."
echo
I ran the command manually and in ps aux I see,
/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/sapi/cli/php -n -d open_basedir= -d
output_buffering=0 -d memory_limit=-1 -d phar.readonly=0 -d safe_mode=0 ext/phar/phar.php pack -f
ext/phar/phar.phar -a pharcommand -c auto -x \.svn -p 0 -s
/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/ext/phar/phar/phar.php -h sha1 -b /usr/local/bin/php
/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11/ext/phar/phar/
and another command invoked by this command,
sh -c cd '/usr/local/PHP_5.5.11_INSTALLATION/php-5.5.11' ; pear -q info PHP_Archive
2>/dev/null|grep 'API Version'
From what I see, pear is a directory in the php folder. So what is happening here? Why
are arguments being passed to it?
Have I missed some step ? Do I need to install PEAR or something?
----
Server IP: 64.71.164.2
Probable Submitter: 125.18.10.194
----
Manual Page -- http://php.net/manual/en/install.unix.apache2.php
Edit -- https://master.php.net/note/edit/115103
Del: integrated -- https://master.php.net/note/delete/115103/integrated
Del: useless -- https://master.php.net/note/delete/115103/useless
Del: bad code -- https://master.php.net/note/delete/115103/bad+code
Del: spam -- https://master.php.net/note/delete/115103/spam
Del: non-english -- https://master.php.net/note/delete/115103/non-english
Del: in docs -- https://master.php.net/note/delete/115103/in+docs
Del: other reasons-- https://master.php.net/note/delete/115103
Reject -- https://master.php.net/note/reject/115103
Search -- https://master.php.net/manage/user-notes.php