php-install Digest 13 Sep 2001 04:12:21 -0000 Issue 455 Topics (messages 4283 through 4284): phpinfo reports wrong version of apache 4283 by: Floyd Miller Re: PHP4 Install Problems - Please Help 4284 by: Floyd Miller Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
I have upgraded from apache 1.3.19 to 1.3.20 and recompiled and installed PHP 4.0.6 but phpinfo() still reports the Apache version as 3.1.19. Running httpd -v reports 1.3.20. Where does phpinfo() get its information from and why wouldn't it be undated? Thanks.
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.