The best magazine
How to Adjust the Php.ini File for Plesk
- 1). Open Notepad.
- 2). Type "php_flag register_globals off" on the first line of the file.
- 3). Type the specific commands you want to adjust on the following lines. The choice of commands will be based on personal specification. Here are some examples of code you might type:
safe_mode = Off
safe_mode_include_dir = home/
extension_dir = "/usr/lib/php/modules"
Whichever commands you type will override the php.ini equivalent. - 4). Click "File" and then "Save As." Click the drop-down menu and select "All Files." Name your file ".htaccess" with no other extension.
- 5). Upload that file to your root folder via FTP. If you do not have a client, go to "Computer," click "Map network drive," click "Connect to a web site," enter your FTP details and then click "Finish." Double-click the FTP site and then paste your .htaccess file there.
Source: ...