Click to See Complete Forum and Search --> : [RESOLVED] php, apache dso, fedora


php saved me
08-27-2006, 01:05 AM
any pointers with my current predicament would be greatly appreciated:

i'm compiling php as a dso for apache. i'm running fedora core 2.

i'm having a lot of problems with the configure and make process, with .so files and header files not being able to be located. i've found the process looking for files labeled '.so', while the files i can find have extenstion like '.so.62' (i'm hoping someone could explain this to me).

i don't understand if the php configure process is looking for source code or compiled objects.

can someone please point me in the right direction? i'm generally self-sufficient when it comes to troubleshooting problems but i've been working on this for two days with little progress, and i'm burning out.

thanks,

neal

php saved me
08-28-2006, 07:07 PM
i've solved my own problem... my problem was centered around the gd part of the installation. if anyone is looking for a great tutorial on compiling php with gd check out:

http://www.onlamp.com/pub/a/php/2003/03/27/php_gd.html

i also had to edit a line in my php-x.x.x/ext/gd/libgd/gd_jpeg.c file:

#include "jpeglib.h"
#include "jerror.h"

change to :

#include "../jpeg-6b/jpeglib.h"
#include "../jpeg-6b/jerror.h"

this took literally days for me to figure out, hope noone else has to experience this kind of frustration.