GithubHelp home page GithubHelp logo

Comments (5)

c9s avatar c9s commented on July 21, 2024

Is it failed in phps configure script??

Can you add -d flag to try? The logged configure options will be helpful.

For example:

 phpbrew install php-5.4.12 +default +dbs +apxs2=/usr/bin/apxs2

from phpbrew.

c9s avatar c9s commented on July 21, 2024

You mean you specify "/usr/bin/apxs2" but the configure script complains "apxs" not found ? weird ...

phpbrew install php-5.4.12 +default +dbs +apxs2=/usr/bin/apxs2

from phpbrew.

TimGS avatar TimGS commented on July 21, 2024

It occured firstly with 5.4.12. I removed my symbolic link workaround and repeated for 5.4.0. Firstly apxs2 is at:

tim@dougal:~$ ls /usr/bin/apxs* -l
-rwxr-xr-x 1 root root 18978 Nov 8 21:38 /usr/bin/apxs2

And the output of phpbrew:

tim@dougal:~$ phpbrew -d install php-5.4.0 +default +dbs +apxs2=/usr/bin/apxs2
Downloading from http://www.php.net/distributions/php-5.4.0.tar.bz2
######################################################################## 100.0%
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
php-5.4.0.tar.bz2 downloaded.
Found existing php-5.4.0, Skip extracting.
Writing variant info to /home/tim/.phpbrew/php/php-5.4.0/phpbrew.variants
Build Directory:
Enabled variants: apxs2, sqlite, mysql, pgsql, pdo, filter, dom, bcmath, ctype, mhash, fileinfo, posix, ipc, pcntl, bz2, zip, cli, json, mbstring, mbregex, calendar, sockets, readline, xml_all
Disabled variants:
===> Applying patch - apxs2 module version name ...
===> Configuring php-5.4.0...

Use tail command to see what's going on:
$ tail -f /home/tim/.phpbrew/php/php-5.4.0/build.log

./configure '--prefix=/home/tim/.phpbrew/php/php-5.4.0' '--with-config-file-path=/home/tim/.phpbrew/php/php-5.4.0/etc' '--with-config-file-scan-dir=/home/tim/.phpbrew/php/php-5.4.0/var/db' '--with-pear=/home/tim/.phpbrew/php/php-5.4.0/lib/php' '--disable-all' '--enable-phar' '--enable-session' '--enable-short-tags' '--enable-tokenizer' '--with-pcre-regex' '--with-zlib=/usr' '--with-curl=/usr' '--with-apxs2' '--with-sqlite3' '--with-mysql=mysqlnd' '--with-mysqli=mysqlnd' '--with-pgsql' '--enable-pdo' '--enable-filter' '--enable-dom' '--enable-bcmath' '--enable-ctype' '--with-mhash' '--enable-fileinfo' '--enable-posix' '--enable-shmop' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-pcntl' '--with-bz2=/usr' '--enable-zip' '--enable-cli' '--enable-json' '--enable-mbstring' '--enable-mbregex' '--enable-calendar' '--enable-sockets' '--with-libedit=/usr' '--enable-libxml' '--enable-simplexml' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-xsl' > /home/tim/.phpbrew/php/php-5.4.0/build.log
./configure: line 8362: apxs: command not found
configure: error: Aborting
Errortim@dougal:~$

from phpbrew.

c9s avatar c9s commented on July 21, 2024

OK~ I got it! Fixed. please run self-update to update phpbrew again. ;-)

from phpbrew.

TimGS avatar TimGS commented on July 21, 2024

Seems fine now thanks.

from phpbrew.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.