Re: I think I messed up by Apache/PHP install...

[email protected] (mikespub) Fri, 06 Aug 2004 23:46:21 GMT
Newsgroups gmane.comp.cms.xaraya.curiosa
Organization not much
Message-ID <[email protected]>
In article <[email protected]>, "Jason Judge" <[email protected]> wrote:
>....and need to get it working again. So far as I can see, the PHP4 module is
>not loading, but I don't know why. I have tried enabling all the Apache log
>files (debug level) and can't see any errors anywhere. Any ideas?
>
>When I try to run a PHP page through a browser, it just downloads the file
>instead of executing it on the server. There are PHP directives in my
>httpd.conf, that used to work, but now give a syntax error (disabling those
>directives allows the httpd to start, but then PHP does not work).
>
>Basically, I don't know where to look next, as I have no errors to act on.
>
>Any PHP4/Apache experts out there? All I wanted was to enable libcurl
>support, and now my server is useless :-(
>
>-- JJ

If you recompiled PHP with curl and recompiled Apache with that, then you
should probably re-compile a clean PHP version. You can check the
compiled-in Apache modules with httpd -l

If you didn't recompile Apache and load PHP dynamically in your httpd.conf
file, then you can check the syntax of your httpd.conf file with httpd -t

If your httpd.conf file gives errors like it doesn't understand php_value or
some other PHP directive, then PHP is not loaded and is probably buggy.

Not much help, but it's a start :)

Mike.