Guest User

Untitled

a guest
Jul 18th, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. You can test to make sure u r using the new php.ini by running phpinfo(); If you want multiple php.inis, then use .htaccess files to set the PHPRC variable to the directory that the php.ini file you want to use is in.
  2.  
  3. File structure from ROOT directory
  4. Code: Select all
  5. [SIZE="1"][FONT="Courier New"].
  6. |-- site1.com
  7. | `-- htdocs
  8. | | |-- cgi-bin
  9. | | | `-- dl.cgi
  10. | | `-- index.html
  11. | |-- phpsessions
  12. | |-- php.ini
  13. | `-- .htaccess
  14. |-- site2.org
  15. | `-- htdocs
  16. | | |-- cgi-bin
  17. | | | `-- dl.cgi
  18. | | `-- index.html
  19. | |-- phpsessions
  20. | |-- php.ini
  21. | `-- .htaccess
  22. `-- site3.net
  23. `-- htdocs
  24. | |-- cgi-bin
  25. | | `-- dl.cgi
  26. | `-- index.html
  27. |-- phpsessions
  28. |-- php.ini
  29. `-- .htaccess[/FONT][/SIZE]
  30. Remember to chmod 640 all .htaccess files, chmod 600 your php.ini files, chmod 600 your php flies, and chmod 705 your cgi scripts.. if you don't want ftp users to be able to change the file than chmod 400.
Add Comment
Please, Sign In to add comment