compile php fpm on Nginx
-
Hi,
Cam accross a problem with this. When I run the uber PHP installation i get an error:
configure: error: libevent.a could not be found. Stop.
This is when I install PHP.
Im on Unbuntu 10.04 on Rackspace Cloud.
Posted 2 years ago # -
SO I ran over the tut again, this time I get stuck at autoconf for the php compilation.
Forcing buildconf
using default Zend directory
buildconf: checking installation...
buildconf: autoconf not found.
You need autoconf version 2.13 or newer installed
to build PHP from CVS.
make: *** [buildmk.stamp] Error 1I have auto conf installed but Im wondering if the install knows where to look for it.
Any ideas why Auto conf doesnt work for me ?
Posted 2 years ago # -
see this post on another forum for what the problem was:
http://www.litespeedtech.com/support/forum/archive/index.php/t-960.html
trying again and have got the configuration of PHP.ini
Posted 2 years ago # -
WEll got to the configure are an now got this:
Thank you for using PHP.
Notice: Following unknown configure options were used:
--with-fpm
--with-fpm-group=www-data
--with-fpm-user=www-data
--with-libevent=/usr/local/libCheck './configure --help' for available options
Im assuming this is because I dont have nginx setup yet as that is the next tutorial.
Anyone else get this error ?
Posted 2 years ago # -
Im completely stumped with this one.
It pretty much doesnt work as far as I can see.
strange for a "well tested' script to do this.
Anyone have any ideas ?
Posted 2 years ago # -
thing is Matthew, the php.ini needs a tweak-tutorial of its own .. not least for added php-security but also for thing like this.
i had wanted to do this already but time has not been on my side last week or so.
.. will get onto this as soon as I can, addressing extensions as well.
sorry for late reply.
Posted 1 year ago # -
I found out what the issue was, Patch wasnt installed. I installed patch and this all worked correctly. For some reason it wasnt included in the essentials instalation.
The other thing is PEAR. Pear should be added to this FPM installation because mine doesnt have it and it should be included.
Also, the libevent should be added as a param to "The uber-command! Paste:-"
Like so: libevent=share:/path/to/libevent
This will stop it become unfound in rackspace server.
Posted 1 year ago # -
cheers Matthew .. will retest with these params an update accordingly .. feedback very much appreciated.
Posted 1 year ago # -
Got to the Uber-command and got this error
configure: error: libjpeg.(a|so) not found.
Running Linode, Ubuntu 8.04
thanks,
Posted 1 year ago # -
Went and started from the beginning, this time tried the 10min. install script. Went very smooth, no errors on a Linode 360.
Learned a lot doing it by hand so I understood what the script was doing.
Suggestion would be to breakout what the script installs and what the next steps are, wp, etc..
Posted 1 year ago # -
cheers Jeff, good to hear
one thing .. "breakout what the script installs".. whaddyamean?
:P
Posted 1 year ago # -
I have the same problem as the first post on this thread.
configure: error: libevent.a could not be found. Stop.
Was not sure how to remedy. Which patch is not installed?
Posted 1 year ago # -
aye .. awaiting settling down of some php-fpm dev issues and will be reworking tuts to allow for this.
.. lots of reference in these threads, Pete.
Posted 1 year ago # -
I'm getting the same error, followed the tut exactly, on Ubuntu 10.04:
Configuring fpm
checking dynamic linker characteristics... GNU/Linux ld.so
checking for libevent >= 1.4.11... no
configure: warning: libevent.a could not be found. We looked in:
configure: warning: "/lib64 /usr/lib64 /usr/local/lib64"
configure: warning: Install libevent system-wide (make install)
configure: warning: Syntax:
configure: warning: --with-libevent=yes|path - link to libevent.a (static libra
configure: warning: --with-libevent=shared,path - link to libevent.so (shared l
configure: error: libevent.a could not be found. Stop.Posted 1 year ago # -
Interesting: I just tried it on a fresh Debian Lenny install, and it worked flawlessly. So something is defintiely up with Ubuntu 10.04 not being able to find libevent.
I'd prefer to use Ubuntu, so it would be great if you could find the problem and update your guide :)
Posted 1 year ago # -
hey texotexo .. tip appreciated.
am awaiting PHP bods to iron out a few more creases and will then be re-testing and amending this.
Posted 1 year ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
