Comments (5)
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.
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.
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.
OK~ I got it! Fixed. please run self-update to update phpbrew again. ;-)
from phpbrew.
Seems fine now thanks.
from phpbrew.
Related Issues (20)
- Can't install on php 8.2.4 HOT 4
- Php 8.2 not supported? HOT 9
- PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array HOT 5
- When will PHP 8.2 be supported? HOT 6
- Centos8 install php 8 error
- Cannot switch to PHP v8.2.8 HOT 1
- PHP 8.1.11 (or 12) pgsql pg_config... not found … Cannot find libpq-fe.h HOT 2
- "patch for fix readline detection" is broken HOT 3
- Release workflow may have some problems
- Problems with 2.2.0 HOT 6
- Was 2.2.0 retagged? HOT 1
- bad pattern issue with phpbrew in macos HOT 1
- RuntimeException: Can't decode release json, invalid JSON string: [] HOT 2
- Failed to install php 7.4.33 on Mac HOT 7
- Abnormal termination (Segfaults) when running compiled php 8.2 as FPM process HOT 1
- phpbrew ext install redis: Error: Command failed
- PHP 8.4 deprecation: Implicitly marking parameter as nullable is deprecated
- PHP 8.1 fails with libxml 2.12.0+ HOT 3
- Php 8.3 fails on EL8 (Rocky 8, Alma 8, Centos8)
- Cache file not created correctly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phpbrew.