Hello list, 

I needed Apache+MySQL+PHP on my standalone box for a project. Everything
has been installed and was working fine. I also ran the a script with
phpinfo() and got an output. But when I restarted my box and ran some
other .php script, it's saying Object not found! On "http://localhost/";
the browser is displaying the Apache message properly but when I add the
/hello.php it goes Object not found! 

What I have checked/ is working : 

1. path to htdocs is what it should be. I prefix-ed to /usr/local/apache
so htdocs is /usr/local/apache/htdocs. 

2. httpd.conf has the following lines. 

LoadModule php4_module        libexec/libphp4.so 

# And for PHP 4.x, use: 
# 
AddType application/x-httpd-php  .php  .phtml 
AddType application/x-httpd-php-source  .phps 

3. Both httpd and mysqld start properly and automatically at boot. 

The problem isn't only with .php files but for any file for that matter,
be it .htm, .html, etc. 

I have configure-ed, make-ed and make install-ed the following tarballs:

apache_1.3.27.tar.gz 
mysql-3.23.53.tar.gz 
php.4.2.3.tar.bz2 

on a RedHat 8.0 system. 


One more thing, though it hardly matters, PHP doesn't automatically add
the AddType lines into httpd.conf, I have to do that manually. 


Output of httpd -l 

Compiled in modules: 
  core.c 
  prefork.c 
  http_core.c 
  mod_so.c 


What's the problem?? 


Mayank 


PS: Though I hate to say this, when I had tried everything I could think
of to make this work, I reconfigured all three and voila it worked. But
when I restarted, again the same problem. Now please don't mind, but
isn't this window-ish behaviour or is this just me.

          ================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject 
header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org

Reply via email to