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.
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]