| | 227 | eaccelerator.allowed_admin_path |
|---|
| | 228 | The script paths that are allowed to get admin information and do admin |
|---|
| | 229 | controls |
|---|
| | 230 | |
|---|
| | 231 | Control panel and disassembler |
|---|
| | 232 | ------------------------------ |
|---|
| | 233 | |
|---|
| | 234 | If you want to use the control-panel you need to compile eAccelerator with |
|---|
| | 235 | --with-eaccelerator-info which is the default value. |
|---|
| | 236 | You need to copy the control.php file to your webroot and set the path to it |
|---|
| | 237 | in the php.ini or eaccelerator.ini in the eaccelerator.allowed_admin_path |
|---|
| | 238 | directive. If you don't do this you wont be able to see much information and |
|---|
| | 239 | can't control eAccelerator. |
|---|
| | 240 | You can set the username and password needed to access the control-panel in |
|---|
| | 241 | the control.php file. |
|---|
| | 242 | |
|---|
| | 243 | When you compile eAccelerator with --with-eaccelerator-disassembler you need |
|---|
| | 244 | to place the dasm.php file also in the same directory as the control.php file. |
|---|
| 292 | | WEB interface |
|---|
| 293 | | ------------- |
|---|
| 294 | | eAccelerator can be managed through web interface script eaccelerator.php. So |
|---|
| 295 | | you need to put this file on your web site. For security reasons it is |
|---|
| 296 | | recommended to restrict the usage of this script by your local IP. |
|---|
| 297 | | |
|---|
| 298 | | Since version 2.3.18 admin interface may be protected by password. To generate |
|---|
| 299 | | password run the eaccelerator_password.php from command line and follow the |
|---|
| 300 | | instruction. |
|---|
| 301 | | |
|---|
| 302 | | $ php -q eaccelerator_password.php |
|---|
| 303 | | Changing password for eAccelerator Web Interface (eaccelerator.php) |
|---|
| 304 | | |
|---|
| 305 | | Enter admin name: admin |
|---|
| 306 | | New admin password: eaccelerator |
|---|
| 307 | | Retype new admin password: eaccelerator |
|---|
| 308 | | |
|---|
| 309 | | Add the following lines into your php.ini and restart HTTPD |
|---|
| 310 | | |
|---|
| 311 | | eaccelerator.admin.name="admin" |
|---|
| 312 | | eaccelerator.admin.password="$1$0ScD9gkb$nOEmFerNMvQ576hELeLrG0" |
|---|
| 313 | | |
|---|
| 314 | | If you use eaccelerator.php in directory that is password-protected by HTTPD |
|---|
| 315 | | then eaccelerator's admin name and password must be the same. |
|---|
| 316 | | |
|---|
| 317 | | |
|---|