Click to See Complete Forum and Search --> : PHP Latest + Apache 2.0.40 on BSD Getting BLANK PAGE
Techboy
09-02-2002, 12:53 AM
Hi, I followed many steps to get DSO working with those two combination. And finally with the latest PHP and Apache 2.0.40. Without altering any code, I was able to compile, and load the module. libphp4.so.
However, I still get blank page when loading php contents. Anyone know why? Could anyone please help me.
Thanks in advance!
Can you get the standard test script to work at all? I.e. can
you access (for example) http://yoursite.name/test.php
with
<?php
phpinfo();
?>
in it, and have the logs report no errors? To help torubleshoot you can set the Apache LogLevel directive to "debug" and it will spew all sorts of messages about what files it is accessing and so forth.
Techboy
09-03-2002, 12:28 PM
Nop, blank page. How do I change the Log Level ?
For me the surprising thing is, they all compiled good. I guess I used the latest versions. But in httpd.conf, I only have LoadModule libphp4 stuff, and the AddType.... are these enough?
Thanks.
You shouldn't need to add anything more to your httpd.conf to get PHP running, no.
To set the LogLevel just add
LogLevel debug
to the main or appropriate virtual host section in httpd.conf -- then watch the error log for lots more info about what's going on. Remember to restart the httpd process to make sure the chnaged log level is in effect. I assume your access log is showing a 200 response (i.e. successful request)?
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.