Apache2 PHP5 not starting


 
Thread Tools Search this Thread
Operating Systems Solaris Apache2 PHP5 not starting
# 8  
Old 04-23-2009
It looks like the /usr/local/lib/libgd.so.2 library file you have is not up to date enough and therefore does not include the symbol required. If you do an "ls -l of /usr/local/lib/libgd.so.2" you may find it a link to a library with more version information, e.g. /usr/local/lib/libgd.so.2.0.1, you can then locate a more up to date version and move the "/usr/local/lib/libgd.so.2" link to point to the newer version.
# 9  
Old 04-23-2009
Tony, thanks I'll give that a try.
# 10  
Old 04-24-2009
Here is a ls -l from /usr/local/lib

# cd /usr/local/lib
# ls -l libgd.*
-rw-r--r-- 1 bin bin 280944 Jan 17 2008 libgd.a
-rwxr-xr-x 1 bin bin 1201 Jan 17 2008 libgd.la
lrwxrwxrwx 1 root root 14 Apr 22 15:08 libgd.so -> libgd.so.2.0.0
lrwxrwxrwx 1 root root 14 Apr 22 15:08 libgd.so.2 -> libgd.so.2.0.0
-rwxr-xr-x 1 bin bin 266848 Jan 17 2008 libgd.so.2.0.0

Guess I get to go looking for something more recent.
# 11  
Old 04-24-2009
Is your PHP precompiled or compiled by you? I think it would be easier for others to help if you tell us how you got that PHP installed.
# 12  
Old 04-26-2009
Hello all. Apologies for not following-up sooner. Family responsibilities kind of took over.

I finally got Apache and PHP to work together.

I was using precompiled packages of Apache 2.2.11 and PHP 5.2.6. When I could not get Apache and PHP to work together I uninstalled the PHP package and compiled it myself with the following options:

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql

For the most part this is working. However when I POST data that involves writing to a MySQL table, the POSTING PHP script runs VERY slowly.

I think this maybe a cURL issue.

But anyway, thank you all for your help!
~Robert
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to grep a line not starting with # from a file (there are two lines starting with # and normal)?

e.g. File name: File.txt cat File.txt Result: #INBOUND_QUEUE=FAQ1 INBOUND_QUEUE=FAQ2 I want to get the value for one which is not commented out. Thanks, (3 Replies)
Discussion started by: Tanu
3 Replies

2. UNIX for Advanced & Expert Users

compiling php5 on solaris 9. please help.

I'm trying to compile PHP5. I've installed mysql5 successfully and apache1.3 is working great, but I get the message below when I compile PHP5. I double checked if I have libxml2 installed and I do. I installed libxml2 binary from sunfreeware. Please see below for details: ./configure... (5 Replies)
Discussion started by: xnightcrawl
5 Replies
Login or Register to Ask a Question