Re: [Snort-users] config PHP for Snort in RH9

This is a discussion on Re: [Snort-users] config PHP for Snort in RH9 within the Snort forums, part of the System Security and Security Related category; David Alonso De La Vega Tapage wrote: > ./configure --prefix=/www/php --with-apxs2=/www/bin/apxs > --with-config-...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2004
mel
 
Posts: n/a
Default Re: [Snort-users] config PHP for Snort in RH9

David Alonso De La Vega Tapage wrote:

> ./configure --prefix=/www/php --with-apxs2=/www/bin/apxs
> --with-config-file-path=/www/php --enable-sockets
> --with-mysql=/usr/local/mysql --with-zlib-dir=/usr/local --with-gd
>
> get this at final ..
>
> if configure fails try --with-jpeg-dir=<DIR>
> configure: error: libpng.(a|so) not found
>
> but this lib stay in /usr/lib/libpng....


If you have all packages installed, you can configure PHP this way:
(this was taken from my config file)

../configure \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local/mysql \
--with-gd=/usr/local \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/local/ \
--with-zlib-dir=/usr \
--with-freetype-dir=/usr

libjpeg usually sits in /usr/lib, libpng usually sits in /usr/local/lib

--mel
------------------------------------------------------------------------
Mobile : 012-6109072 http://mel.ini2.net/blog
ICQ : 75804188 http://www.my-snort.org
Yahoo! : sforkq http://forum.my-snort.org
================================================== ======================


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 03:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0