text
stringlengths 1
254
| output
stringlengths 2
255
|
---|---|
Warning
|
PHP ã¹ã¯ãªããã§äœ¿çšãããæ¡åŒµåãå
¥åããŠäžããã äŸ: .php
|
One error here can leave your system in an unstable state.
|
æ°ããæååå€ãããã«ã¯ãªãã¯ãã php.exe ãžã®ãã¹ãããŒã¿ã®ãã£ãŒã«ãã«å
¥åããŠäžãããäŸãã°ã c:\php\php.exe ãšãªããŸãã
|
The PHP Development team will not be held responsible if you damage your registry.
|
PHP ã¹ã¯ãªããã«é¢é£ä»ãããå
šãŠã®æ¡åŒµåã«é¢ããŠãããã®æé ã ç¹°ãè¿ããŸãã
|
Navigate to:
|
以äžã®æé ã¯ãWebãµãŒãã®ã€ã³ã¹ããŒã«ã«ã¯åœ±é¿ãäžããŸããã (c:\myscripts\test.php ã®ããã«) PHPã¹ã¯ãªã ããã³ãã³ãã©ã€ã³ããã£ã¬ã¯ããªãã¥ã¢ãŠã€ã³ããŠã§PHPã¹ã¯ãªããã ããã«ã¯ãªãã¯ããŠå®è¡ãããå Žåã«ã®ã¿é¢ä¿ããŸããPHPãã¡ã€ã«ãã ãã«ã¯ãªãã¯ããéã«ããã¹ããšãã£ã¿ã«ããŒããããå Žåã«ã¯ãä»¥äž ã®æé ãé£ã°ããããšæããããããŸããã
|
On the edit menu select:
|
HKEY_CLASSES_ROOT ã«é²ãã§ãã ããã
|
Type in the extension you wish to use for your php scripts.
|
ç·šéã¡ãã¥ãŒããæ¬¡ã®ãã®ãéžãã§ãã ãã: æ°èŠäœæ- ããŒ
|
Double click on the new string value and enter the path to php.exe in the value data field. ex: c:\php\php.exe.
|
åã®ã»ã¯ã·ã§ã³ã§èšå®ããæ¡åŒµåãããŒã«å
¥åããŠäžãããäŸ: .php
|
The following steps do not affect the web server installation and only apply if you want your php scripts to be executed when they are run from the command line (ex. run c:\myscripts\test.php) or by double clicking on them in a directory viewer window.
|
æ°èŠã®ããŒããã€ã©ã€ã衚瀺ã«ããå³åŽããŒã³ã§ã"ããã©ã«ãå€" ã ããã«ã¯ãªãã¯ããåŸã phpfile ãå
¥åããŠäž ããã
|
Navigate to:
|
åæ¡åŒµåã«é¢ããŠå
ã®ã»ã¯ã·ã§ã³ã®èšå®æé ãç¹°ãè¿ããŠãã ããã
|
On the edit menu select:
|
ããã§ä»ã® æ°èŠäœæ- ã㌠ã HKEY_CLASSES_ROOT ã®ããšã«äœæãã phpfile ãšååãä»ããŸãã
|
Highlight the new key and in the right side pane, double click the "default value" and enter phpfile.
|
æ°èŠã㌠phpfile ããã€ã©ã€ã衚瀺ãã å³åŽããŒã³äžã§ã"ããã©ã«ãå€" ãããã«ã¯ãªãã¯ãã PHPã¹ã¯ãªãã ãå
¥åããŸãã
|
Now create another New - Key under HKEY_CLASSES_ROOT and name it phpfile.
|
phpfile ããŒãå³ã¯ãªãã¯ãã æ°èŠäœæ- ã㌠ãéžæãã Shell ãšããååãã€ããŸãã
|
Highlight the new key phpfile and in the right side pane, double click the "default value" and enter PHP Script.
|
Shell ããŒãå³ã¯ãªãã¯ãã æ°èŠäœæ- ã㌠ãéžæãã open ãšããååã ã€ããŸãã
|
Right click on the Shell key and select New - Key, name it open.
|
open ããŒãå³ã¯ãªãã¯ãã æ°èŠäœæ- ã㌠ãéžæãã command ãšããååãã€ããŸãã
|
Highlight the new key command and in the right side pane, double click the "default value" and enter the path to php.exe. ex: c:\php\php.exe -q %1. (don't forget the %1).
|
æ°èŠã㌠command ããã€ã©ã€ã衚瀺ãã å³åŽããŒã³ã«ãŠ "ããã©ã«ãå€" ãããã«ã¯ãªãã¯ãã php.exe ãžã®ãã¹ãå
¥åããŸããäŸ: c:\php\php.exe -q %1. (%1 ãå¿ããªãã§äžããã)
|
Exit Regedit.
|
Regedit ãçµäºããŠäžããã
|
If using PWS on Windows, reboot to reload the registry.
|
Windows ã§ PWS ã䜿çšããå Žåãã¬ãžã¹ããªãåããŒãããããã« ãªããŒãããŠäžããã
|
IIS 3 users can use a nifty tool from Steven Genusa to configure their script maps.
|
ãããŸã§ã®äœæ¥ã§ãPWSããã³ IIS 3çšã®ã·ã¹ãã ã€ã³ã¹ããŒã«ã¯å®äºããŸãã IIS 3 ãŠãŒã¶ãŒã¯ãSteven Genusa ãäœæããã¹ã¯ãªãããããèšå®çšã® ãã°ããã ããŒã« ã䜿çšããããš ãã§ããŸãã
|
One to set up the PHP CGI binary, the other is to use the ISAPI module DLL.
|
PWS 4以éãå®è¡ããWindowsäžã«PHPãã€ã³ã¹ããŒã«ããéã«ã¯ãäºã€ã® æ¹æ³ããããŸããäžã€ã¯ãPHP CGIãã€ããªãèšå®ããæ¹æ³ã§ãããäžã€ ã¯ãISAPIã¢ãžã¥ãŒã« dllã䜿çšããæ¹æ³ã§ãã
|
If you choose the CGI binary, do the following:
|
CGIãã€ããªãéžæããå Žåã¯ã次ã®ããã«ããŸãã
|
Backslashes should be escaped, for example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map] ".php"="c:\\php\\php.exe "Now merge this registery file into your system; you may do this by double-clicking it.
|
æ·»ä»ã®(sapiãã£ã¬ã¯ããªã«ãã) pws-php4cgi.reg ãã¡ã€ã«ã䜿çšããphp.exe ã®äœçœ®ã«åãããã«ç·šéããŸããååãã¹ã©ãã·ã¥ã¯ããšã¹ã±ãŒãã ãå¿
èŠããããŸããäŸãã°ã [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map] ".php"="C:\\php\\php.exe"
|
Check the 'Execute' checkbox, and confirm.
|
PWSãããŒãžã£ã«ãããŠãPHPãµããŒãã远å ããããã£ã¬ã¯ããªã§å³ ã¯ãªãã¯ããããããã£ãéžæããŸãã'å®è¡'ãã§ãã¯ããã¯ã¹ã ãã§ãã¯ãã確èªããŸãã
|
If you choose the ISAPI module, do the following:
|
ISAPIã¢ãžã¥ãŒã«ãéžæããå Žåãæ¬¡ã®ããã«ããŸãã
|
Backslashes should be escaped, for example: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map] ".php"="c:\\php\\sapi\\php4isapi.dll "Now merge this registery file into your system; you may do this by double-clicking it.
|
æ·»ä»ãããŠãã pws-php4isapi.reg ãã¡ã€ã«ã ç·šéã(sapiãã£ã¬ã¯ããªãåç
§)ãphp4isapi.dllã®äœçœ®ãã·ã¹ãã ã«ãã£ããã®ã«ä¿®æ£ããŠäžãããååãã¹ã©ãã·ã¥ã¯ãšã¹ã±ãŒããã å¿
èŠããããŸããäŸãã°ã [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\w3svc\parameters\Script Map] ".php"="C:\\PHP\\sapi\\php4isapi.dll"
|
Check the 'Execute' checkbox, and confirm.
|
PWS ãããŒãžã£ã§ãPHPãµããŒãã远å ããããã£ã¬ã¯ããªã§å³ã¯ãªã ã¯ããããããã£ãéžæããŸãããå®è¡ããã§ãã¯ããã¯ã¹ããã§ã ã¯ãã確èªãæŒããŸãã
|
You have two options to set up PHP, using the CGI binary (php.exe) or with the ISAPI module.
|
PHPãIIS 4以éãå®è¡ããŠããNT/2000ãµãŒãäžã«ã€ã³ã¹ããŒã«ããã«ã¯ã 以äžã®æç€ºã«åŸã£ãŠäžãããPHPãèšå®ããã«ã¯ãCGIãã€ããª(php.exe) çãšISAPIã¢ãžã¥ãŒã«çã®2çš®é¡ãããŸãã
|
Then right click on your Web server node (this will most probably appear as'Default Web Server'), and select'Properties'.
|
ã©ã¡ãã®å Žåãããã€ã¯ããœãããããŒãžã¡ã³ãã³ã³ãœãŒã«ãèµ·åãã å¿
èŠããããŸãã(ãã€ã³ã¿ãŒããããµãŒãã¹ãããŒãžã£ããŸãã¯NT 4.0 ãªãã·ã§ã³ããã¯ãŸãã¯Windows 2000ã§ã¯ãã³ã³ãããŒã«ããã«= 管 çããŒã«ã«çŸããŸãã)ã€ã¥æã§ãWebãµãŒãããŒãäžã§å³ã¯ãªã㯠(ãããã©ã«ãã®WebãµãŒãããšããŠãããçŸããŠããããšãå€ã)
|
Under 'Home Directory', 'Virtual Directory', or'Directory', click on the'Configuration' button, and then enter the App Mappings tab.
|
CGIãã€ããªã䜿çšãããå Žåãæ¬¡ã®ããã«ããŸãã
|
In the Extension box, type the file name extension you want associated with PHP scripts.
|
'ããŒã ãã£ã¬ã¯ããª'ã'ä»®æ³ãã£ã¬ã¯ããª'ã'ãã£ã¬ã¯ããª'ã®äžã§' èšå®'ãã¿ã³ãã¯ãªãã¯ããAppãããã³ã°ã¿ãã«ç§»ããŸãã
|
You may also like to check the 'check that file exists' box - for a small performance penalty, IIS (or PWS) will check that the script file exists and sort out authentication before firing up php.
|
远å ãã¯ãªãã¯ããå®è¡ããã¯ã¹ã§æ¬¡ã®ããã«å
¥åããŸãã c:\php\php.exe %s %s (PHPã®zipã¢ãŒã«ã€ãã c:\php\ã§è§£åãããšä»®å®ããŸã) %s %s ãçµç«¯ã«ä»ããå¿
èŠããã ãŸãããããè¡ããªããšãPHPã¯æ£ããæ©èœããŸããã
|
You must start over from the previous step for each extension you want associated with PHP scripts. .php and .phtml are common, although .php3 may be required for legacy applications.
|
å®è¡ããã¯ã¹ã®äžã§ãPHPã¹ã¯ãªãããé¢é£ã¥ãããã¡ã€ã«åã®æ¡åŒµ åãå
¥åããŠäžããã'é€å€ã¡ãœãã'ã空çœã®ãŸãŸã«ããã¹ã¯ãªãã ãšã³ãžã³ãã§ãã¯ããã¯ã¹ããã§ãã¯ããŠäžããã æé 3ããã³4ãPHPã¹ã¯ãªããã«é¢é£ã¥ãããæ¡åŒµæ¯ã«ç¹°ãè¿ããŠäž ããã( .php ãš .phtml ãäžè¬çã§ã)
|
To use the ISAPI module, do the following:
|
é©åã«ã»ãã¥ãªãã£ãèšå®ããŠäžããã(ããã¯ãã€ã³ã¿ãŒãããã»ã㥠ãªãã£ãããŒãžã£ã«ãããŠè¡ãããŸã) NTãµãŒããNTFSãã¡ã€ã«ã·ã¹ ãã ã䜿çšããŠããå ŽåãI_USR_ã«é¢ããå®è¡æš©éã php.exe ãæãããã£ã¬ã¯ããªã«è¿œå ããŠäžã ãã
|
Under ISAPI Filters, add a new ISAPI filter.
|
ISAPIã¢ãžã¥ãŒã«ã䜿çšããã«ã¯ã次ã®ããã«ããŠäžããã
|
Under 'Home Directory', click on the'Configuration' button.
|
PHPã䜿çšããŠHTTPèªèšŒãå®è¡ããããªãå Žåã¯ããã®æé ãé£ã°ã ããšãå¯èœã§ã(ãããŠãããããã¹ãã§ã)ãISAPIãã£ã«ã¿ã®å
ã§ æ°èŠãã£ã«ã¿ã远å ããŠäžãããPHPããã£ã«ã¿åãšããŠäœ¿çšãã php4isapi.dllãžã®ãã¹ãå
¥åããŠäžããã
|
Use the path to the php4isapi.dll as the Executable, supply .php as the extension, leave Method exclusions blank, and check the Script engine checkbox.
|
'Home Directory'以äžã§'Configuration'ãã¿ã³ãã¯ãªãã¯ããŠäžã ããã¢ããªã±ãŒã·ã§ã³ãããŒãžã£ãžã®æ°èŠãšã³ããªã远å ããŸãã å®è¡ãã¡ã€ã«ã«php4isapi.dllãžã®ãã¹ãå
¥åããŠäžãããæ¡åŒµåãš ã㊠.php ãæå®ãé€å€ã¡ãœããã¯ç©ºçœã®ãŸãŸãã¹ã¯ãªãããšã³ãžã³ ãã§ãã¯ããã¯ã¹ããã§ãã¯ããŠäžããã
|
Start IIS again (NET START w3svc)
|
IISãå®å
šã«åæ¢
|
Servers-Netscape and iPlanet
|
IISãå床éå§
|
Many Linux distributions have some sort of package installation system, such as RPM.
|
æ¬ç¯ã§ã¯ãPHPãLinuxã«ã€ã³ã¹ããŒã«ããå Žåã®æ³šæãšã³ãã«ã€ããŠèª¬æ ããŸãã
|
If you are unfamiliar with building and compiling your own software, it is worth checking to see whether somebody has already built a packaged version of PHP with the features you need.
|
å€ãã®Linuxãã£ã¹ããªãã¥ãŒã·ã§ã³ã§ã¯rpmãã¡ã€ã«ã®ãããªããã±ãŒ ãžã€ã³ã¹ããŒã«æ©èœããµããŒããããŠããŸããããã«ãããæšæºèšå®ã® æ§ç¯ã¯ããªãç°¡åã«ãªããŸããã(ã»ãã¥ã¢ãµãŒããæšæºä»¥å€ã®ããŒã¿ã㌠ã¹ãã©ã€ãã®ãããª)æšæºä»¥å€ã®æ©èœãå¿
èŠãšããå Žåã«ã¯ãPHPãWebãµãŒ ããåæ§ç¯ããå¿
èŠããããŸãããœãããŠãšã¢ã®æ§ç¯ããã³ã³ã³ãã€ã« ã«äžæ
£ããªå Žåã«ã¯ãå¿
èŠãšããæ©èœãæããPHPãæ¢ã«ããã±ãŒãžåã ããŠããªããã©ããã調ã¹ãŠã¿ã䟡å€ã¯ãããŸãã
|
There are a few pre-packaged and pre-compiled versions of PHP for Mac OS X.
|
æ¬ç¯ã¯ãPHPãMac OS Xãã€ã³ã¹ããŒã«ããéã®æ³šæäºé
ãšã³ãã説æã ãŸãã
|
If you are unfamiliar with building and compiling your own software, it 's worth checking whether somebody has already built a packaged version of PHP with the features you need.
|
æ°ã¯å°ãªãã§ãããMac OS X çšã«ããã±ãŒãžåãããã³ã³ãã€ã«ããã PHPãååšããŸããããã«ããæšæºçãªèšå®ãæ§ç¯ããããšãéåžžã«æ¥œã« ãªããŸããã(ã»ãã¥ã¢ãµãŒããŸãã¯å¥ã®ããŒã¿ããŒã¹ãã©ã€ãã®ãããª) ç°ãªãæ©èœãå¿
èŠãªå Žåã«ã¯ãPHPãWebãµãŒããèªåã§æ§ç¯ããå¿
èŠã ãããããããŸããããœãããŠãšã¢ã®æ§ç¯ããã³ã³ã³ãã€ã«ã«äžæ
£ããªå Ž åãå¿
èŠãšããæ©èœãæããããã±ãŒãžçã®PHPãæ¢ã«æ§ç¯ãããŠããªã ãã©ããã調ã¹ãããšãæšå¥šããŸãã
|
The following is for OS X Server.
|
Mac OS Xã«ã¯å
ãã«ç°ãªãäºã€ã®ããŒãžã§ã³ãã€ãŸããã¯ã©ã€ã¢ã³ããš ãµãŒãããããŸãã以äžã®èª¬æã¯ãOS XãµãŒãã«é¢ãããã®ã§ãã
|
You may also want to add this line: setenv OPTIM=-O2 If you want the compiler to do some optimization.
|
äŸ 3-2Mac OS X ãµãŒããžã®ã€ã³ã¹ããŒã«
|
6. make 7. make install This will add a directory to your Apache source directory under src / modules / php4.
|
以äžã®ãã³ãã¯ã Marc Liyanage æ°ã«æäŸããŠé ãããã®ã§ãã
|
That 'll bring the link table up to date.
|
Apache WebãµãŒãçšPHPã¢ãžã¥ãŒã«ãMac OS Xã«å«ãŸããŠããŸãã ãã®ããŒãžã§ã³ã«ã¯ã ããŒã¿ããŒã¹MySQLãšPostgreSQLã®ãµããŒããå«ãŸ ããŠããŸãã
|
Those tips are graciously provided by Marc Liyanage.
|
泚æ:以äžã®æé ãè¡ãéã¯ãApache WebãµãŒããããŠã³ãããå¯èœæ§ ãããã®ã§æ³šæããŠäžãã!
|
This version includes support for the MySQL and PostgreSQL databases.
|
以äžã®ã€ã³ã¹ããŒã«æé ãå®è¡ããŸãã
|
Do this to install:
|
1. ã¿ãŒããã«ãŠã€ã³ããŠããªãŒãã³
|
Type "wget http: / /www.diax.ch / users / liyanage / software / macosx / libphp4.so.gz", wait for download to finish
|
2. "wget http://www.diax.ch/users/liyanage/software/macosx/libphp4.so.gz" ãå
¥åããããŠã³ããŒãå®äºãåŸ
ã€ã
|
Type "gunzip libphp4.so.gz"
|
3. "gunzip libphp4.so.gz" ãå
¥å
|
#AddType application / x-httpd-php .php #AddType application / x-httpd-php-source .phps
|
4. "sudo apxs -i -a -n php4 libphp4.so" ãå
¥å
|
PHP should now be up and running.
|
æåŸã«ãWebãµãŒããåèµ·åããããã«" sudo apachectl graceful "ãšå
¥åããŠäžããã
|
Into that file, write this line: "?php phpinfo()?".
|
ãã®æç¹ã§PHPãåäœããŠããã¯ãã§ãã"test.php"ãšããååã®ãã¡ã€ ã«ã"Sites"ãã©ã«ãã«äœæããŠäžããããã®ãã¡ã€ã«ã«ã¯ã次ã®è¡ã æžããŠäžããã: "?php phpinfo()?"
|
You should see a status table with information about the PHP module.
|
次㫠127.0.0.1/~your_username/test.php ãWebãã© ãŠã¶ãããªãŒãã³ããŠäžãããPHPã¢ãžã¥ãŒã«ã«é¢ããæ
å ±ãå«ãã¹ã㌠ã¿ã¹ããŒãã«ã衚瀺ãããã¯ãã§ãã
|
Firstly you may need to add some paths to the LD_LIBRARY_PATH environment for Netscape to find all the shared libs.
|
PHPãNESãŸãã¯iPlanet WebãµãŒãçšã«æ§ç¯ããã«ã¯ãé©åœãªã€ã³ã¹ã㌠ã«ãã£ã¬ã¯ããªãä»ã㊠--with-nsapi = DIR ãªãã·ã§ã³ã䜿çšããŠäžããã ããã©ã«ãã®ãã£ã¬ã¯ããªã¯ãéåžž /opt/netscape/suitespot/ ã§ãã /php-xxx-version/sapi/nsapi/nsapi-readme.txt ãåç
§äžããã
|
To Install PHP as CGI (for Netscape Enterprise Server, iPlanet, perhaps Fastrack), do the following:
|
äŸ 3-10 Solaris äžã® Netscape Enterprise ãžã®ã€ã³ã¹ããŒã«äŸ
|
In the Netscape Enterprise Administration Server create a new mime type (Category: type, Content-Type: magnus-internal / shellcgi, File Suffix:php).
|
ãŸããå
šãŠã®å
±æã©ã€ãã©ãªãèŠã€ããããã«Netscapeçšã®ç°å¢å€æ° LD_LIBRARY_PATH ã«ããã€ãã®ãã¹ã远å ããå¿
èŠããããŸãããããã® èšå®ã¯ãNetscapeãµãŒãã®éå§ã¹ã¯ãªããã§è¡ãã®ãæåã§ãããã Windows ãŠãŒã¶ã¯ããããããã®æé ããšã°ãããšãå¯èœã§ããéå§ã¹ã¯ ãªããã¯ãé垞以äžã®å Žæã«ãããŸãã /path/to/server/https-servername/start
|
In The Object name=" default "section, place this line necessarily after all'ObjectType 'and before all'AddLog' lines:
|
/path/to/server/https-servername/config/ ã«ããèšå®ãã¡ã€ã«ãç·šéããããšãå¯èœã§ãã
|
Object name=" x-httpd-php "ObjectType fn="force-type" type="magnus-internal / x-httpd-php "Service fn=php4_execute / Object
|
äŸ 3-11 Netscape Enterpriseçšã®èšå®äŸ
|
You need to complete the following steps to make PHP work with OmniHTTPd.
|
æ¬ç¯ã¯ãOmni HTTPdã䜿çšããéã®æ³šæãšã³ãã«ã€ããŠèª¬æããŸãã
|
SAPI is supported by OmniHTTPd, but some tests have shown that it is not so stable to use PHP as an ISAPI module.
|
以äžã®ããã«èšå®ããã®ãæãç°¡åã§ãã
|
This directive needs to be set to 0.
|
æé 1: Omni ãµãŒããŒãã€ã³ã¹ããŒã«ããŸã
|
Step 3:
|
æé 2: ã·ã¹ãã ãã¬ã€ã«ããéã OmniHTTPd ã¢ã€ã³ã³ã å³ã¯ãªãã¯ãã Properties ãéžæããŸãã
|
On the 'External' tab, enter: virtual = .php _BAR_ actual = c:\path-to-php-dir\php.exe, and use the Add button.
|
æé 3: Web Server Global Settings ãã¯ãªã ã¯ããŸãã
|
On the Mime tab, enter: virtual = wwwserver / stdcgi _BAR_ actual = .php, and use the Add button.
|
æé 4: 'External' ã¿ãã«ãŠæ¬¡ã®ããã«å
¥åããŸãã: virtual = .php _BAR_ actual = c:\path-to-php-dir\php.exe
|
You can choose at setup time to do a custom setup, and uncheck the PHP component.
|
æé 5: Mime ã¿ãã«ãŠã次ã®ããã«å
¥åããŸãã virtual = wwwserver/stdcgi _BAR_ actual = .php
|
Some OmniHTTPd servers come with PHP 4 beta distributions, so you should choose not to set up the built in support, but install your own.
|
æé 6: OK ãã¯ãªãã¯ããŠäžãã
|
Prev
|
PHPãšå
±ã«å®è¡ãããåæ¡åŒµæ©èœæ¯ã«æé 2ïœ6 ãç¹°ãè¿ããŸãã
|
The core package has been separated from the various modules, and each can be installed and removed independently from the others.
|
æ¬ç¯ã§ã¯ãPHPã OpenBSD ã«ã€ã³ ã¹ããŒã«ããå Žåã«åºæã®æ³šæäºé
ãšãã³ãã«ã€ããŠèª¬æããŸãã
|
Next, take a look at the module packages, such as php4-mysql-4.2.3.tgz or php4-imap-4.2.3.tgz.
|
ãã®æ¹æ³ã¯ç¶æç®¡çãã人ã«ããææ°ã®ããããã»ãã¥ãªãã£äžã®ä¿®æ£ ãé©çšãããŠãããPHPãOpenBSDã«ã€ã³ã¹ããŒã«ããéã«æšå¥šãããæ¹ æ³ã§ãããã®æ¹æ³ã䜿çšããã«ã¯ã ææ°ã®portsããªãŒ ãæã«å
¥ããŠãããã©ããã確èªããŠäžããã ç¶ããŠãã€ã³ã¹ããŒã«ããããã®ãèŠã€ãã make install ã³ãã³ããå®è¡ããŸãã以äžã«ãããå®è¡ããéã®äŸ ã瀺ããŸãã
|
Example 3-3.
|
äŸ 3-3OpenBSD ports ã«ããã€ã³ã¹ããŒã«äŸ
|
Read the packages( 7) manual page for more information about binary packages on OpenBSD.
|
OpenBSD ã®ããŒãžã§ã³æ¯ã«ã³ã³ã ã€ã«æžã®ããã±ãŒãžãå
¥æå¯èœã§ãããããã¯ãOSã«ã€ã³ã¹ããŒã«ãã ãApacheã®ããŒãžã§ã³ã«èªåçã«åãããããŸãããããããã®ããŒã ã«ã¯( flavors ãšåŒã°ãã)å€ãã®ãªãã·ã§ã³ãã ããããports ããªãŒã䜿çšããŠãœãŒã¹ããã³ã³ãã€ã«ããæ¹ãç°¡åã§ ãããšæããããããŸãããå©çšå¯èœãªããã±ãŒãžã«é¢ãããã詳现㪠æ
å ±ã«ã€ããŠã¯ããã¥ã¢ã« packages(7) ãåç
§äžããã
|
Installation
|
æ¬ç¯ã§ã¯ãOreilly Website Proã«åºæã®æ³šæäºé
ãšãã³ãã«ã€ããŠèšè¿° ããŸãã
|
This section contains notes and hints specific to Oreilly Website Pro.
|
以äžã®æé ã¯ãWindowäžã®Oreilly Website Proã§PHP CGIãã€ããªãŸã ã¯ISAPIã¢ãžã¥ãŒã«ãåäœãããéã®èšå®æ¹æ³ã説æãããã®ã§ãã
|
This list describes how to set up the PHP CGI binary or the ISAPI module to work with Oreilly Website Pro on Windows.
|
ãµãŒãã®ããããã£ãç·šéãã"Mapping"ã¿ããéžæããŸãã
|
From the List select "Associations" and enter the desired extension (.php) and the path to the CGI exe (ex. c:\php\php.exe) or the ISAPI DLL file (ex. c:\php\sapi\php4isapi.dll).
|
Listãã"Associations"ãéžæãã 奜ããªæ¡åŒµå(".php") ãšCGI exe (äŸ: c:\php\php.exe)ãŸãã¯ISAPI dllãã¡ã€ã« (äŸ: c:\php\sapi\php4isapi.dll)ãžã®ãã¹ãå
¥åããŸãã
|
If you choose the CGI executable file, enter 'wwwserver / shellcgi', if you choose the ISAPI module, enter'wwwserver / isapi' (both without quotes).
|
"Content Types"ãéžæããåãæ¡åŒµå ".php" ãéžæãã content typeãå
¥åããŸããCGI exeãã¡ã€ã«ãéžæããå Žåã¯ã 'wwwserver/shellcgi'ãšå
¥åããŠäžãããISAPIã¢ãžã¥ãŒã«ãéžæã ãå Žåã¯ã'wwwserver/isapi'ãšå
¥åããŠäžããã(äž¡æ¹ãšãåŒçšç¬Šãª ã)
|
The PHP CGI binaries are compatible with almost all webservers supporting the CGI standard.
|
PHPã¯ãå€ãã®WebãµãŒããŒããµããŒãããããã«æ§ç¯ããããšãå¯èœã§ ãããµãŒããŒã«é¢ä¿ããèšå®ãªãã·ã§ã³ã®å®å
šãªãªã¹ãã«ã€ããŠã¯ã ãµãŒããŒã«é¢ä¿ãããªãã·ã§ã³ãåç
§äžãããPHPã®CGIãã€ããªã¯ãCGI ã€ã³ã¿ãŒãã§ãŒã¹ãåããã»ãŒå
šãŠã®WebãµãŒããšäºææ§ããããŸãã
|
If you are still stuck, someone on the PHP installation mailing list may be able to help you.
|
幟ã€ãã®åé¡ãããã®ä»ã®åé¡ãããããäžè¬çã«çããŠããŸãã æãäžè¬çãªåé¡ã¯ãPHP FAQ ã«èšèŒãããŠããŸãã PHP FAQ ã¯ã http://www.php.net/FAQ.php ã«ãããŸãã
|
The archives are available from the support page on http: / /www.php.net /.
|
PHPã®ãã°ãçºèŠããå Žåã¯å ±åããŠäžãããPHPã®éçºè
ã¯ãããªãã ãã®ãã°ãã¬ããŒãããªãéããæãããã®ãã°ãç¥ãããšããªããä¿® æ£ãããããšããªãã§ãããããã°ã®ã¬ããŒãã¯ã http://bugs.php.net/ ã«ãããã°è¿œè·¡ã·ã¹ã ã ã䜿çšããŠãè¡ãããšãã§ããŸãã
|
The mailing list address is [email protected].
|
ãã°ã¬ããŒããæçš¿ããåã« Bugs-Dos-And-Donts ãåç
§äž ãã!
|
You can report bugs using the bug-tracking system at http: / /bugs.php.net /.
|
ã¡ãŒãªã³ã°ãªã¹ãã«ãããŠè³ªåããããå Žåã¯ãæ£ç¢ºããå¿ããã è§£çã«å¿
èŠãªäœ¿çšç°å¢ã«é¢ããäºé
(ãªãã¬ãŒãã£ã³ã°ã·ã¹ãã ã®çš®é¡ã PHP ã®ããŒãžã§ã³ãWebãµãŒããŒã®çš®é¡ãPHP ã CGI ãšããŠäœ¿çšããŠããã®ã ãµãŒããŒã¢ãžã¥ãŒã«ãšããŠäœ¿çšããŠããã®ããç)ãæããã«ããããã« ããŠäžãããä»ã®äººãåé¡ãåçŸãããã¹ãã§ããã®ã«å
åãªã³ãŒãã 瀺ãããšã奜ãŸããã§ãã
|
This section contains notes and hints specific to the Sambar server for Windows.
|
This section contains notes and hints specific to the Sambar server for Windows.
|
Find the file called mappings.ini (in the config directory) in the Sambar isntall directory.
|
This list describes how to set up the ISAPI module to work with the Sambar server on Windows.
|
*.php = c:\php\php4isapi.dll
|
Find the file called mappings.ini (in the config directory) in the Sambar isntall directory.
|
Prev
|
Open mappings.ini and add the following line under [ISAPI]:
|
Servers-Oreilly Website Pro
|
Now restart the Sambar server for the changes to take effect.
|
Installation
|
æ¬ç¯ã¯ãSolaricã«PHPãã€ã³ã¹ããŒã«ããéã®æ³šæãšã³ãã説æããŸãã
|
Solaris installs often lack C compilers and their related tools.
|
Solaris ã€ã³ã¹ããŒã«ã¯ãCã³ã³ãã€ã©ããã³é¢é£ããããŒã«ãæ¬ ããŠã ãããšãå€ãã§ããå¿
èŠãªãœãããŠãšã¢ã¯æ¬¡ã®ããã«ãªããŸãã
|
gcc (recommended, other C compilers may work)
|
gcc (æšå¥šãããŸãããä»ã®C ã³ã³ãã€ã©ãåäœãããããããŸãã)
|
Installation on UNIX systems
|
å¿
èŠãªã³ã³ããŒãã³ãã®ã»ãšãã©ãã€ã³ã¹ããŒã«ããéã«pkgaddã«ãã solarisã€ã³ã¹ããŒã«åŠçãç°¡åã«è¡ãããšãå¯èœã§ãã
|
Be sure to investigate any sections specific to your platform or web server before you begin the process.
|
æ¬ç¯ã«ãããŠã¯ãUNIXã·ã¹ãã äžã§ã®PHP ã®ã€ã³ã¹ããŒã«ãšèšå®ã«é¢ãã æåŒãã瀺ããŸããèªã¿é²ãåã«äœ¿çšãããã©ãããã©ãŒã ãŸãã¯WebãµãŒ ãã«ã€ããŠå¿
èŠãªéšåã調ã¹ãããã«ããŠäžããã
|
Prerequisite knowledge and software:
|
äºåã«å¿
èŠãªç¥èãšãœãããŠãšã¢ã以äžã«ç€ºããŸãã
|
Basic UNIX skills (being able to operate "make "and a C compiler, if compiling)
|
UNIX ã«é¢ããåºæ¬çãªç¥è("make" ããã³C ã³ã³ãã€ã©ã䜿ããçšåºŠ)
|
An ANSI C compiler (if compiling)
|
ANSI C ã³ã³ãã€ã©(ã³ã³ãã€ã«ããå Žå)
|
flex (for compiling)
|
flex(ã³ã³ãã€ã«çš)
|
bison (for compiling)
|
bison (ã³ã³ãã€ã«çš)
|
A web server
|
Web ãµãŒã
|
Any module specific components (such as gd, pdf libs, etc.)
|
(gdãpdfã©ã€ãã©ãªçã®ãããª)ã¢ãžã¥ãŒã«çšã®ã³ã³ããŒãã³ã
|
This documentation is mainly focused around the process of compiling and configuring PHP.
|
UNIXãã©ãããã©ãŒã ã§æ§ã
ãªããã±ãŒãžã䜿çšããŠPHPã®ã³ã³ãã€ã«ã ãã³èšå®ãè¡ãæ¹æ³ã¯è€æ°ãããŸãããŠãŒã¶èªèº«ã«ããã³ã³ãã€ã«ããã³ èšå®ã®åŠçã¯ããè€éã§ãããã®ããããã®ææžã§ã¯ãããã®æé ã«ã€ã ãŠãã詳现ã«èª¬æããŸãã
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.