#35901 [NEW]: PHP cli refuses to work
| From: | adamk at mcservices dot com dot au | Date: | Thu, 05 Jan 2006 06:19:09 +0000 |
| Subject: | #35901 [NEW]: PHP cli refuses to work | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-91521@lists.php.net to get a copy of this message | ||
From: adamk at mcservices dot com dot au
Operating system: Solaris 10 SPARC
PHP version: 5CVS-2006-01-05 (snap)
PHP Bug Type: CGI related
Bug description: PHP cli refuses to work
Description:
------------
Hello
Am getting the following after compiling any version of PHP5. Currently
using a PHP5 daily snap to try resolve the problems.
root@jupiter> php -i
/usr/local/bin/php: error: `/usr/local/bin/.libs/php' does not exist
This script is just a wrapper for php.
See the libtool documentation for more information.
Using the current configure line when compiling -->
./configure --x-includes=/usr/openwin/include
--x-libraries=/usr/openwin/lib --with-apxs2=/usr/apache2/bin/apxs
--with-mod_charset --enable-magic-quotes --enable-libgcc
--with-libxml-dir=/usr --with-openssl=/usr/sfw --with-zlib=/usr
--with-zlib-dir=/usr --enable-bcmath --with-bz2=/usr --enable-calendar
--enable-dba --with-db4=/usr --with-inifile --with-flatfile --enable-dbase
--enable-exif --enable-filepro --enable-ftp --with-openssl-dir=/usr/sfw
--with-gd=/usr --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-freetype-dir=/usr/sfw --enable-gd-native-ttf
--enable-gd-jis-conv --with-gettext=/usr --with-imap=/usr/imap
--enable-mbstring --with-mcrypt=/usr --with-mhash=/usr
--with-mime-magic=/etc/apache2/magic --with-mysql=/usr/sfw
--with-zlib-dir=/usr --enable-embedded-mysqli --enable-pcntl
--with-pspell=/usr --enable-shmop --with-snmp=/usr/sfw
--enable-ucd-snmp-hack --enable-soap --enable-sockets --enable-sysvmsg
--enable-sysvsem --enable-sysvshm --enable-wddx --with-libxml-dir=/usr
--with-libexpat-dir=/usr/sfw --with-xmlreader --with-libxml-dir=/usr
Note that compiling and installing works just fine, it's the actual php
wrapper script in /usr/local/bin that appears to be broken.
Reproduce code:
---------------
From /usr/local/bin/php -->
# Try to get the absolute directory name.
absdir=
cd "$thisdir" && pwd
test -n "$absdir" && thisdir="$absdir"
program='php'
progdir="$thisdir/.libs"
Expected result:
----------------
php scripts to work
Actual result:
--------------
/usr/local/bin/php: error: `/usr/local/bin/.libs/php' does not exist
This script is just a wrapper for php.
See the libtool documentation for more information.
--
Edit bug report at http://bugs.php.net/?id=35901&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35901&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35901&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35901&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=35901&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35901&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35901&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35901&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35901&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35901&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35901&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35901&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35901&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35901&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35901&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35901&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35901&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35901&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35901&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35901&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35901&r=mysqlcfg