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.3
Unix: I installed PHP using RPMS, but Apache isn't processing the
PHP pages! What's going on here?
Assuming you installed both Apache and PHP from RPM packages,
you need to uncomment or add some or all of the following lines
in your
httpd.conf
file:
# Extra Modules AddModule mod_php.c AddModule mod_php3.c AddModule mod_perl.c
# Extra Modules LoadModule php_module modules/mod_php.so LoadModule php3_module modules/libphp3.so /* for PHP 3 */ LoadModule php4_module modules/libphp4.so /* for PHP 4 */ LoadModule perl_module modules/libperl.so
And add:
AddType application/x-httpd-php3 .php3 /* for PHP 3 */ AddType application/x-httpd-php .php /* for PHP 4 */
... to the global properties, or to the properties of the
VirtualDomain you want to have PHP support added to.
|