За последние 24 часа нас посетили 18148 программистов и 1683 робота. Сейчас ищут 1186 программистов ...

httpd.conf и php.ini

Тема в разделе "Установка PHP", создана пользователем Pasha09, 8 мар 2010.

  1. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
    файл httpd.conf:
    Код (Text):
    1. #
    2. # Based upon the NCSA server configuration files originally by Rob McCool.
    3. #
    4. # This is the main Apache server configuration file.  It contains the
    5. # configuration directives that give the server its instructions.
    6. # See <URL:http://httpd.apache.org/docs-2.0/> for detailed information about
    7. # the directives.
    8. #
    9. # Do NOT simply read the instructions in here without understanding
    10. # what they do.  They're here only as hints or reminders.  If you are unsure
    11. # consult the online docs. You have been warned.  
    12. #
    13. # The configuration directives are grouped into three basic sections:
    14. #  1. Directives that control the operation of the Apache server process as a
    15. #     whole (the 'global environment').
    16. #  2. Directives that define the parameters of the 'main' or 'default' server,
    17. #     which responds to requests that aren't handled by a virtual host.
    18. #     These directives also provide default values for the settings
    19. #     of all virtual hosts.
    20. #  3. Settings for virtual hosts, which allow Web requests to be sent to
    21. #     different IP addresses or hostnames and have them handled by the
    22. #     same Apache server process.
    23. #
    24. # Configuration and logfile names: If the filenames you specify for many
    25. # of the server's control files begin with "/" (or "drive:/" for Win32), the
    26. # server will use that explicit path.  If the filenames do *not* begin
    27. # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
    28. # with ServerRoot set to "C:/Server.shkol/Apache2" will be interpreted by the
    29. # server as "C:/Server.shkol/Apache2/logs/foo.log".
    30. #
    31. # NOTE: Where filenames are specified, you must use forward slashes
    32. # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
    33. # If a drive letter is omitted, the drive on which Apache.exe is located
    34. # will be used by default.  It is recommended that you always supply
    35. # an explicit drive letter in absolute paths, however, to avoid
    36. # confusion.
    37. #
    38.  
    39. ### Section 1: Global Environment
    40. #
    41. # The directives in this section affect the overall operation of Apache,
    42. # such as the number of concurrent requests it can handle or where it
    43. # can find its configuration files.
    44. #
    45.  
    46. #
    47. # ServerRoot: The top of the directory tree under which the server's
    48. # configuration, error, and log files are kept.
    49. #
    50. # NOTE!  If you intend to place this on an NFS (or otherwise network)
    51. # mounted filesystem then please read the LockFile documentation (available
    52. # at <URL:http://httpd.apache.org/docs-2.0/mod/mpm_common.html#lockfile>);
    53. # you will save yourself a lot of trouble.
    54. #
    55. # Do NOT add a slash at the end of the directory path.
    56. #
    57. ServerRoot "C:/Server.shkol/Apache2"
    58.  
    59. #
    60. # ScoreBoardFile: File used to store internal server process information.
    61. # If unspecified (the default), the scoreboard will be stored in an
    62. # anonymous shared memory segment, and will be unavailable to third-party
    63. # applications.
    64. # If specified, ensure that no two invocations of Apache share the same
    65. # scoreboard file. The scoreboard file MUST BE STORED ON A LOCAL DISK.
    66. #
    67. #ScoreBoardFile logs/apache_runtime_status
    68.  
    69. #
    70. # PidFile: The file in which the server should record its process
    71. # identification number when it starts.
    72. #
    73. PidFile logs/httpd.pid
    74.  
    75. #
    76. # Timeout: The number of seconds before receives and sends time out.
    77. #
    78. Timeout 300
    79.  
    80. #
    81. # KeepAlive: Whether or not to allow persistent connections (more than
    82. # one request per connection). Set to "Off" to deactivate.
    83. #
    84. KeepAlive On
    85.  
    86. #
    87. # MaxKeepAliveRequests: The maximum number of requests to allow
    88. # during a persistent connection. Set to 0 to allow an unlimited amount.
    89. # We recommend you leave this number high, for maximum performance.
    90. #
    91. MaxKeepAliveRequests 100
    92.  
    93. #
    94. # KeepAliveTimeout: Number of seconds to wait for the next request from the
    95. # same client on the same connection.
    96. #
    97. KeepAliveTimeout 15
    98.  
    99. ##
    100. ## Server-Pool Size Regulation (MPM specific)
    101. ##
    102.  
    103. # WinNT MPM
    104. # ThreadsPerChild: constant number of worker threads in the server process
    105. # MaxRequestsPerChild: maximum  number of requests a server process serves
    106. <IfModule mpm_winnt.c>
    107. ThreadsPerChild 250
    108. MaxRequestsPerChild  0
    109. </IfModule>
    110.  
    111. #
    112. # Listen: Allows you to bind Apache to specific IP addresses and/or
    113. # ports, instead of the default. See also the <VirtualHost>
    114. # directive.
    115. #
    116. # Change this to Listen on specific IP addresses as shown below to
    117. # prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
    118. #
    119. #Listen 12.34.56.78:80
    120. Listen 80
    121.  
    122. #
    123. # Dynamic Shared Object (DSO) Support
    124. #
    125. # To be able to use the functionality of a module which was built as a DSO you
    126. # have to place corresponding `LoadModule' lines at this location so the
    127. # directives contained in it are actually available _before_ they are used.
    128. # Statically compiled modules (those listed by `httpd -l') do not need
    129. # to be loaded here.
    130. #
    131. # Example:
    132. # LoadModule foo_module modules/mod_foo.so
    133. #
    134. LoadModule access_module modules/mod_access.so
    135. LoadModule actions_module modules/mod_actions.so
    136. LoadModule alias_module modules/mod_alias.so
    137. LoadModule asis_module modules/mod_asis.so
    138. LoadModule auth_module modules/mod_auth.so
    139. #LoadModule auth_anon_module modules/mod_auth_anon.so
    140. #LoadModule auth_dbm_module modules/mod_auth_dbm.so
    141. #LoadModule auth_digest_module modules/mod_auth_digest.so
    142. LoadModule autoindex_module modules/mod_autoindex.so
    143. #LoadModule cern_meta_module modules/mod_cern_meta.so
    144. LoadModule cgi_module modules/mod_cgi.so
    145. #LoadModule dav_module modules/mod_dav.so
    146. #LoadModule dav_fs_module modules/mod_dav_fs.so
    147. LoadModule dir_module modules/mod_dir.so
    148. LoadModule env_module modules/mod_env.so
    149. #LoadModule expires_module modules/mod_expires.so
    150. #LoadModule file_cache_module modules/mod_file_cache.so
    151. #LoadModule headers_module modules/mod_headers.so
    152. LoadModule imap_module modules/mod_imap.so
    153. LoadModule include_module modules/mod_include.so
    154. #LoadModule info_module modules/mod_info.so
    155. LoadModule isapi_module modules/mod_isapi.so
    156. LoadModule log_config_module modules/mod_log_config.so
    157. LoadModule mime_module modules/mod_mime.so
    158. #LoadModule mime_magic_module modules/mod_mime_magic.so
    159. #LoadModule proxy_module modules/mod_proxy.so
    160. #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    161. #LoadModule proxy_http_module modules/mod_proxy_http.so
    162. #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    163. LoadModule negotiation_module modules/mod_negotiation.so
    164. #LoadModule rewrite_module modules/mod_rewrite.so
    165. LoadModule setenvif_module modules/mod_setenvif.so
    166. #LoadModule speling_module modules/mod_speling.so
    167. #LoadModule status_module modules/mod_status.so
    168. #LoadModule unique_id_module modules/mod_unique_id.so
    169. LoadModule userdir_module modules/mod_userdir.so
    170.  
    171.  
    172. LoadModule php5_module C:/Server.shkol/php/php5apache2.dll
    173. AddType application/x-httpd-php .php
    174. PHPIniDir "C:/Server.shkol/php/"
    175.  
    176.  
    177.  
    178. #LoadModule usertrack_module modules/mod_usertrack.so
    179. #LoadModule vhost_alias_module modules/mod_vhost_alias.so
    180. #LoadModule ssl_module modules/mod_ssl.so
    181.  
    182. #
    183. # ExtendedStatus controls whether Apache will generate "full" status
    184. # information (ExtendedStatus On) or just basic information (ExtendedStatus
    185. # Off) when the "server-status" handler is called. The default is Off.
    186. #
    187. #ExtendedStatus On
    188.  
    189. ### Section 2: 'Main' server configuration
    190. #
    191. # The directives in this section set up the values used by the 'main'
    192. # server, which responds to any requests that aren't handled by a
    193. # <VirtualHost> definition.  These values also provide defaults for
    194. # any <VirtualHost> containers you may define later in the file.
    195. #
    196. # All of these directives may appear inside <VirtualHost> containers,
    197. # in which case these default settings will be overridden for the
    198. # virtual host being defined.
    199. #
    200.  
    201. #
    202. # ServerAdmin: Your address, where problems with the server should be
    203. # e-mailed.  This address appears on some server-generated pages, such
    204. # as error documents.  e.g. admin@your-domain.com
    205. #
    206. ServerAdmin saltanov-pasha@yandex.ua
    207.  
    208. #
    209. # ServerName gives the name and port that the server uses to identify itself.
    210. # This can often be determined automatically, but we recommend you specify
    211. # it explicitly to prevent problems during startup.
    212. #
    213. # If this is not set to valid DNS name for your host, server-generated
    214. # redirections will not work.  See also the UseCanonicalName directive.
    215. #
    216. # If your host doesn't have a registered DNS name, enter its IP address here.
    217. # You will have to access it by its address anyway, and this will make
    218. # redirections work in a sensible way.
    219. #
    220. ServerName localhost:80
    221.  
    222. #
    223. # UseCanonicalName: Determines how Apache constructs self-referencing
    224. # URLs and the SERVER_NAME and SERVER_PORT variables.
    225. # When set "Off", Apache will use the Hostname and Port supplied
    226. # by the client.  When set "On", Apache will use the value of the
    227. # ServerName directive.
    228. #
    229. UseCanonicalName Off
    230.  
    231. #
    232. # DocumentRoot: The directory out of which you will serve your
    233. # documents. By default, all requests are taken from this directory, but
    234. # symbolic links and aliases may be used to point to other locations.
    235. #
    236. DocumentRoot "C:/Server.shkol/Apache2/htdocs"
    237.  
    238. #
    239. # Each directory to which Apache has access can be configured with respect
    240. # to which services and features are allowed and/or disabled in that
    241. # directory (and its subdirectories).
    242. #
    243. # First, we configure the "default" to be a very restrictive set of
    244. # features.  
    245. #
    246. <Directory />
    247.     Options FollowSymLinks
    248.     AllowOverride None
    249. </Directory>
    250.  
    251. #
    252. # Note that from this point forward you must specifically allow
    253. # particular features to be enabled - so if something's not working as
    254. # you might expect, make sure that you have specifically enabled it
    255. # below.
    256. #
    257.  
    258. #
    259. # This should be changed to whatever you set DocumentRoot to.
    260. #
    261. <Directory "C:/Server.shkol/Apache2/htdocs">
    262.  
    263. #
    264. # Possible values for the Options directive are "None", "All",
    265. # or any combination of:
    266. #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    267. #
    268. # Note that "MultiViews" must be named *explicitly* --- "Options All"
    269. # doesn't give it to you.
    270. #
    271. # The Options directive is both complicated and important.  Please see
    272. # http://httpd.apache.org/docs-2.0/mod/core.html#options
    273. # for more information.
    274. #
    275.     Options Indexes FollowSymLinks
    276.  
    277. #
    278. # AllowOverride controls what directives may be placed in .htaccess files.
    279. # It can be "All", "None", or any combination of the keywords:
    280. #   Options FileInfo AuthConfig Limit
    281. #
    282.     AllowOverride None
    283.  
    284. #
    285. # Controls who can get stuff from this server.
    286. #
    287.     Order allow,deny
    288.     Allow from all
    289.  
    290. </Directory>
    291.  
    292. #
    293. # UserDir: The name of the directory that is appended onto a user's home
    294. # directory if a ~user request is received.  Be especially careful to use
    295. # proper, forward slashes here.  On Windows NT, "Personal/My Website"
    296. # is a more appropriate choice.
    297. #
    298. UserDir "My Documents/My Website"
    299.  
    300. #
    301. # Control access to UserDir directories.  The following is an example
    302. # for a site where these directories are restricted to read-only.
    303. #
    304. # You must correct the path for the root to match your system's configured
    305. # user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My Website"
    306. # or whichever, as appropriate.
    307. #
    308. #<Directory "C:/Documents and Settings/*/My Documents/My Website">
    309. #    AllowOverride FileInfo AuthConfig Limit
    310. #    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
    311. #    <Limit GET POST OPTIONS PROPFIND>
    312. #        Order allow,deny
    313. #        Allow from all
    314. #    </Limit>
    315. #    <LimitExcept GET POST OPTIONS PROPFIND>
    316. #        Order deny,allow
    317. #        Deny from all
    318. #    </LimitExcept>
    319. #</Directory>
    320.  
    321. #
    322. # DirectoryIndex: sets the file that Apache will serve if a directory
    323. # is requested.
    324. #
    325. # The index.html.var file (a type-map) is used to deliver content-
    326. # negotiated documents.  The MultiViews Option can be used for the
    327. # same purpose, but it is much slower.
    328. #
    329. DirectoryIndex index.html index.html.var index.php
    330.  
    331. #
    332. # AccessFileName: The name of the file to look for in each directory
    333. # for additional configuration directives.  See also the AllowOverride
    334. # directive.
    335. #
    336. AccessFileName .htaccess
    337.  
    338. #
    339. # The following lines prevent .htaccess and .htpasswd files from being
    340. # viewed by Web clients.
    341. #
    342. <Files ~ "^\.ht">
    343.     Order allow,deny
    344.     Deny from all
    345. </Files>
    346.  
    347. #
    348. # TypesConfig describes where the mime.types file (or equivalent) is
    349. # to be found.
    350. #
    351. TypesConfig conf/mime.types
    352.  
    353. #
    354. # DefaultType is the default MIME type the server will use for a document
    355. # if it cannot otherwise determine one, such as from filename extensions.
    356. # If your server contains mostly text or HTML documents, "text/plain" is
    357. # a good value.  If most of your content is binary, such as applications
    358. # or images, you may want to use "application/octet-stream" instead to
    359. # keep browsers from trying to display binary files as though they are
    360. # text.
    361. #
    362. DefaultType text/plain
    363.  
    364. #
    365. # The mod_mime_magic module allows the server to use various hints from the
    366. # contents of the file itself to determine its type.  The MIMEMagicFile
    367. # directive tells the module where the hint definitions are located.
    368. #
    369. <IfModule mod_mime_magic.c>
    370.     MIMEMagicFile conf/magic
    371. </IfModule>
    372.  
    373. #
    374. # HostnameLookups: Log the names of clients or just their IP addresses
    375. # e.g., www.apache.org (on) or 204.62.129.132 (off).
    376. # The default is off because it'd be overall better for the net if people
    377. # had to knowingly turn this feature on, since enabling it means that
    378. # each client request will result in AT LEAST one lookup request to the
    379. # nameserver.
    380. #
    381. HostnameLookups Off
    382.  
    383. #
    384. # EnableMMAP: Control whether memory-mapping is used to deliver
    385. # files (assuming that the underlying OS supports it).
    386. # The default is on; turn this off if you serve from NFS-mounted
    387. # filesystems.  On some systems, turning it off (regardless of
    388. # filesystem) can improve performance; for details, please see
    389. # http://httpd.apache.org/docs-2.0/mod/core.html#enablemmap
    390. #
    391. #EnableMMAP off
    392.  
    393. #
    394. # EnableSendfile: Control whether the sendfile kernel support is
    395. # used  to deliver files (assuming that the OS supports it).
    396. # The default is on; turn this off if you serve from NFS-mounted
    397. # filesystems.  Please see
    398. # http://httpd.apache.org/docs-2.0/mod/core.html#enablesendfile
    399. #
    400. #EnableSendfile off
    401.  
    402. #
    403. # ErrorLog: The location of the error log file.
    404. # If you do not specify an ErrorLog directive within a <VirtualHost>
    405. # container, error messages relating to that virtual host will be
    406. # logged here.  If you *do* define an error logfile for a <VirtualHost>
    407. # container, that host's errors will be logged there and not here.
    408. #
    409. ErrorLog logs/error.log
    410.  
    411. #
    412. # LogLevel: Control the number of messages logged to the error.log.
    413. # Possible values include: debug, info, notice, warn, error, crit,
    414. # alert, emerg.
    415. #
    416. LogLevel warn
    417.  
    418. #
    419. # The following directives define some format nicknames for use with
    420. # a CustomLog directive (see below).
    421. #
    422. LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    423. LogFormat "%h %l %u %t \"%r\" %>s %b" common
    424. LogFormat "%{Referer}i -> %U" referer
    425. LogFormat "%{User-agent}i" agent
    426.  
    427. # You need to enable mod_logio.c to use %I and %O
    428. #LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    429.  
    430. #
    431. # The location and format of the access logfile (Common Logfile Format).
    432. # If you do not define any access logfiles within a <VirtualHost>
    433. # container, they will be logged here.  Contrariwise, if you *do*
    434. # define per-<VirtualHost> access logfiles, transactions will be
    435. # logged therein and *not* in this file.
    436. #
    437. CustomLog logs/access.log common
    438.  
    439. #
    440. # If you would like to have agent and referer logfiles, uncomment the
    441. # following directives.
    442. #
    443. #CustomLog logs/referer.log referer
    444. #CustomLog logs/agent.log agent
    445.  
    446. #
    447. # If you prefer a single logfile with access, agent, and referer information
    448. # (Combined Logfile Format) you can use the following directive.
    449. #
    450. #CustomLog logs/access.log combined
    451.  
    452. #
    453. # ServerTokens
    454. # This directive configures what you return as the Server HTTP response
    455. # Header. The default is 'Full' which sends information about the OS-Type
    456. # and compiled in modules.
    457. # Set to one of:  Full | OS | Minor | Minimal | Major | Prod
    458. # where Full conveys the most information, and Prod the least.
    459. #
    460. ServerTokens Full
    461.  
    462. #
    463. # Optionally add a line containing the server version and virtual host
    464. # name to server-generated pages (internal error documents, FTP directory
    465. # listings, mod_status and mod_info output etc., but not CGI generated
    466. # documents or custom error documents).
    467. # Set to "EMail" to also include a mailto: link to the ServerAdmin.
    468. # Set to one of:  On | Off | EMail
    469. #
    470. ServerSignature On
    471.  
    472. #
    473. # Aliases: Add here as many aliases as you need (with no limit). The format is
    474. # Alias fakename realname
    475. #
    476. # Note that if you include a trailing / on fakename then the server will
    477. # require it to be present in the URL.  So "/icons" isn't aliased in this
    478. # example, only "/icons/".  If the fakename is slash-terminated, then the
    479. # realname must also be slash terminated, and if the fakename omits the
    480. # trailing slash, the realname must also omit it.
    481. #
    482. # We include the /icons/ alias for FancyIndexed directory listings.  If you
    483. # do not use FancyIndexing, you may comment this out.
    484. #
    485. Alias /icons/ "C:/Server.shkol/Apache2/icons/"
    486.  
    487. <Directory "C:/Server.shkol/Apache2/icons">
    488.     Options Indexes MultiViews
    489.     AllowOverride None
    490.     Order allow,deny
    491.     Allow from all
    492. </Directory>
    493.  
    494. #
    495. # This should be changed to the ServerRoot/manual/.  The alias provides
    496. # the manual, even if you choose to move your DocumentRoot.  You may comment
    497. # this out if you do not care for the documentation.
    498. #
    499. AliasMatch ^/manual(?:/(?:de|en|fr|ja|ko|ru))?(/.*)?$ "C:/Server.shkol/Apache2/manual$1"
    500.  
    501. <Directory "C:/Server.shkol/Apache2/manual">
    502.     Options Indexes
    503.     AllowOverride None
    504.     Order allow,deny
    505.     Allow from all
    506.  
    507.     <Files *.html>
    508.         SetHandler type-map
    509.     </Files>
    510.  
    511.     SetEnvIf Request_URI ^/manual/de/ prefer-language=de
    512.     SetEnvIf Request_URI ^/manual/en/ prefer-language=en
    513.     SetEnvIf Request_URI ^/manual/fr/ prefer-language=fr
    514.     SetEnvIf Request_URI ^/manual/ja/ prefer-language=ja
    515.     SetEnvIf Request_URI ^/manual/ko/ prefer-language=ko
    516.     SetEnvIf Request_URI ^/manual/ru/ prefer-language=ru
    517.     RedirectMatch 301 ^/manual(?:/(de|en|fr|ja|ko|ru)){2,}(/.*)?$ /manual/$1$2
    518. </Directory>
    519.  
    520. #
    521. # ScriptAlias: This controls which directories contain server scripts.
    522. # ScriptAliases are essentially the same as Aliases, except that
    523. # documents in the realname directory are treated as applications and
    524. # run by the server when requested rather than as documents sent to the client.
    525. # The same rules about trailing "/" apply to ScriptAlias directives as to
    526. # Alias.
    527. #
    528. ScriptAlias /cgi-bin/ "C:/Server.shkol/Apache2/cgi-bin/"
    529.  
    530. #
    531. # "C:/Server.shkol/Apache2/cgi-bin" should be changed to whatever your ScriptAliased
    532. # CGI directory exists, if you have that configured.
    533. #
    534. <Directory "C:/Server.shkol/Apache2/cgi-bin">
    535.     AllowOverride None
    536.     Options None
    537.     Order allow,deny
    538.     Allow from all
    539. </Directory>
    540.  
    541. #
    542. # Redirect allows you to tell clients about documents which used to exist in
    543. # your server's namespace, but do not anymore. This allows you to tell the
    544. # clients where to look for the relocated document.
    545. # Example:
    546. # Redirect permanent /foo http://www.example.com/bar
    547.  
    548. #
    549. # Directives controlling the display of server-generated directory listings.
    550. #
    551.  
    552. #
    553. # IndexOptions: Controls the appearance of server-generated directory
    554. # listings.
    555. #
    556. IndexOptions FancyIndexing VersionSort
    557.  
    558. #
    559. # AddIcon* directives tell the server which icon to show for different
    560. # files or filename extensions.  These are only displayed for
    561. # FancyIndexed directories.
    562. #
    563. AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
    564.  
    565. AddIconByType (TXT,/icons/text.gif) text/*
    566. AddIconByType (IMG,/icons/image2.gif) image/*
    567. AddIconByType (SND,/icons/sound2.gif) audio/*
    568. AddIconByType (VID,/icons/movie.gif) video/*
    569.  
    570. AddIcon /icons/binary.gif .bin .exe
    571. AddIcon /icons/binhex.gif .hqx
    572. AddIcon /icons/tar.gif .tar
    573. AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
    574. AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
    575. AddIcon /icons/a.gif .ps .ai .eps
    576. AddIcon /icons/layout.gif .html .shtml .htm .pdf
    577. AddIcon /icons/text.gif .txt
    578. AddIcon /icons/c.gif .c
    579. AddIcon /icons/p.gif .pl .py
    580. AddIcon /icons/f.gif .for
    581. AddIcon /icons/dvi.gif .dvi
    582. AddIcon /icons/uuencoded.gif .uu
    583. AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
    584. AddIcon /icons/tex.gif .tex
    585. AddIcon /icons/bomb.gif core
    586.  
    587. AddIcon /icons/back.gif ..
    588. AddIcon /icons/hand.right.gif README
    589. AddIcon /icons/folder.gif ^^DIRECTORY^^
    590. AddIcon /icons/blank.gif ^^BLANKICON^^
    591.  
    592. #
    593. # DefaultIcon is which icon to show for files which do not have an icon
    594. # explicitly set.
    595. #
    596. DefaultIcon /icons/unknown.gif
    597.  
    598. #
    599. # AddDescription allows you to place a short description after a file in
    600. # server-generated indexes.  These are only displayed for FancyIndexed
    601. # directories.
    602. # Format: AddDescription "description" filename
    603. #
    604. #AddDescription "GZIP compressed document" .gz
    605. #AddDescription "tar archive" .tar
    606. #AddDescription "GZIP compressed tar archive" .tgz
    607.  
    608. #
    609. # ReadmeName is the name of the README file the server will look for by
    610. # default, and append to directory listings.
    611. #
    612. # HeaderName is the name of a file which should be prepended to
    613. # directory indexes.
    614. ReadmeName README.html
    615. HeaderName HEADER.html
    616.  
    617. #
    618. # IndexIgnore is a set of filenames which directory indexing should ignore
    619. # and not include in the listing.  Shell-style wildcarding is permitted.
    620. #
    621. IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
    622.  
    623. #
    624. # DefaultLanguage and AddLanguage allows you to specify the language of
    625. # a document. You can then use content negotiation to give a browser a
    626. # file in a language the user can understand.
    627. #
    628. # Specify a default language. This means that all data
    629. # going out without a specific language tag (see below) will
    630. # be marked with this one. You probably do NOT want to set
    631. # this unless you are sure it is correct for all cases.
    632. #
    633. # * It is generally better to not mark a page as
    634. # * being a certain language than marking it with the wrong
    635. # * language!
    636. #
    637. # DefaultLanguage nl
    638. #
    639. # Note 1: The suffix does not have to be the same as the language
    640. # keyword --- those with documents in Polish (whose net-standard
    641. # language code is pl) may wish to use "AddLanguage pl .po" to
    642. # avoid the ambiguity with the common suffix for perl scripts.
    643. #
    644. # Note 2: The example entries below illustrate that in some cases
    645. # the two character 'Language' abbreviation is not identical to
    646. # the two character 'Country' code for its country,
    647. # E.g. 'Danmark/dk' versus 'Danish/da'.
    648. #
    649. # Note 3: In the case of 'ltz' we violate the RFC by using a three char
    650. # specifier. There is 'work in progress' to fix this and get
    651. # the reference data for rfc1766 cleaned up.
    652. #
    653. # Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
    654. # English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
    655. # Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
    656. # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
    657. # Norwegian (no) - Polish (pl) - Portugese (pt)
    658. # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
    659. # Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
    660. #
    661. AddLanguage ca .ca
    662. AddLanguage cs .cz .cs
    663. AddLanguage da .dk
    664. AddLanguage de .de
    665. AddLanguage el .el
    666. AddLanguage en .en
    667. AddLanguage eo .eo
    668. AddLanguage es .es
    669. AddLanguage et .et
    670. AddLanguage fr .fr
    671. AddLanguage he .he
    672. AddLanguage hr .hr
    673. AddLanguage it .it
    674. AddLanguage ja .ja
    675. AddLanguage ko .ko
    676. AddLanguage ltz .ltz
    677. AddLanguage nl .nl
    678. AddLanguage nn .nn
    679. AddLanguage no .no
    680. AddLanguage pl .po
    681. AddLanguage pt .pt
    682. AddLanguage pt-BR .pt-br
    683. AddLanguage ru .ru
    684. AddLanguage sv .sv
    685. AddLanguage zh-CN .zh-cn
    686. AddLanguage zh-TW .zh-tw
    687.  
    688. #
    689. # LanguagePriority allows you to give precedence to some languages
    690. # in case of a tie during content negotiation.
    691. #
    692. # Just list the languages in decreasing order of preference. We have
    693. # more or less alphabetized them here. You probably want to change this.
    694. #
    695. LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
    696.  
    697. #
    698. # ForceLanguagePriority allows you to serve a result page rather than
    699. # MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
    700. # [in case no accepted languages matched the available variants]
    701. #
    702. ForceLanguagePriority Prefer Fallback
    703.  
    704. #
    705. # Specify a default charset for all pages sent out. This is
    706. # always a good idea and opens the door for future internationalisation
    707. # of your web site, should you ever want it. Specifying it as
    708. # a default does little harm; as the standard dictates that a page
    709. # is in iso-8859-1 (latin1) unless specified otherwise i.e. you
    710. # are merely stating the obvious. There are also some security
    711. # reasons in browsers, related to javascript and URL parsing
    712. # which encourage you to always set a default char set.
    713. #
    714. AddDefaultCharset ISO-8859-1
    715.  
    716. #
    717. # Commonly used filename extensions to character sets. You probably
    718. # want to avoid clashes with the language extensions, unless you
    719. # are good at carefully testing your setup after each change.
    720. # See http://www.iana.org/assignments/character-sets for the
    721. # official list of charset names and their respective RFCs.
    722. #
    723. AddCharset ISO-8859-1  .iso8859-1 .latin1
    724. AddCharset ISO-8859-2  .iso8859-2 .latin2 .cen
    725. AddCharset ISO-8859-3  .iso8859-3 .latin3
    726. AddCharset ISO-8859-4  .iso8859-4 .latin4
    727. AddCharset ISO-8859-5  .iso8859-5 .latin5 .cyr .iso-ru
    728. AddCharset ISO-8859-6  .iso8859-6 .latin6 .arb
    729. AddCharset ISO-8859-7  .iso8859-7 .latin7 .grk
    730. AddCharset ISO-8859-8  .iso8859-8 .latin8 .heb
    731. AddCharset ISO-8859-9  .iso8859-9 .latin9 .trk
    732. AddCharset ISO-2022-JP .iso2022-jp .jis
    733. AddCharset ISO-2022-KR .iso2022-kr .kis
    734. AddCharset ISO-2022-CN .iso2022-cn .cis
    735. AddCharset Big5        .Big5       .big5
    736. # For russian, more than one charset is used (depends on client, mostly):
    737. AddCharset WINDOWS-1251 .cp-1251   .win-1251
    738. AddCharset CP866       .cp866
    739. AddCharset KOI8-r      .koi8-r .koi8-ru
    740. AddCharset KOI8-ru     .koi8-uk .ua
    741. AddCharset ISO-10646-UCS-2 .ucs2
    742. AddCharset ISO-10646-UCS-4 .ucs4
    743. AddCharset UTF-8       .utf8
    744.  
    745. # The set below does not map to a specific (iso) standard
    746. # but works on a fairly wide range of browsers. Note that
    747. # capitalization actually matters (it should not, but it
    748. # does for some browsers).
    749. #
    750. # See http://www.iana.org/assignments/character-sets
    751. # for a list of sorts. But browsers support few.
    752. #
    753. AddCharset GB2312      .gb2312 .gb
    754. AddCharset utf-7       .utf7
    755. AddCharset utf-8       .utf8
    756. AddCharset big5        .big5 .b5
    757. AddCharset EUC-TW      .euc-tw
    758. AddCharset EUC-JP      .euc-jp
    759. AddCharset EUC-KR      .euc-kr
    760. AddCharset shift_jis   .sjis
    761.  
    762. #
    763. # AddType allows you to add to or override the MIME configuration
    764. # file mime.types for specific file types.
    765. #
    766. #AddType application/x-tar .tgz
    767. #
    768. # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
    769. # information on the fly. Note: Not all browsers support this.
    770. # Despite the name similarity, the following Add* directives have nothing
    771. # to do with the FancyIndexing customization directives above.
    772. #
    773. #AddEncoding x-compress .Z
    774. #AddEncoding x-gzip .gz .tgz
    775. #
    776. # If the AddEncoding directives above are commented-out, then you
    777. # probably should define those extensions to indicate media types:
    778. #
    779. AddType application/x-compress .Z
    780. AddType application/x-gzip .gz .tgz
    781.  
    782. #
    783. # AddHandler allows you to map certain file extensions to "handlers":
    784. # actions unrelated to filetype. These can be either built into the server
    785. # or added with the Action directive (see below)
    786. #
    787. # To use CGI scripts outside of ScriptAliased directories:
    788. # (You will also need to add "ExecCGI" to the "Options" directive.)
    789. #
    790. #AddHandler cgi-script .cgi
    791.  
    792. #
    793. # For files that include their own HTTP headers:
    794. #
    795. #AddHandler send-as-is asis
    796.  
    797. #
    798. # For server-parsed imagemap files:
    799. #
    800. #AddHandler imap-file map
    801.  
    802. #
    803. # For type maps (negotiated resources):
    804. # (This is enabled by default to allow the Apache "It Worked" page
    805. #  to be distributed in multiple languages.)
    806. #
    807. AddHandler type-map var
    808.  
    809. #
    810. # Filters allow you to process content before it is sent to the client.
    811. #
    812. # To parse .shtml files for server-side includes (SSI):
    813. # (You will also need to add "Includes" to the "Options" directive.)
    814. #
    815. #AddType text/html .shtml
    816. #AddOutputFilter INCLUDES .shtml
    817.  
    818. #
    819. # Action lets you define media types that will execute a script whenever
    820. # a matching file is called. This eliminates the need for repeated URL
    821. # pathnames for oft-used CGI file processors.
    822. # Format: Action media/type /cgi-script/location
    823. # Format: Action handler-name /cgi-script/location
    824. #
    825.  
    826. #
    827. # Customizable error responses come in three flavors:
    828. # 1) plain text 2) local redirects 3) external redirects
    829. #
    830. # Some examples:
    831. #ErrorDocument 500 "The server made a boo boo."
    832. #ErrorDocument 404 /missing.html
    833. #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    834. #ErrorDocument 402 http://www.example.com/subscription_info.html
    835. #
    836.  
    837. #
    838. # Putting this all together, we can internationalize error responses.
    839. #
    840. # We use Alias to redirect any /error/HTTP_<error>.html.var response to
    841. # our collection of by-error message multi-language collections.  We use
    842. # includes to substitute the appropriate text.
    843. #
    844. # You can modify the messages' appearance without changing any of the
    845. # default HTTP_<error>.html.var files by adding the line:
    846. #
    847. #   Alias /error/include/ "/your/include/path/"
    848. #
    849. # which allows you to create your own set of files by starting with the
    850. # @exp_errordir@/include/ files and copying them to /your/include/path/,
    851. # even on a per-VirtualHost basis.  The default include files will display
    852. # your Apache version number and your ServerAdmin email address regardless
    853. # of the setting of ServerSignature.
    854. #
    855. # The internationalized error documents require mod_alias, mod_include
    856. # and mod_negotiation.  To activate them, uncomment the following 30 lines.
    857.  
    858. #    Alias /error/ "@exp_errordir@/"
    859. #
    860. #    <Directory "@exp_errordir@">
    861. #        AllowOverride None
    862. #        Options IncludesNoExec
    863. #        AddOutputFilter Includes html
    864. #        AddHandler type-map var
    865. #        Order allow,deny
    866. #        Allow from all
    867. #        LanguagePriority en cs de es fr it nl sv pt-br ro
    868. #        ForceLanguagePriority Prefer Fallback
    869. #    </Directory>
    870. #
    871. #    ErrorDocument 400 /error/HTTP_BAD_REQUEST.html.var
    872. #    ErrorDocument 401 /error/HTTP_UNAUTHORIZED.html.var
    873. #    ErrorDocument 403 /error/HTTP_FORBIDDEN.html.var
    874. #    ErrorDocument 404 /error/HTTP_NOT_FOUND.html.var
    875. #    ErrorDocument 405 /error/HTTP_METHOD_NOT_ALLOWED.html.var
    876. #    ErrorDocument 408 /error/HTTP_REQUEST_TIME_OUT.html.var
    877. #    ErrorDocument 410 /error/HTTP_GONE.html.var
    878. #    ErrorDocument 411 /error/HTTP_LENGTH_REQUIRED.html.var
    879. #    ErrorDocument 412 /error/HTTP_PRECONDITION_FAILED.html.var
    880. #    ErrorDocument 413 /error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
    881. #    ErrorDocument 414 /error/HTTP_REQUEST_URI_TOO_LARGE.html.var
    882. #    ErrorDocument 415 /error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
    883. #    ErrorDocument 500 /error/HTTP_INTERNAL_SERVER_ERROR.html.var
    884. #    ErrorDocument 501 /error/HTTP_NOT_IMPLEMENTED.html.var
    885. #    ErrorDocument 502 /error/HTTP_BAD_GATEWAY.html.var
    886. #    ErrorDocument 503 /error/HTTP_SERVICE_UNAVAILABLE.html.var
    887. #    ErrorDocument 506 /error/HTTP_VARIANT_ALSO_VARIES.html.var
    888.  
    889.  
    890.  
    891. #
    892. # The following directives modify normal HTTP response behavior to
    893. # handle known problems with browser implementations.
    894. #
    895. BrowserMatch "Mozilla/2" nokeepalive
    896. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
    897. BrowserMatch "RealPlayer 4\.0" force-response-1.0
    898. BrowserMatch "Java/1\.0" force-response-1.0
    899. BrowserMatch "JDK/1\.0" force-response-1.0
    900.  
    901. #
    902. # The following directive disables redirects on non-GET requests for
    903. # a directory that does not include the trailing slash.  This fixes a
    904. # problem with Microsoft WebFolders which does not appropriately handle
    905. # redirects for folders with DAV methods.
    906. # Same deal with Apple's DAV filesystem and Gnome VFS support for DAV.
    907. #
    908. BrowserMatch "Microsoft Data Access Internet Publishing Provider" redirect-carefully
    909. BrowserMatch "^WebDrive" redirect-carefully
    910. BrowserMatch "^WebDAVFS/1.[012]" redirect-carefully
    911. BrowserMatch "^gnome-vfs" redirect-carefully
    912.  
    913. #
    914. # Allow server status reports generated by mod_status,
    915. # with the URL of http://servername/server-status
    916. # Change the ".localhost" to match your domain to enable.
    917. #
    918. #<Location /server-status>
    919. #    SetHandler server-status
    920. #    Order deny,allow
    921. #    Deny from all
    922. #    Allow from .localhost
    923. #</Location>
    924.  
    925. #
    926. # Allow remote server configuration reports, with the URL of
    927. #  http://servername/server-info (requires that mod_info.c be loaded).
    928. # Change the ".localhost" to match your domain to enable.
    929. #
    930. #<Location /server-info>
    931. #    SetHandler server-info
    932. #    Order deny,allow
    933. #    Deny from all
    934. #    Allow from .localhost
    935. #</Location>
    936.  
    937.  
    938. #
    939. # Bring in additional module-specific configurations
    940. #
    941. <IfModule mod_ssl.c>
    942.     Include conf/ssl.conf
    943. </IfModule>
    944.  
    945.  
    946. ### Section 3: Virtual Hosts
    947. #
    948. # VirtualHost: If you want to maintain multiple domains/hostnames on your
    949. # machine you can setup VirtualHost containers for them. Most configurations
    950. # use only name-based virtual hosts so the server doesn't need to worry about
    951. # IP addresses. This is indicated by the asterisks in the directives below.
    952. #
    953. # Please see the documentation at
    954. # <URL:http://httpd.apache.org/docs-2.0/vhosts/>
    955. # for further details before you try to setup virtual hosts.
    956. #
    957. # You may use the command line option '-S' to verify your virtual host
    958. # configuration.
    959.  
    960. #
    961. # Use name-based virtual hosting.
    962. #
    963. #NameVirtualHost *:80
    964.  
    965. #
    966. # VirtualHost example:
    967. # Almost any Apache directive may go into a VirtualHost container.
    968. # The first VirtualHost section is used for requests without a known
    969. # server name.
    970. #
    971. #<VirtualHost *:80>
    972. #    ServerAdmin webmaster@dummy-host.example.com
    973. #    DocumentRoot /www/docs/dummy-host.example.com
    974. #    ServerName dummy-host.example.com
    975. #    ErrorLog logs/dummy-host.example.com-error_log
    976. #    CustomLog logs/dummy-host.example.com-access_log common
    977. #</VirtualHost>
    978.  
    979. <IfModule alias_module>
    980. Alias /pma "C:/Server.shkol/Apache2/htdocs/phpMyAdmin"
    981. </IfModule>
    файд php.ini:
    PHP:
    1.  
    2.  
    3. [php]
    4.  
    5. ;;;;;;;;;;;;;;;;;;;
    6. ; About php.ini   ;
    7. ;;;;;;;;;;;;;;;;;;;
    8. ; This file controls many aspects of PHP's behavior.  In order for PHP to
    9. ; read it, it must be named 'php.ini'.  PHP looks for it in the current
    10. ; working directory, in the path designated by the environment variable
    11. ; PHPRC, and in the path that was defined in compile time (in that order).
    12. ; Under Windows, the compile-time path is the Windows directory.  The
    13. ; path in which the php.ini file is looked for can be overridden using
    14. ; the -c argument in command line mode.
    15. ;
    16. ; The syntax of the file is extremely simple.  Whitespace and Lines
    17. ; beginning with a semicolon are silently ignored (as you probably guessed).
    18. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    19. ; they might mean something in the future.
    20. ;
    21. ; Directives are specified using the following syntax:
    22. ; directive = value
    23. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    24. ;
    25. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    26. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    27. ; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
    28. ;
    29. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    30. ; |        bitwise OR
    31. ; &        bitwise AND
    32. ; ~        bitwise NOT
    33. ; !        boolean NOT
    34. ;
    35. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    36. ; They can be turned off using the values 0, Off, False or No.
    37. ;
    38. ; An empty string can be denoted by simply not writing anything after the equal
    39. ; sign, or by using the None keyword:
    40. ;
    41. ;  foo =         ; sets foo to an empty string
    42. ;  foo = none    ; sets foo to an empty string
    43. ;  foo = "none"  ; sets foo to the string 'none'
    44. ;
    45. ; If you use constants in your value, and these constants belong to a
    46. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    47. ; you may only use these constants *after* the line that loads the extension.
    48. ;
    49. ;
    50. ;;;;;;;;;;;;;;;;;;;
    51. ; About this file ;
    52. ;;;;;;;;;;;;;;;;;;;
    53. ; This is the recommended, PHP 5-style version of the php.ini-dist file.  It
    54. ; sets some non standard settings, that make PHP more efficient, more secure,
    55. ; and encourage cleaner coding.
    56. ;
    57. ; The price is that with these settings, PHP may be incompatible with some
    58. ; applications, and sometimes, more difficult to develop with.  Using this
    59. ; file is warmly recommended for production sites.  As all of the changes from
    60. ; the standard settings are thoroughly documented, you can go over each one,
    61. ; and decide whether you want to use it or not.
    62. ;
    63. ; For general information about the php.ini file, please consult the php.ini-dist
    64. ; file, included in your PHP distribution.
    65. ;
    66. ; This file is different from the php.ini-dist file in the fact that it features
    67. ; different values for several directives, in order to improve performance, while
    68. ; possibly breaking compatibility with the standard out-of-the-box behavior of
    69. ; PHP.  Please make sure you read what's different, and modify your scripts
    70. ; accordingly, if you decide to use this file instead.
    71. ;
    72. ; - register_long_arrays = Off     [Performance]
    73. ;     Disables registration of the older (and deprecated) long predefined array
    74. ;     variables ($HTTP_*_VARS).  Instead, use the superglobals that were
    75. ;     introduced in PHP 4.1.0
    76. ; - display_errors = Off           [Security]
    77. ;     With this directive set to off, errors that occur during the execution of
    78. ;     scripts will no longer be displayed as a part of the script output, and thus,
    79. ;     will no longer be exposed to remote users.  With some errors, the error message
    80. ;     content may expose information about your script, web server, or database
    81. ;     server that may be exploitable for hacking.  Production sites should have this
    82. ;     directive set to off.
    83. ; - log_errors = On                [Security]
    84. ;     This directive complements the above one.  Any errors that occur during the
    85. ;     execution of your script will be logged (typically, to your server's error log,
    86. ;     but can be configured in several ways).  Along with setting display_errors to off,
    87. ;     this setup gives you the ability to fully understand what may have gone wrong,
    88. ;     without exposing any sensitive information to remote users.
    89. ; - output_buffering = 4096        [Performance]
    90. ;     Set a 4KB output buffer.  Enabling output buffering typically results in less
    91. ;     writes, and sometimes less packets sent on the wire, which can often lead to
    92. ;     better performance.  The gain this directive actually yields greatly depends
    93. ;     on which Web server you're working with, and what kind of scripts you're using.
    94. ; - register_argc_argv = Off       [Performance]
    95. ;     Disables registration of the somewhat redundant $argv and $argc global
    96. ;     variables.
    97. ; - magic_quotes_gpc = Off         [Performance]
    98. ;     Input data is no longer escaped with slashes so that it can be sent into
    99. ;     SQL databases without further manipulation.  Instead, you should use the
    100. ;     database vendor specific escape string function on each input element you
    101. ;     wish to send to a database.
    102. ; - variables_order = "GPCS"       [Performance]
    103. ;     The environment variables are not hashed into the $_ENV.  To access
    104. ;     environment variables, you can use getenv() instead.
    105. ; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
    106. ;     By default, PHP suppresses errors of type E_NOTICE.  These error messages
    107. ;     are emitted for non-critical errors, but that could be a symptom of a bigger
    108. ;     problem.  Most notably, this will cause error messages about the use
    109. ;     of uninitialized variables to be displayed.
    110. ; - allow_call_time_pass_reference = Off     [Code cleanliness]
    111. ;     It's not possible to decide to force a variable to be passed by reference
    112. ;     when calling a function.  The PHP 4 style to do this is by making the
    113. ;     function require the relevant argument by reference.
    114. ; - short_open_tag = Off           [Portability]
    115. ;     Using short tags is discouraged when developing code meant for redistribution
    116. ;     since short tags may not be supported on the target server.
    117.  
    118. ;;;;;;;;;;;;;;;;;;;;
    119. ; Language Options ;
    120. ;;;;;;;;;;;;;;;;;;;;
    121.  
    122. ; Enable the PHP scripting language engine under Apache.
    123. engine = On
    124.  
    125. ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
    126. zend.ze1_compatibility_mode = Off
    127.  
    128. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
    129. ; NOTE: Using short tags should be avoided when developing applications or
    130. ; libraries that are meant for redistribution, or deployment on PHP
    131. ; servers which are not under your control, because short tags may not
    132. ; be supported on the target server. For portable, redistributable code,
    133. ; be sure not to use short tags.
    134. short_open_tag = Off
    135.  
    136. ; Allow ASP-style <% %> tags.
    137. asp_tags = Off
    138.  
    139. ; The number of significant digits displayed in floating point numbers.
    140. precision    =  14
    141.  
    142. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
    143. y2k_compliance = On
    144.  
    145. ; Output buffering allows you to send header lines (including cookies) even
    146. ; after you send body content, at the price of slowing PHP's output layer a
    147. ; bit.  You can enable output buffering during runtime by calling the output
    148. ; buffering functions.  You can also enable output buffering for all files by
    149. ; setting this directive to On.  If you wish to limit the size of the buffer
    150. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
    151. ; a value for this directive (e.g., output_buffering=4096).
    152. output_buffering = 4096
    153.  
    154. ; You can redirect all of the output of your scripts to a function.  For
    155. ; example, if you set output_handler to "mb_output_handler", character
    156. ; encoding will be transparently converted to the specified encoding.
    157. ; Setting any output handler automatically turns on output buffering.
    158. ; Note: People who wrote portable scripts should not depend on this ini
    159. ;       directive. Instead, explicitly set the output handler using ob_start().
    160. ;       Using this ini directive may cause problems unless you know what script
    161. ;       is doing.
    162. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    163. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    164. ; Note: output_handler must be empty if this is set 'On' !!!!
    165. ;       Instead you must use zlib.output_handler.
    166. ;output_handler =
    167.  
    168. ; Transparent output compression using the zlib library
    169. ; Valid values for this option are 'off', 'on', or a specific buffer size
    170. ; to be used for compression (default is 4KB)
    171. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    172. ;       outputs chunks that are few hundreds bytes each as a result of
    173. ;       compression. If you prefer a larger chunk size for better
    174. ;       performance, enable output_buffering in addition.
    175. ; Note: You need to use zlib.output_handler instead of the standard
    176. ;       output_handler, or otherwise the output will be corrupted.
    177. zlib.output_compression = Off
    178. ;zlib.output_compression_level = -1
    179.  
    180. ; You cannot specify additional output handlers if zlib.output_compression
    181. ; is activated here. This setting does the same as output_handler but in
    182. ; a different order.
    183. ;zlib.output_handler =
    184.  
    185. ; Implicit flush tells PHP to tell the output layer to flush itself
    186. ; automatically after every output block.  This is equivalent to calling the
    187. ; PHP function flush() after each and every call to print() or echo() and each
    188. ; and every HTML block.  Turning this option on has serious performance
    189. ; implications and is generally recommended for debugging purposes only.
    190. implicit_flush = Off
    191.  
    192. ; The unserialize callback function will be called (with the undefined class'
    193. ; name as parameter), if the unserializer finds an undefined class
    194. ; which should be instantiated.
    195. ; A warning appears if the specified function is not defined, or if the
    196. ; function doesn't include/implement the missing class.
    197. ; So only set this entry, if you really want to implement such a
    198. ; callback-function.
    199. unserialize_callback_func=
    200.  
    201. ; When floats & doubles are serialized store serialize_precision significant
    202. ; digits after the floating point. The default value ensures that when floats
    203. ; are decoded with unserialize, the data will remain the same.
    204. serialize_precision = 100
    205.  
    206. ; Whether to enable the ability to force arguments to be passed by reference
    207. ; at function call time.  This method is deprecated and is likely to be
    208. ; unsupported in future versions of PHP/Zend.  The encouraged method of
    209. ; specifying which arguments should be passed by reference is in the function
    210. ; declaration.  You're encouraged to try and turn this option Off and make
    211. ; sure your scripts work properly with it in order to ensure they will work
    212. ; with future versions of the language (you will receive a warning each time
    213. ; you use this feature, and the argument will be passed by value instead of by
    214. ; reference).
    215. allow_call_time_pass_reference = Off
    216.  
    217. ;
    218. ; Safe Mode
    219. ;
    220. safe_mode = Off
    221.  
    222. ; By default, Safe Mode does a UID compare check when
    223. ; opening files. If you want to relax this to a GID compare,
    224. ; then turn on safe_mode_gid.
    225. safe_mode_gid = Off
    226.  
    227. ; When safe_mode is on, UID/GID checks are bypassed when
    228. ; including files from this directory and its subdirectories.
    229. ; (directory must also be in include_path or full path must
    230. ; be used when including)
    231. safe_mode_include_dir =
    232.  
    233. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
    234. ; will be allowed to be executed via the exec family of functions.
    235. safe_mode_exec_dir =
    236.  
    237. ; Setting certain environment variables may be a potential security breach.
    238. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
    239. ; the user may only alter environment variables whose names begin with the
    240. ; prefixes supplied here.  By default, users will only be able to set
    241. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
    242. ;
    243. ; Note:  If this directive is empty, PHP will let the user modify ANY
    244. ; environment variable!
    245. safe_mode_allowed_env_vars = PHP_
    246.  
    247. ; This directive contains a comma-delimited list of environment variables that
    248. ; the end user won't be able to change using putenv().  These variables will be
    249. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
    250. safe_mode_protected_env_vars = LD_LIBRARY_PATH
    251.  
    252. ; open_basedir, if set, limits all file operations to the defined directory
    253. ; and below.  This directive makes most sense if used in a per-directory
    254. ; or per-virtualhost web server configuration file. This directive is
    255. ; *NOT* affected by whether Safe Mode is turned On or Off.
    256. ;open_basedir =
    257.  
    258. ; This directive allows you to disable certain functions for security reasons.
    259. ; It receives a comma-delimited list of function names. This directive is
    260. ; *NOT* affected by whether Safe Mode is turned On or Off.
    261. disable_functions =
    262.  
    263. ; This directive allows you to disable certain classes for security reasons.
    264. ; It receives a comma-delimited list of class names. This directive is
    265. ; *NOT* affected by whether Safe Mode is turned On or Off.
    266. disable_classes =
    267.  
    268. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    269. ; <span style="color: ???????"> would work.
    270. ;highlight.string  = #DD0000
    271. ;highlight.comment = #FF9900
    272. ;highlight.keyword = #007700
    273. ;highlight.bg      = #FFFFFF
    274. ;highlight.default = #0000BB
    275. ;highlight.html    = #000000
    276.  
    277. ; If enabled, the request will be allowed to complete even if the user aborts
    278. ; the request. Consider enabling it if executing long request, which may end up
    279. ; being interrupted by the user or a browser timing out.
    280.  
    281. ; Determines the size of the realpath cache to be used by PHP. This value should
    282. ; be increased on systems where PHP opens many files to reflect the quantity of
    283. ; the file operations performed.
    284. ; realpath_cache_size=16k
    285.  
    286. ; Duration of time, in seconds for which to cache realpath information for a given
    287. ; file or directory. For systems with rarely changing files, consider increasing this
    288. ; value.
    289. ; realpath_cache_ttl=120
    290.  
    291. ;
    292. ; Misc
    293. ;
    294. ; Decides whether PHP may expose the fact that it is installed on the server
    295. ; (e.g. by adding its signature to the Web server header).  It is no security
    296. ; threat in any way, but it makes it possible to determine whether you use PHP
    297. ; on your server or not.
    298. expose_php = On
    299.  
    300.  
    301. ;;;;;;;;;;;;;;;;;;;
    302. ; Resource Limits ;
    303. ;;;;;;;;;;;;;;;;;;;
    304.  
    305. max_execution_time = 30     ; Maximum execution time of each script, in seconds
    306. max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
    307. ;max_input_nesting_level = 64 ; Maximum input variable nesting level
    308. memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)
    309.  
    310.  
    311. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    312. ; Error handling and logging ;
    313. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    314.  
    315. ; error_reporting is a bit-field.  Or each number up to get desired error
    316. ; reporting level
    317. ; E_ALL             - All errors and warnings (doesn't include E_STRICT)
    318. ; E_ERROR           - fatal run-time errors
    319. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    320. ; E_WARNING         - run-time warnings (non-fatal errors)
    321. ; E_PARSE           - compile-time parse errors
    322. ; E_NOTICE          - run-time notices (these are warnings which often result
    323. ;                     from a bug in your code, but it's possible that it was
    324. ;                     intentional (e.g., using an uninitialized variable and
    325. ;                     relying on the fact it's automatically initialized to an
    326. ;                     empty string)
    327. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    328. ;                     to your code which will ensure the best interoperability
    329. ;                     and forward compatibility of your code
    330. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    331. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    332. ;                     initial startup
    333. ; E_COMPILE_ERROR   - fatal compile-time errors
    334. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    335. ; E_USER_ERROR      - user-generated error message
    336. ; E_USER_WARNING    - user-generated warning message
    337. ; E_USER_NOTICE     - user-generated notice message
    338. ;
    339. ; Examples:
    340. ;
    341. ;   - Show all errors, except for notices and coding standards warnings
    342. ;
    343. ;error_reporting = E_ALL & ~E_NOTICE
    344. ;
    345. ;   - Show all errors, except for notices
    346. ;
    347. ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
    348. ;
    349. ;   - Show only errors
    350. ;
    351. ;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
    352. ;
    353. ;   - Show all errors, except coding standards warnings
    354. ;
    355. error_reporting = E_ALL
    356.  
    357. ; Print out errors (as a part of the output).  For production web sites,
    358. ; you're strongly encouraged to turn this feature off, and use error logging
    359. ; instead (see below).  Keeping display_errors enabled on a production web site
    360. ; may reveal security information to end users, such as file paths on your Web
    361. ; server, your database schema or other information.
    362. ;
    363. ; possible values for display_errors:
    364. ;
    365. ; Off          - Do not display any errors
    366. ; stderr       - Display errors to STDERR (affects only CGI/CLI binaries!)  
    367. ; On or stdout - Display errors to STDOUT (default)
    368. ;  
    369. ; To output errors to STDERR with CGI/CLI:              
    370. ;display_errors = "stderr"
    371. ;
    372. ; Default
    373. ;
    374. display_errors = Off
    375.  
    376. ; Even when display_errors is on, errors that occur during PHP's startup
    377. ; sequence are not displayed.  It's strongly recommended to keep
    378. ; display_startup_errors off, except for when debugging.
    379. display_startup_errors = Off
    380.  
    381. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
    382. ; As stated above, you're strongly advised to use error logging in place of
    383. ; error displaying on production web sites.
    384. log_errors = On
    385.  
    386. ; Set maximum length of log_errors. In error_log information about the source is
    387. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    388. log_errors_max_len = 1024
    389.  
    390. ; Do not log repeated messages. Repeated errors must occur in same file on same
    391. ; line unless ignore_repeated_source is set true.
    392. ignore_repeated_errors = Off
    393.  
    394. ; Ignore source of message when ignoring repeated messages. When this setting
    395. ; is On you will not log errors with repeated messages from different files or
    396. ; source lines.
    397. ignore_repeated_source = Off
    398.  
    399. ; If this parameter is set to Off, then memory leaks will not be shown (on
    400. ; stdout or in the log). This has only effect in a debug compile, and if
    401. ; error reporting includes E_WARNING in the allowed list
    402. report_memleaks = On
    403.  
    404. ;report_zend_debug = 0
    405.  
    406. ; Store the last error/warning message in $php_errormsg (boolean).
    407. track_errors = Off
    408.  
    409. ; Turn off normal error reporting and emit XML-RPC error XML
    410. ;xmlrpc_errors = 0
    411. ; An XML-RPC faultCode
    412. ;xmlrpc_error_number = 0
    413.  
    414. ; Disable the inclusion of HTML tags in error messages.
    415. ; Note: Never use this feature for production boxes.
    416. ;html_errors = Off
    417.  
    418. ; If html_errors is set On PHP produces clickable error messages that direct
    419. ; to a page describing the error or function causing the error in detail.
    420. ; You can download a copy of the PHP manual from [url=http://www.php.net/docs.php]http://www.php.net/docs.php[/url]
    421. ; and change docref_root to the base URL of your local copy including the
    422. ; leading '/'. You must also specify the file extension being used including
    423. ; the dot.
    424. ; Note: Never use this feature for production boxes.
    425. ;docref_root = "/phpmanual/"
    426. ;docref_ext = .html
    427.  
    428. ; String to output before an error message.
    429. ;error_prepend_string = "<font color=#ff0000>"
    430.  
    431. ; String to output after an error message.
    432. ;error_append_string = "</font>"
    433.  
    434. ; Log errors to specified file.
    435. ;error_log = filename
    436.  
    437. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
    438. ;error_log = syslog
    439.  
    440.  
    441. ;;;;;;;;;;;;;;;;;
    442. ; Data Handling ;
    443. ;;;;;;;;;;;;;;;;;
    444. ;
    445. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
    446.  
    447. ; The separator used in PHP generated URLs to separate arguments.
    448. ; Default is "&".
    449. ;arg_separator.output = "&amp;"
    450.  
    451. ; List of separator(s) used by PHP to parse input URLs into variables.
    452. ; Default is "&".
    453. ; NOTE: Every character in this directive is considered as separator!
    454. ;arg_separator.input = ";&"
    455.  
    456. ; This directive describes the order in which PHP registers GET, POST, Cookie,
    457. ; Environment and Built-in variables (G, P, C, E & S respectively, often
    458. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
    459. ; values override older values.
    460. variables_order = "GPCS"
    461.  
    462. ; Whether or not to register the EGPCS variables as global variables.  You may
    463. ; want to turn this off if you don't want to clutter your scripts' global scope
    464. ; with user data.  This makes most sense when coupled with track_vars - in which
    465. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
    466. ; variables.
    467. ;
    468. ; You should do your best to write your scripts so that they do not require
    469. ; register_globals to be on;  Using form variables as globals can easily lead
    470. ; to possible security problems, if the code is not very well thought of.
    471. register_globals = Off
    472.  
    473. ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
    474. ; and friends.  If you're not using them, it's recommended to turn them off,
    475. ; for performance reasons.
    476. register_long_arrays = Off
    477.  
    478. ; This directive tells PHP whether to declare the argv&argc variables (that
    479. ; would contain the GET information).  If you don't use these variables, you
    480. ; should turn it off for increased performance.
    481. register_argc_argv = Off
    482.  
    483. ; When enabled, the SERVER and ENV variables are created when they're first
    484. ; used (Just In Time) instead of when the script starts. If these variables
    485. ; are not used within a script, having this directive on will result in a
    486. ; performance gain. The PHP directives register_globals, register_long_arrays,
    487. ; and register_argc_argv must be disabled for this directive to have any affect.
    488. auto_globals_jit = On
    489.  
    490. ; Maximum size of POST data that PHP will accept.
    491. post_max_size = 8M
    492.  
    493. ; Magic quotes
    494. ;
    495.  
    496. ; Magic quotes for incoming GET/POST/Cookie data.
    497. magic_quotes_gpc = Off
    498.  
    499. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
    500. magic_quotes_runtime = Off
    501.  
    502. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
    503. magic_quotes_sybase = Off
    504.  
    505. ; Automatically add files before or after any PHP document.
    506. auto_prepend_file =
    507. auto_append_file =
    508.  
    509. ; As of 4.0b4, PHP always outputs a character encoding by default in
    510. ; the Content-type: header.  To disable sending of the charset, simply
    511. ; set it to be empty.
    512. ;
    513. ; PHP's built-in default is text/html
    514. default_mimetype = "text/html"
    515. ;default_charset = "iso-8859-1"
    516.  
    517. ; Always populate the $HTTP_RAW_POST_DATA variable.
    518. ;always_populate_raw_post_data = On
    519.  
    520.  
    521. ;;;;;;;;;;;;;;;;;;;;;;;;;
    522. ; Paths and Directories ;
    523. ;;;;;;;;;;;;;;;;;;;;;;;;;
    524.  
    525. ; UNIX: "/path1:/path2"
    526. ;include_path = ".:/php/includes"
    527. ;
    528. ; Windows: "\path1;\path2"
    529. ;include_path = ".;c:\php\includes"
    530.  
    531. ; The root of the PHP pages, used only if nonempty.
    532. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    533. ; if you are running php as a CGI under any web server (other than IIS)
    534. ; see documentation for security issues.  The alternate is to use the
    535. ; cgi.force_redirect configuration below
    536. doc_root =
    537.  
    538. ; The directory under which PHP opens the script using /~username used only
    539. ; if nonempty.
    540. user_dir =
    541.  
    542. ; Directory in which the loadable extensions (modules) reside.
    543. extension_dir = "./"
    544.  
    545. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    546. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    547. ; disabled on them.
    548. enable_dl = On
    549.  
    550. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    551. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    552. ; turn it off here AT YOUR OWN RISK
    553. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    554. ; cgi.force_redirect = 1
    555.  
    556. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    557. ; every request.
    558. ; cgi.nph = 1
    559.  
    560. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    561. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    562. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    563. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    564. ; cgi.redirect_status_env = ;
    565.  
    566. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    567. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    568. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    569. ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec.  A setting
    570. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    571. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    572. ; cgi.fix_pathinfo=1
    573.  
    574. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    575. ; security tokens of the calling client.  This allows IIS to define the
    576. ; security context that the request runs under.  mod_fastcgi under Apache
    577. ; does not currently support this feature (03/17/2002)
    578. ; Set to 1 if running under IIS.  Default is zero.
    579. ; fastcgi.impersonate = 1;
    580.  
    581. ; Disable logging through FastCGI connection
    582. ; fastcgi.logging = 0
    583.  
    584. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    585. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
    586. ; is supported by Apache. When this option is set to 1 PHP will send
    587. ; RFC2616 compliant header.
    588. ; Default is zero.
    589. ;cgi.rfc2616_headers = 0
    590.  
    591.  
    592. ;;;;;;;;;;;;;;;;
    593. ; File Uploads ;
    594. ;;;;;;;;;;;;;;;;
    595.  
    596. ; Whether to allow HTTP file uploads.
    597. file_uploads = On
    598.  
    599. ; Temporary directory for HTTP uploaded files (will use system default if not
    600. ; specified).
    601. ;upload_tmp_dir =
    602.  
    603. ; Maximum allowed size for uploaded files.
    604. upload_max_filesize = 2M
    605.  
    606.  
    607. ;;;;;;;;;;;;;;;;;;
    608. ; Fopen wrappers ;
    609. ;;;;;;;;;;;;;;;;;;
    610.  
    611. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    612. allow_url_fopen = On
    613.  
    614. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    615. allow_url_include = Off
    616.  
    617. ; Define the anonymous ftp password (your email address)
    618. ;from="john@doe.com"
    619.  
    620. ; Define the User-Agent string
    621. ; user_agent="PHP"
    622.  
    623. ; Default timeout for socket based streams (seconds)
    624. default_socket_timeout = 60
    625.  
    626. ; If your scripts have to deal with files from Macintosh systems,
    627. ; or you are running on a Mac and need to deal with files from
    628. ; unix or win32 systems, setting this flag will cause PHP to
    629. ; automatically de
     
  2. Ух ты, прикиньте, настоящий httpd.conf!!!1
     
  3. 440Hz

    440Hz Старожил
    Команда форума Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда
    это по моей просьбе.

    === замени ===
    php.ini

    display_errors = On
    log_errors = Off


    + перезапусти апач.

    и что выдаст скрипт?
     
  4. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
    Ничего не изменилось !!!
    как было так и осталось !
     
  5. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
  6. 440Hz

    440Hz Старожил
    Команда форума Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда
    ну тогда писни сюда то, что выводт <?php phpinfo() ?>
     
  7. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
  8. 440Hz

    440Hz Старожил
    Команда форума Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда
    да не картинка нужна. просто скопируй что выводит. Ctrl+C, Ctrl+v
     
  9. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
     
  10. 440Hz

    440Hz Старожил
    Команда форума Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда
    + не стоит расширение mysql

    правь...
     
  11. 440Hz

    440Hz Старожил
    Команда форума Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда
    тож...
     
  12. 440Hz

    440Hz Старожил
    Команда форума Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда
    ничего не поменял.
     
  13. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
    это в php.ini изенить надо !
    Код (Text):
    1. display_errors = On
    2. log_errors = Off
    А вот это где добавить ???
    Код (Text):
    1. Loaded Configuration File C:\Server.shkol\php\php.ini
     
  14. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
    Куда это
    Код (Text):
    1. Loaded Configuration File C:\Server.shkol\php\php.ini
    добавлять ??
    Теперь выводит ошибку:
    !
     
  15. 440Hz

    440Hz Старожил
    Команда форума Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда
  16. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
    у меня распакова строчка
    и дериктория стоит
    серавно пишет
     
  17. 440Hz

    440Hz Старожил
    Команда форума Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда
    вот тут?

    апач перезапускал?

    откуда берутся ext ? оно там есть?
     
  18. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
    в php.ini всё сделал правильно !
    да перезапускал !
    вот
    !! да там есть файл php_mysql.dll !!
     
  19. Pasha09

    Pasha09 Активный пользователь

    С нами с:
    28 фев 2010
    Сообщения:
    32
    Симпатии:
    0
    Оооо всё окей !!!
    я добавил строчку extension_dir = "C:/Server.shkol/php/ext" !!
    и всё заработало !!

     
  20. 440Hz

    440Hz Старожил
    Команда форума Модератор

    С нами с:
    21 дек 2012
    Сообщения:
    8.003
    Симпатии:
    1
    Адрес:
    Оттуда
    ну и славно