  | |  | RHEL 3 U3 Apache and PHP not working | RHEL 3 U3 Apache and PHP not working 2005-01-13 - By Jay Lee
Back Brent M. Clements said: > We have a wierd problem going on right now which ISN't being caused by our > php based application.
How can you be sure?
> Whats happening is that when we access the php application on our server, > the application sometimes works and sometimes doesn't. IE when we first go > to the index page of the php application, it will sometimes come up > working fine, but then we refresh and it doesn't come up. > To debug our code we put the following in the first line of our script > <snip>
What's the code between your added lines doing?
> Most times it doesn't even get to the simple echo at the beginning of the > script and the browser just pauses indifinitly, without ever hitting a > timeout or anything.
Any chance your using an accelerator like mmcache or Zend Optimizer?
> At varying refreshes the php code executes through each the steps . > Sometimes it get's to step 1, step 2, and/or step 3 > > My guess is that there is something wrong with apache and the php module > which is fscking up the execution of the php script it self.
Backup your existing php and apache configurations and then reinstall all php- and apache- rpms that you previously had installed. See if a clean install of the two has the same issues.
> Anybody have this problem or know a way to debug apache and/or the php > module?
What you tried already is good, might want to see if /var/log/http/error_log is saying anything. I'd also run top on the server and see if httpd is hitting 100% cpu or chewing up large chunks of memory...
Jay -- Jay Lee Network / Systems Administrator Information Technology Dept. Philadelphia Biblical University --
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |