faqts : Computers : Programming : Languages : PHP : Installation and Setup : Web Servers : Apache

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

44 of 103 people (43%) answered Yes
Recently 0 of 10 people (0%) answered Yes

Entry

Syntax error... API module structure `php4_module' in file...libexec/libphp4.so is garbled - perhaps this is not an Apache module DSO?

Feb 17th, 2001 17:33
bishop lastname, J.R. Hull,


the fix i found : 
remove the config.cache file to make sure old junk is really gone.
because i wasn't using the redhat apache server 
I had to remove (rpm -e) apache and apache-devel. If you dont remove the
apache-devel the apxs stuff wont work with the tar.gz. (which makes
sense, i just wasn't thinking)

rpm -e apache
rpm -e apache-devel
make clean 
rm config.cache 
./configure --with-apxs 
make 
make install 

if your using the redhat apache server make sure you have the correct
apache-devel rpm installed.