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.9
Windows: I have installed PHP, but when I to access
a PHP script file via my browser, I get the error:
This error message means that PHP failed to output anything
at all. To get to see a sensible error message, from the
command line, change to the directory containing the PHP
executable (
php.exe
on Windows) and run
php -i
. If PHP has any problems running,
then a suitable error message will be displayed which will
give you a clue as to what needs to be done next. If you
get a screen full of html codes (the output of the
phpinfo
function) then PHP is working.
Once PHP is working at the command line, try accessing the
script via the browser again. If it still fails then it
could be one of the following:
-
File permissions on your PHP script,
php.exe
,
php4ts.dll
,
php.ini
or any PHP extensions you are trying to load are such
that the anonymous internet user
ISUR_<machinename>
cannot access them.
-
The script file does not exist (or possibly isn't where you
think it is relative to your web root directory). Note that
for IIS you can trap this error by ticking the 'check file
exists' box when setting up the script mappings in the
Internet Services Manager. If a script file does not exist
then the server will return a 404 error instead. There is
also the additional benefit that IIS will do any
authentication required for you based on the NTLanMan
permissions on your script file.
|