{"id":2851,"date":"2011-08-01T12:42:28","date_gmt":"2011-08-01T19:42:28","guid":{"rendered":"http:\/\/www.ait-pro.com\/aitpro-blog\/?p=2851"},"modified":"2012-10-06T12:27:37","modified_gmt":"2012-10-06T19:27:37","slug":"bulletproof-security-pro-p-security-php-ini-video-tutorial","status":"publish","type":"post","link":"https:\/\/www.ait-pro.com\/aitpro-blog\/2851\/bulletproof-security-pro\/bulletproof-security-pro-p-security-php-ini-video-tutorial\/","title":{"rendered":"BulletProof Security Pro P-Security php.ini Video Tutorial"},"content":{"rendered":"<div class=\"bluelink\">\n<p><strong>This video is currently set to private. \u00a0Pending an updated new video.<\/strong><\/p>\n<\/p>\n<p><strong><span style=\"font-size: medium; color: #000066;\">General Info about checking your PHPINFO file<\/span><\/strong><\/p>\n<p><strong>After you have created your custom php.ini file check the PHPINFO Viewer for:<\/strong><\/p>\n<p><strong>It could take up to 15 minutes for your new custom php.ini file to be seen by your web host. \u00a0Once you have created your custom php.ini file wait at least 15 minutes before troubleshooting it.\u00a0<\/strong><\/p>\n<p><strong>Configuration File (php.ini) Path &#8211;<\/strong> This will display the path to your server&#8217;s master php.ini file.\u00a0\u00a0You can add this path to any available empty slot in the File Manager and open it with the File Editor to view your host&#8217;s master php.ini file to get your correct specific Zend directives or any other specific directives for your web host \/ website.\u00a0 You\u00a0should copy\u00a0the entire master php.ini file directly from the File Editor to a text or Word document on your computer.\u00a0 This way you will have\u00a0the file on your computer as a\u00a0reference file to go by for any php.ini directives that you want to add to your custom php.ini file.\u00a0 Each web host\u00a0typically will have specific paths for the Zend Optimizer and\u00a0a\u00a0possibly a couple other php.ini directives so that is why you want to get your specific host&#8217;s info from the master php.ini file.<\/p>\n<p><strong>Loaded Configuration File &#8211;<\/strong> If your custom php.ini file is seen as the php.ini file that is loaded and that your site is using then you will see the path you entered into the File Manager displayed here in your PHP Server configuration file (viewed \/ seen using the phpinfo viewer).\u00a0 If you see any path displayed here other than the path that you entered into the File Manager then your custom php.ini file is not really being seen as the php.ini file for your website.<\/p>\n<p><strong>Shows a server default phpinfo Configuration File (php.ini) Path<\/strong> <strong>&#8211; \u00a0\u00a0\u00a0\u00a0\/usr\/lib<\/strong><\/p>\n<p><strong>Shows a server default phpinfo Loaded Configuration File<\/strong> <strong>&#8211; \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\/usr\/local\/lib\/php.ini<\/strong><\/p>\n<p><a href=\"http:\/\/www.ait-pro.com\/aitpro-blog\/wp-content\/uploads\/2011\/08\/phpinfo-server-paths.png\" rel=\"lightbox[2851]\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3189\" title=\"Phpinfo Default Server Paths\" src=\"http:\/\/www.ait-pro.com\/aitpro-blog\/wp-content\/uploads\/2011\/08\/phpinfo-server-paths.png\" alt=\"Phpinfo Default Server Paths\" width=\"570\" height=\"137\" srcset=\"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-content\/uploads\/2011\/08\/phpinfo-server-paths.png 570w, https:\/\/www.ait-pro.com\/aitpro-blog\/wp-content\/uploads\/2011\/08\/phpinfo-server-paths-300x72.png 300w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/a><\/p>\n<p>By adding the \/usr\/local\/lib\/php.ini (this is an example &#8211; your Loaded Configuration path may be different) file path to the BPS Pro File Manager you can view your web host \/ website\u2019s master php.ini file with the BPS Pro File Editor.\u00a0 This allows you to view your web host\u2019s master php.ini file as a reference or if you are creating a new custom php.ini file you can copy your host\u2019s php.ini file to your computer and add the optimum settings from a BPS Pro master php.ini file to make a new custom php.ini file for your website.<\/p>\n<p><strong>Your new custom php.ini file is created by you and should be located in your Document Root folder (aka \u201cpublic\u201d root folder) for your hosting account \/ website.<\/strong><\/p>\n<p><strong>Examples:<\/strong><\/p>\n<p><strong>\/home\/xxxxx\/content\/html\/php.ini<\/strong><\/p>\n<p><strong>\/home\/xxxxx\/public_html\/php.ini<\/strong><\/p>\n<p>Web hosts have different methods of how you would change where the Server looks for the Loaded Configuration File.\u00a0 The end result is you want the server to see your custom php.ini file \/home\/xxxxx\/public_html\/php.ini as the Loaded Configuration File instead of looking at the Server\u2019s default php.ini file location.\u00a0 Please see the General, Advanced and Host Specific php.ini Information link above for Host specific information on how to do this for each web host. \u00a0If your web host is not listed then read the\u00a0<strong>BPS Pro Standard php.ini file Help<\/strong> section of that post.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This video is currently set to private. \u00a0Pending an updated new video. General Info about checking your PHPINFO file After you have created your custom php.ini file check the PHPINFO Viewer for: It could take up to 15 minutes for your new custom php.ini file to be seen by your web host. \u00a0Once you have [&hellip;]<\/p>\n","protected":false},"author":167,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[393],"tags":[415,416],"class_list":["post-2851","post","type-post","status-publish","format-standard","hentry","category-bulletproof-security-pro","tag-bps-pro-p-security-video-tutorial","tag-bulletproof-security-pro-p-security-video-tutorial"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/posts\/2851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/users\/167"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/comments?post=2851"}],"version-history":[{"count":0,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/posts\/2851\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/media?parent=2851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/categories?post=2851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ait-pro.com\/aitpro-blog\/wp-json\/wp\/v2\/tags?post=2851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}