Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-14 Thread Matt G.
Oh, and at this point I'm working under the theory that my php.ini is not being found correctly.  I gave the path to the directory containing the file on the ./configure commandline like this: ./configure  --with-apxs2=$MYDIR/bin/apxs --with-mysql=$MYDIR --prefix=$MYDIR --without-pear --with-libxml

Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-14 Thread Matt G.
Here's my apache startup message from my error log:[Tue Mar 14 15:40:19 2006] [notice] Apache/2.0.55 (Unix) PHP/5.1.2 configured -- resuming normal operationsHere's the server signature from a 404 document: Apache/2.0.55 (Unix) PHP/5.1.2 Server at MYHOSTNAME Port MYPORTYou might notice that I've s

Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-14 Thread php
Are you sure that you are editing the right httpd.conf file Matt? I've edited the wrong file before, then wondered why my changes have no effect. You could try adding something to your httpd.conf that will generate an error, such as the wrong path to the php module. Then do apachectl -t to d

Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-14 Thread php
One more thing Matt, before I ask on the apache mailing list: Can you check your apache error_log please, and see if it says that php is starting ok. This is what it says in my Apache 2.2.0 error_log when it starts up: [Sun Mar 12 05:52:45 2006] [info] mod_unique_id: using ip addr 10.0.0.1

Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-14 Thread php
Sounds to me like apache may not be loading the php5 module. This is why I asked you to get Apache to show what the server signature was returning. I think you need to find a way to establish whether the php5 module is being loaded or not. I'm not sure if mod_info will return this. Let me as

Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-14 Thread Matt G.
Thanks for the great suggestions.  We might be getting a bit closer here...   1) I did find that doc_root was not set in my php.ini so I filled it in and pointed it to my apache htdocs directory 2) Error logging was turned on in php.ini but I expanded it to include E_STRICT 3) Error logging to a fi

Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-14 Thread php
Something else Matt. Are you using the short php open tags - like tags. asp_tags = OFF ; Allow the tags are recognized. short_open_tag = OFF Another thing, when you do a directory listing, or generate a 404 apache error, does Apache return the php version as part of the server signature?

Re: [PHP-INSTALL] php returning completely empty documents on new apache install

2006-03-14 Thread php
I'm just wondering if your error reporting in php.ini is turned off. I had problems before where php was throwing an error message, but I had no error message displayed, because I had set error_reporting to 0; Even so, i don't think the output from phpinfo() would be affected by the error_rep