Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-11-2014, 10:43 AM   #1
LQ Newbie
Registered: Sep 2014
Posts: 1

Rep: Reputation: Disabled
Ubuntu & Snort, remove package

I've already found a thread with the answer to my question, so I just need more help understanding how to implement it.

I've followed the article here:

And am at a point where the ACID config page is blank.

I created a quick phpinfo() page, and PHP is working properly.

Googled the issue and found:

So my questions do I remove the PHP module they are referring too?

apt-get --purge isn't cutting it.

Basically I need help understanding their solution below. I'm not a novice but no Linux guru either.

Well to reply to my own message, it seems that the default options php4 is
built with in the FreeBSD ports is insufficient to run ACID. It doesn't
include GD, session support or pcre.

I uninstalled the mod_php4 package, edited lang/php4/Makefile and added to
the CONFIGURE_ARGS --with-pcre --enable-bcmath --enable session --with-gd
--with-mysql -with-zlib-dir=/usr --enable-sockets then build from

I had to add the -with-zlib-dir=/usr because when I added --with-gd it died
not finding libz and I added --with-mysql just for the hell of it. pcre is
needed for running queries.

The new mod_php4 package seems to work just fine now. Maybe I should ask the
port maintainer to add these as options.

-Sean Brown Thanks!
Old 09-11-2014, 01:39 PM   #2
Registered: Feb 2006
Distribution: distrohopper
Posts: 58

Rep: Reputation: 16

If you read paragraph 1, you will see "FreeBSD ports". Since you are running Ubuntu I don't believe this applies to you as the php you installed was most likely not a freebsd port.

As far as what the guy actually did, removed the package he installed and then he compiled from source after editing the make file.

I looked at the original page you followed and it appears if you followed the destructions you should have php5.

Unfortunately I think you are back to square 1 with troubleshooting. There are a lot of steps involved with that setup with lots of opportunities for mistakes. Best suggestion I have is do it again, pay extrordinary attention to version numbers of everything and any quotes in config files. If any versions are different, your probably going to have to go to the release notes to see what might require a different syntax or something else altogether.

Lastly, ask your question on that page, they wrote it and most likley have the t-shirt and know how to fix it. Posting here is always a good idea but do both.

Thanks for the linux digest site, gonna go poke around in there.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] won't let me install a package or remove a package archie101 Linux - Newbie 5 05-09-2011 04:52 PM
Remove a package and all it's dependencies in Ubuntu 8.10? crazyfuturamanoob Linux - Software 3 01-08-2009 11:55 AM
Cannot remove cvsnt package on Ubuntu (Breezy) aegolden Linux - Software 0 02-03-2007 10:01 PM
Remove a ubuntu package in Debian Sarge gbratig Linux - Distributions 3 07-29-2006 08:04 AM
Remove all configuration files of a Package -- Ubuntu Drapper Drake Dimitriy Linux - Software 1 06-10-2006 01:58 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration