View Single Post
  #2 (permalink)  
Old 07-08-2009, 06:00 PM
Spiral Spiral is offline
Senior Member
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,627
Spiral is on a distinguished road
When you tried to recompile PHP, your recompile failed ...

Without a working PHP installation, Apache doesn't know how to handle
PHP script files so they are just served up to the browser as binary downloads
which needs to be fixed quickly because that is actually a security risk
since all your script files could be downloaded in raw source form including
those that may have confidential passwords, database information, etc.

Back on the topic though, your recompile could have failed because you
were missing necessary operating system components or compile libraries
from your build environment or because of the options you chose when
trying to recompile PHP. Some options don't play happy together and
can cause a build attempt to fail unless you know what you are doing
which is one of the reasons I personally like to compile PHP manually
instead of using EasyApache for that.

Bottom line though is you need to check your server and make sure
you have all the files, modules, and libraries you need and then you
need to recompile PHP and get it back up and running again.

Regarding your missing zlib1-devel, you might try the following to help
which gives you what you are missing plus all the basic modules and
libraries to give you also some of the other base files you'll need:
Code:
# yum install zlib zlib-devel 
# yum install gd gd-devel gd-progs libjpeg libjpeg-devel libexif libpng giflib* netpbm
# yum install gcc glib* coreutils make
# yum upgrade
# /scripts/checkperlmodules
# /scripts/upcp
After you have those, you might go in and try /scripts/easyapache again and try
to build yourself a new PHP again and see if you do any better this time around.

If you need help, let me know. I should be around most of the day
and I'll be keeping an eye on my private messages.

Last edited by Spiral; 07-08-2009 at 06:14 PM.
Reply With Quote