Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

libphp5.so is garbled-apache server not able to start

 
yoga babu
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,

I am installing apache 2.2.3 version in solaris /usr/local,and PHP 5 in /usr/local/include

For PHP configuration i given like this:./configure \--with-apxs2=/usr/local/apache2/bin/apxs \ --with mysql=/usr/local/mysql
then make and make install .

cp php.ini-dist /usr/local/include/php/php-ini
then in /usr/local/apache2/conf/httpd.conf file i made some changes like

LoadModule php5_module /usr/local/apache2/modules/libphp5.so
AddHandler php5_script php

DirectoryIndex index.html index.php
AddType text/html php


By Starting apache server i am facing the error :

API structure 'php5_module' in file /usr/local/apache2/module/libphp5.so is garbled -perhaps this is not an Apache module DSO?

I cant able to start my server,

pls help me

Regards
Babu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic