Re: PHP4 Install Problems - Please Help

From: Date: Thu, 13 Sep 2001 04:12:17 +0000
Subject: Re: PHP4 Install Problems - Please Help
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4284@lists.php.net to get a copy of this message
I did not have this problem. Perhaps some observations or questions might help. Martin Stephenson wrote: > > ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs I used --with-apxs, I did not specify a parth for apxs. > "Syntax error on line 236 of /usr/local/apache/conf/httpd.conf: > API module structure `php4_module' in file > /usr/local/apache/libexec/libphp4.so is garbled - perhaps this is not an > Apache module DSO? " This may seem absurd, but have you checked the permissions on the libphp4.so file? It should be readable by the account that httpd runs as. Mine is owned by "root" but readable by all, including the "httpd" user. I get the same results as you did running "file libphp4.so". But I'm running Red Hat 6.2, kernel 2.2.10 so my situation may be completely different. > > I don't have MySQL installed yet - do I need to have that first ??? Good question. You could try reconfiguring without --with-mysql and see if it helps. Make soure you remove the config.cache and config.status files before you re-run configure. For some reason I find that if those files exist, the previous configuration options from one or both of those files are used.

« previous php.install (#4284) next »