10.5 Installation
10 FAQ : Foire Aux Questions
Manuel PHP
.
Unix/Windows: Where should my ->
Unix: I installed PHP, but every time I load a document, I get the
message 'Document Contains No Data'! What's going on here?
.
Unix: I installed PHP using RPMS, but Apache isn't processing the
PHP pages! What's going on here?
.
Unix: I installed PHP 3 using RPMS, but it doesn't compile with
the database support I need! What's going on here?
.
Unix: I patched Apache with the FrontPage extensions patch, and
suddenly PHP stopped working. Is PHP incompatible with the
Apache FrontPage extensions?
.
Unix/Windows: I have installed PHP, but when I try to
access a PHP script file via my browser, I get a blank screen.
.
Unix/Windows: I have installed PHP, but when try to
access a PHP script file via my browser, I get a
server 500 error.
.
Some operating systems: I have installed PHP without errors,
but when I try to start apache I get undefined symbol errors:
.
Windows: I have installed PHP, but when I to access
a PHP script file via my browser, I get the error:
.
Windows: I've followed all the instructions, but still can't
get PHP and IIS to work together!
.
When running PHP as CGI with IIS, PWS, OmniHTTPD or Xitami,
I get the following error: .
How do I know if my
|
10.5.2
Unix: I installed PHP, but every time I load a document, I get the
message 'Document Contains No Data'! What's going on here?
This probably means that PHP is having some sort of problem
and is core-dumping. Look in your server error log to see if
this is the case, and then try to reproduce the problem with
a small test case. If you know how to use 'gdb', it is very
helpful when you can provide a backtrace with your bug report
to help the developers pinpoint the problem. If you are using
PHP as an Apache module try something like:
-
Stop your httpd processes
-
gdb httpd
-
Stop your httpd processes
-
> run -X -f /path/to/httpd.conf
-
Then fetch the URL causing the problem with your browser
-
> run -X -f /path/to/httpd.conf
-
If you are getting a core dump, gdb should inform you of this now
-
type: bt
-
You should include your backtrace in your bug report. This should be submitted to
http://bugs.php.net/
If your script uses the regular expression functions
(
ereg
and friends), you should make sure
that you compiled PHP and Apache with the same regular
expression package. This should happen automatically with
PHP and Apache 1.3.x
|