Services webmasters
Partenaires
Jeux concours gratuits
 
FAQ : Foire Aux Questions
<<<
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?
>>>

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.1 Unix/Windows: Where should my

By default on UNIX it should be in /usr/local/lib which is <install-path>/lib . Most people will want to change this at compile-time with the --with-config-file-path flag. You would, for example, set it with something like:


--with-config-file-path=/etc
And then you would copy php.ini-dist from the distribution to /etc/php.ini and edit it to make any local changes you want.


--with-config-file-scan-dir=PATH

On Windows the default path for the php.ini file is the Windows directory. If you're using the Apache webserver, php.ini is first searched in the Apaches install directory, e.g. c:\program files\apache group\apache . This way you can have different php.ini files for different versions of Apache on the same machine.

See also the chapter about the configuration file .

<< Unix/Windows: Where should my >>
FAQ : Foire Aux Questions Installation Unix: I installed PHP, but every time I load a document, I get the message 'Document Contains No Data'! What's going on here?
Services webmasters
Les manuels
 
CoursPHP.com - Reproduction interdite -