aptitude can't find libmcrypt-dev
-
Hey Guv,
I encountered a problem trying out the guide 'Compile PHP-FPM (PHP5) & MySQL for Nginx'.
Aptitude was not able to find libmycrypt-dev package, upon executing this below command:
sudo aptitude install -y libevent-dev libxml2-dev libssl-dev libbz2-dev libcurl4-openssl-dev libpng12-dev libmcrypt-dev libmysqlclient15-dev
so I googled around to find out if other people have the same problem but i found nothing...
is this a new problem?
thanks,
agusPosted 2 years ago # -
have you tried apt-get?
Posted 2 years ago # -
yeap tried that too... anyway im repeating it all over again, linode just introduced lucid... hopefully it will work out fine... :)
Posted 2 years ago # -
Important Update:
I went ahead and installed Ubuntu 10 Lucid LTS, and everything worked out fine. :)
Only one thing... upon doing the guide 'harden shell & create firewall' I was not able to perform this following command:
'iptables-restore < /etc/iptables.test.rules'I dunno it looks to me Lucid changes how it works in regards to IpTables.
Apart from that, I was able to perfom everything (except for Xcache which is next on list) just fine, and Im on separate PHP-FPM now... woohooooooo...
Having tried the guides all over again, I can safely say, The Guvernoor got some cleaning-up/tidying-up to do... :P
Also Guv, I only have 2 lines on my php.ini file which is located at /etc/php. Is this normal? I only have timezone and the suhosin line. Right now it looks like the default memory limit is 128M. Do I just add a line there to change this?
Thank you Guv! :)
Posted 2 years ago # -
aye, just add this line:-
memory_limit = 128M
.. changing the limit as you do.
i'll look into the iptables thing.
so, wow .. impressive Agus .. I dunno whether you're stupid or brave or both :P
please let me know any hiccups, and I'll play with Lucid server now on your recommendation .. well, let's give it a week. keep us all informed around here, huh?
Posted 2 years ago # -
Hey Guv,
I just installed imagemagick, but I had to add the libmagickwand-dev on the sudo apt-get install imagemagick command to make it work....
Also once imagemagick is installed, should I be having problem uploading image or creating thumbnail at all?
right now I am using this thesis theme and I am not sure if not being able to generate a thumbnail is related to the theme or imagemagick....
so far hiccups are related to deprecation and I saw two deprecation messages... one from performing the command on iptables and than the other one while installing imagemagick..... apart from those two, things went smooth :)
Posted 2 years ago # -
just found out why im having image/thumbnail generation problem.
apparantently GD JPEG support is not enabled, only png, gif, bmp, xbm are enabled... freetype also not enabled...
Can you help me with this Guv? I really need to work on this asap.... help....
I also learn that Wordpress doesnt support ImageMagick natively... this sucks considering I dont have any problem with my imagemagick install.... almost all image formats are supported there.... argggggghhhhhh....
Posted 2 years ago # -
got it workin..... browsed around and found the important libjpeg and --with jpeg thingy and then i applied your recompile guide..... worked like a charm....
php now displays jpeg support and i got no problem uploading jpeg.....
:)
Posted 2 years ago # -
After finding this bible I decided to take the plunge and go unmanaged. Great work; however I've got a Linode server too, I've got Ubuntu 10.04 and am in the 'harden shell & create firewall' section. I was not able to perform this following command:
'iptables-restore < /etc/iptables.test.rules'The following is displayed when I attempt to:
Using intrapositioned negation (--option ! this) is deprecated in favor of extrapositioned (! --option this).I realise I can skip over this section for the time being; however I'd like to firm up security so wondered if there was any progress since the guv said he'd look into it a few weeks back.
Cheers!
Posted 2 years ago # -
ok James, nice tip and sorry for delay .. I wasn't up to scratch on the newly launching Lucid back then.
I've changed that now and thank you for bringing the matter to my attention.
The ubuntu-nginx bible series should be completely in sync for installing on a Lucid box now ..
.. this was the single difference between installing on Ubuntu's Hardy 8.04 and Lucid 10.04 .. for some reason the syntax (or rather the order of the syntax) of the IPtables has changed.
In fact, it was a case of moving a single "!" about 3 spaces to the left.
.. I wonder how many people sat round a table to decide that?!
Posted 2 years ago # -
Thanks so much for looking at this so soon.
Agreed, it must have been a long meeting when they changed that!
I'll get it tested later.
Posted 2 years ago # -
Hi Guv,
Setting up the iptables in Ubuntu 8.04 and get this error when running iptables-restore < /etc/iptables.test.rules
(iptables-restore v1.3.8: Unknown arg `--log-prefix'
Error occurred at line: 18).Tried loading Ubuntu 10.04 and got the same issue.
In your text is shows where the $port gets replaced with the one I choose, don't see any 3000 port.
Can you give some direction.
thanks
Posted 1 year ago # -
hey Jeff .. will have to look into this, tho its tested to work for 10.04 in the stackscript .. am planning to retest original bible for 10.04 in a couple weeks time.
(hey .. tis topic is nothing to do with iptables .. in future please open a new thread, else add comments to an existing thread about the same topic)
.. sorry to nag :P
Posted 1 year ago # -
the line 18 error is because the / is outside of the ". I just removed the /'s from line 18 and it worked for me
Posted 1 year ago # -
When configuring PHP running into the following error:
configure: error: libevent.a could not be found. Stop.
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.
