Lines Matching refs:a

61    a web server and a web browser. You probably already have a web
63 have a web server (e.g. Apache on Linux and MacOS X; IIS on Windows).
64 You may also rent webspace at a company. This way, you don't need to
70 servers PHP has a direct module interface (also called SAPI). These
74 module support for your web server, you can always use it as a CGI or
86 extension. This is a completely different approach than writing web
98 http://www.php.net/downloads.php. We recommend you to choose a mirror
126 with a web server on Microsoft Windows. To get started you'll need to
131 take the time to setup PHP yourself as this will provide you with a
135 Upgrading from a previous PHP version: Previous editions of the
140 SYSTEM folder) before moving on with a new PHP installation. Be sure
156 Extract the distribution file into a directory of your choice. If you
157 are installing PHP 4, extract to C:\, as the zip file expands to a
159 to C:\php as the zip file doesn't expand as in PHP 4. You may choose a
224 Notice the differences and similarities. Both PHP 4 and PHP 5 have a
225 CGI executable, a CLI executable, and server modules, but they are
230 in a separate directory.
235 Here is a list of server modules shipped with PHP 5:
265 a SAPI module, the web server's directory (e.g. C:\Program
278 The next step is to set up a valid configuration file for PHP, php.ini.
288 these default ini files. Copy your chosen ini-file to a directory that
314 what is already built in. Note that on a new installation it is
318 PHP is now setup on your system. The next step is to choose a web
319 server, and enable it to run PHP. Choose a web server from the table of
327 ActiveScript is a Windows only SAPI that enables you to use PHP script
342 system. To achieve this, open a Command Prompt window (located in the
346 To test if ActiveScript is working, create a new file, named test.wsf
356 Save and double-click on the file. If you receive a little window
413 also be checked. For a small performance penalty, the IIS
422 PHP may be installed as a CGI binary, or with the ISAPI module. In
438 check the 'Script engine' checkbox. Now, click OK a few times.
447 (and should) skip this step. Under ISAPI Filters, add a new ISAPI
448 filter. Use PHP as the filter name, and supply a path to the
458 click OK a few times.
463 Extensions, choose "Add a new Web service extension", enter in a name
468 In order to use index.php as a default content page, do the following:
490 notes for Apache 2 on a separate page.
504 Although there can be a few variations of configuring PHP under Apache,
510 Apache as a Windows Service, or use your regular shortcuts.
543 Installing as a CGI binary
574 chose to configure Apache to use PHP as a CGI binary, you will need to
575 use the highlight_file() function. To do this simply create a PHP
584 notes for Apache 1.3.x users on a separate page.
595 We do not recommend using a threaded MPM in production with Apache2.
597 read the related FAQ entry on using Apache2 with a threaded MPM
599 You are highly encouraged to take a look at the Apache Documentation to
600 get a basic understanding of the Apache 2.0.x Server. Also consider to
611 * a prerelease version downloadable from http://qa.php.net/.
629 Download the most recent version of Apache 2.0.x and a fitting PHP
645 Installing as a CGI binary
709 To install PHP as a CGI handler, do the following:
713 * Make a file association from the command line. Type the following
719 * In the Netscape Enterprise Administration Server create a dummy
723 * In the Netscape Enterprise Administration Server create a new mime
728 More details about setting up PHP as a CGI executable can be found
738 * Make a file association from the command line. Type the following
744 * In the Netscape Enterprise Administration Server create a new mime
767 php.ini-values, for example you can set a
772 * This is only needed if you want to configure a directory that only
773 consists of PHP scripts (same like a cgi-bin directory):
780 After that you can configure a directory in the Administration
799 WS/iPlanet/Netscape is a multithreaded web server. Because of that all
803 way to try this in the old PHP 3.x way with getenv() or a similar way
811 wanted to start, as a CGI script (a CGI script inside of the admin
828 directives which could interfere with yours. If you want to place a
833 create a PHP script which displays a directory listing and replace the
851 Under Unix this is not a problem, because the module automatically
855 Under Windows limitations in the DLL handling need the use of a
857 tested for servers till version 6.1. If a newer version of the Sun
886 OmniHTTPd. This is a CGI executable setup. SAPI is supported by
941 After installing PHP and a web server on Windows, you will probably
944 your php.ini. You can also load a module dynamically in your script
952 that require, or used to require, additional PHP DLL files. Here's a
988 in PECL, and these extensions require a separate download.
990 Note: If you are running a server module version of PHP remember to
1055 PECL is a repository of PHP extensions that are made available to you
1061 extension. Adjust accordingly. These instructions also assume a
1065 To be useful, a shared extension must be built, installed, and loaded.
1100 retrieving a PECL Snapshot or an extension DLL on PECL4WIN. To
1129 may install a beta package using the following command:
1133 You may also install a specific version using this variant:
1141 because you're behind a firewall, or it could be because the extension
1142 you want to install is not available as a PECL compatible package, such
1147 The phpize command is used to prepare the build environment for a PHP
1149 a directory named extname:
1172 You might find that you need to build a PECL extension statically into
1230 CGI or a server module, safe mode, etc...), and preferably enough code
1236 If you think you have found a bug in PHP, please report it. The PHP
1243 Read the How to report a bug document before submitting any bug
1287 directives are documented in the manual though. For a complete list of
1293 ; any text on a line after an unquoted semicolon (;) is ignored
1323 configuration files. For a listing of which directives are PHP_INI_ALL,
1324 PHP_INI_PERDIR, or PHP_INI_SYSTEM, have a look at the List of php.ini
1333 PHP_INI_ALL and PHP_INI_PERDIR type directives. To clear a
1340 Used to set a boolean configuration directive. Can be used only
1347 clear a previously set value use none as the value.
1350 Used to set a boolean configuration directive. This can not be
1373 on a per-directory basis using the Windows registry. The configuration
1392 If you are interested in a complete list of configuration settings on
1407 1. Why shouldn't I use Apache2 with a threaded MPM in a production
1411 3. Unix: I installed PHP, but every time I load a document, I get the
1424 7. Unix/Windows: I have installed PHP, but when I try to access a PHP
1425 script file via my browser, I get a blank screen.
1427 8. Unix/Windows: I have installed PHP, but when try to access a PHP
1428 script file via my browser, I get a server 500 error.
1438 10. Windows: I have installed PHP, but when I to access a PHP script
1443 returning a complete set of HTTP headers.
1463 1. Why shouldn't I use Apache2 with a threaded MPM in a production
1470 stability and robustness of the underlying platform. It needs a working
1471 OS, a working web server and working 3rd-party libraries to glue
1475 completely separate memory segments and a strong sandbox for each
1478 If you feel you have to use a threaded MPM, look at a FastCGI
1481 And finally, this warning against using a threaded MPM is not as strong
1505 3. Unix: I installed PHP, but every time I load a document, I get the
1510 and then try to reproduce the problem with a small test case. If you
1511 know how to use 'gdb', it is very helpful when you can provide a
1521 * If you are getting a core dump, gdb should inform you of this now
1556 Due to the way PHP 3 built, it is not easy to build a complete flexible
1621 7. Unix/Windows: I have installed PHP, but when I try to access a PHP
1622 script file via my browser, I get a blank screen.
1624 Do a 'view source' in the web browser and you will probably find that
1630 8. Unix/Windows: I have installed PHP, but when try to access a PHP
1631 script file via my browser, I get a server 500 error.
1633 Something went wrong when the server tried to run PHP. To get to see a
1636 PHP has any problems running, then a suitable error message will be
1637 displayed which will give you a clue as to what needs to be done next.
1638 If you get a screen full of HTML codes (the output of the phpinfo()
1653 10. Windows: I have installed PHP, but when I to access a PHP script
1657 returning a complete set of HTTP headers.
1661 get to see a sensible error message, from the command line, change to
1663 run php -i. If PHP has any problems running, then a suitable error
1664 message will be displayed which will give you a clue as to what needs
1665 to be done next. If you get a screen full of HTML codes (the output of
1679 a script file does not exist then the server will return a 404
1687 Make sure any user who needs to run a PHP script has the rights to run
1691 tell it that PHP is a script engine. Also, you will want to read this
1699 be sure the directive isn't commented out (with a ;). Like all
1708 To be sure your php.ini is being read by PHP, make a call to phpinfo()
1709 and near the top will be a listing called Configuration File (php.ini).
1711 it's being read. If just a directory PATH exists than it's not being
1715 If php.ini is being read and you're running PHP as a module, then be
1773 * Add a new line to the end of the file: set PHPRC=C:\php (replace