Notice (8): Undefined index: Post [APP/View/Posts/view.ctp, line 82]Code Context <div class="col-md-12">
<div class="white_strip">
<i class="far fa-calendar-alt"></i> <?php echo $this->Time->nicedate($post['Post']['modified']); ?>
$viewFile = '/var/www/html/chirayuim/app/View/Posts/view.ctp'
$dataForView = array(
'tags' => array(
(int) 0 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
)
),
'pageurl' => 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2',
'comments' => array(),
'postcategories' => array(
(int) 0 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array(
[maximum depth reached]
),
'children' => array([maximum depth reached])
),
(int) 1 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
),
(int) 2 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array(
[maximum depth reached]
),
'Post' => array([maximum depth reached]),
'children' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
)
),
'treePath' => array(),
'post_id' => '2',
'post' => array(),
'masterclass' => '',
'appposts' => array(
(int) 0 => array(
'Post' => array(
[maximum depth reached]
),
'Postcoverimage' => array(
[maximum depth reached]
),
'Tofriend' => array([maximum depth reached])
)
),
'regions' => array(),
'appcountries' => array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
)
$tags = array(
(int) 0 => array(
'Tagged' => array(
'tag_id' => '1'
),
'Tag' => array(
'id' => '1',
'identifier' => null,
'name' => 'Configuration',
'keyname' => 'configuration',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 1 => array(
'Tagged' => array(
'tag_id' => '2'
),
'Tag' => array(
'id' => '2',
'identifier' => null,
'name' => 'PHP5',
'keyname' => 'php5',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 2 => array(
'Tagged' => array(
'tag_id' => '3'
),
'Tag' => array(
'id' => '3',
'identifier' => null,
'name' => 'Apache2',
'keyname' => 'apache2',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
)
)
$pageurl = 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2'
$comments = array()
$postcategories = array(
(int) 0 => array(
'Postcategory' => array(
'id' => '5',
'parent_id' => null,
'name' => 'PHP Configuration',
'active' => '1',
'lft' => '1',
'rght' => '2',
'created' => '2015-05-06 13:24:33',
'modified' => '2015-05-06 13:24:33'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'children' => array()
),
(int) 1 => array(
'Postcategory' => array(
'id' => '6',
'parent_id' => null,
'name' => 'PHP installation',
'active' => '1',
'lft' => '3',
'rght' => '4',
'created' => '2015-05-06 13:36:53',
'modified' => '2015-05-06 13:36:53'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
),
(int) 2 => array(
'Postcategory' => array(
'id' => '7',
'parent_id' => null,
'name' => 'Web development',
'active' => '1',
'lft' => '5',
'rght' => '8',
'created' => '2015-06-06 05:44:15',
'modified' => '2015-06-06 05:44:15'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Post' => array(),
'children' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'Postcategory' => array(
'id' => '9',
'parent_id' => null,
'name' => 'Software Design',
'active' => '1',
'lft' => '9',
'rght' => '10',
'created' => '2017-07-12 16:27:21',
'modified' => '2017-07-12 16:27:21'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
)
)
$treePath = array()
$post_id = '2'
$post = array()
$masterclass = ''
$appposts = array(
(int) 0 => array(
'Post' => array(
'id' => '1',
'user_id' => '1',
'title' => 'Make working together PHP 5.X with Apache web server on windows and Linux machines',
'body' => '<p>PHP has become now one of the most preferable programming languages to create small, medium and enterprise level web applications and portals ranging business from real estate to social network and job portals to retail sales. This attracts many of startup developers to develop source code in PHP. Web applications are published through the web server and Apache is considered the best friend of delivering the PHP generated web pages. Both are open sourced and community driven and available under certain license conditions depending on your use.</p>
<p>Though both of them are of open source, Apache web server installation does not contain the configuration for the PHP as its native or inbuilt. Developer or the server admin has to put efforts to work both of them together. How? Let’s review a part of the Apache web server configuration file bit closely. Identify `httpd.conf` file within your Apache web server configuration. It is mainly resides in the `conf` folder. There is a list of ‘LoadModule….’ kind of statements with their relative path looking something like,</p>
<p><strong>LoadModule actions_module modules/mod_actions.so</strong></p>
<p>This is an instruction to Apache web server for loading the module named “actions_module” and the relevant file for this module is at the “modules” folder named mod_actions.so. When the Apache starts, it reads the httpd.conf files and follows the instructions written in the file and create a web server context by loading the listed modules and other directives written in the file.</p>
<p>So now we need to ask Apache web server to load the PHP as an Apache module too and keep it in the web server context. Very easy, instruct Apache to <strong>load module</strong> with the name of <strong>“php5_module”</strong> and show where Apache can find the <strong>relevant file</strong>. So write a LoadModule line bellows the block of other LoadModule instructions are written. Typically looks like,</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p>Also specify bellow that, where is the PHP ini Directory or where the php.ini (configuration file for php) can be found.</p>
<p><strong>PHPIniDir "D:/ webdev /php5523/"</strong></p>
<p>Now it is time to instruct Apache that what extension files are to be considered as PHP source code file. Add the line bellow that is,</p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Instead of .php extension you can specify your own one if you have an access of the web server configuration. So over all the block should look like:</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p><strong>PHPIniDir "D:/webdev/php5523/"</strong></p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Mind well, you have modified the httpd.conf file and brought new things into Apache’s context. To get this implemented working, you need to restart Apache web server.</p>
<p>This is the most common method for PHP and Apache working in combination. Another method is working PHP installed as CGI. This depends how your PHP installation should work.</p>
<p><strong><u>Using Linux!!</u></strong></p>
<p>When you install apache in any of the Linux installation, it brings the PHP provision in it. ( <em><u>installing apache2 on linux</u></em>).</p>
<p>Check for the line in the httpd.conf at /etc/httpd/</p>
<p><strong>LoadModule php5_module modules/libphp5.so</strong></p>
<p>If already there in the file, uncomment this line removing # from the starting of the line to load the PHP 5 module.</p>
<p>Now instruct Apache that what extension files are to be considered as PHP source code file. Add the block bellow in the httpd.conf file</p>
<p><strong><FilesMatch \.php$></strong></p>
<p><strong> SetHandler application/x-httpd-php</strong></p>
<p><strong></FilesMatch></strong></p>
<p>Now restart the Apache web server with</p>
<p><strong>Service httpd restart</strong></p>
<p>Listed is a common and standard technique of configuring PHP with Apache web server. If anyone fined any trouble shooting, send me the scenario which is causing trouble I may try it to get the answers for your queries.</p>
',
'created' => '2015-04-13 13:47:18',
'tags' => ''
),
'Postcoverimage' => array(
'namesmall' => null,
'namemedium' => null
),
'Tofriend' => array()
)
)
$regions = array()
$appcountries = array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
$services = array(
'facebook' => 'Facebook',
'gplus' => 'Google+',
'linkedin' => 'LinkedIn',
'twitter' => 'Twitter',
'pinterest' => 'Pinterest'
)
$options = array(
'text' => 'Catch a blog post',
'title' => 'share it'
)
$linkText = 'Pinterest'
$service = 'pinterest'
$total = (int) 0
include - APP/View/Posts/view.ctp, line 82
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
-
Tags
Notice (8): Undefined index: Tag [APP/View/Posts/view.ctp, line 87]Code Context <div class="white_strip">
<i class="fas fa-tags"></i> Tags <?php $string = '';
foreach($post['Tag'] as $tags){
$viewFile = '/var/www/html/chirayuim/app/View/Posts/view.ctp'
$dataForView = array(
'tags' => array(
(int) 0 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
)
),
'pageurl' => 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2',
'comments' => array(),
'postcategories' => array(
(int) 0 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array(
[maximum depth reached]
),
'children' => array([maximum depth reached])
),
(int) 1 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
),
(int) 2 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array(
[maximum depth reached]
),
'Post' => array([maximum depth reached]),
'children' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
)
),
'treePath' => array(),
'post_id' => '2',
'post' => array(),
'masterclass' => '',
'appposts' => array(
(int) 0 => array(
'Post' => array(
[maximum depth reached]
),
'Postcoverimage' => array(
[maximum depth reached]
),
'Tofriend' => array([maximum depth reached])
)
),
'regions' => array(),
'appcountries' => array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
)
$tags = array(
(int) 0 => array(
'Tagged' => array(
'tag_id' => '1'
),
'Tag' => array(
'id' => '1',
'identifier' => null,
'name' => 'Configuration',
'keyname' => 'configuration',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 1 => array(
'Tagged' => array(
'tag_id' => '2'
),
'Tag' => array(
'id' => '2',
'identifier' => null,
'name' => 'PHP5',
'keyname' => 'php5',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 2 => array(
'Tagged' => array(
'tag_id' => '3'
),
'Tag' => array(
'id' => '3',
'identifier' => null,
'name' => 'Apache2',
'keyname' => 'apache2',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
)
)
$pageurl = 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2'
$comments = array()
$postcategories = array(
(int) 0 => array(
'Postcategory' => array(
'id' => '5',
'parent_id' => null,
'name' => 'PHP Configuration',
'active' => '1',
'lft' => '1',
'rght' => '2',
'created' => '2015-05-06 13:24:33',
'modified' => '2015-05-06 13:24:33'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'children' => array()
),
(int) 1 => array(
'Postcategory' => array(
'id' => '6',
'parent_id' => null,
'name' => 'PHP installation',
'active' => '1',
'lft' => '3',
'rght' => '4',
'created' => '2015-05-06 13:36:53',
'modified' => '2015-05-06 13:36:53'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
),
(int) 2 => array(
'Postcategory' => array(
'id' => '7',
'parent_id' => null,
'name' => 'Web development',
'active' => '1',
'lft' => '5',
'rght' => '8',
'created' => '2015-06-06 05:44:15',
'modified' => '2015-06-06 05:44:15'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Post' => array(),
'children' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'Postcategory' => array(
'id' => '9',
'parent_id' => null,
'name' => 'Software Design',
'active' => '1',
'lft' => '9',
'rght' => '10',
'created' => '2017-07-12 16:27:21',
'modified' => '2017-07-12 16:27:21'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
)
)
$treePath = array()
$post_id = '2'
$post = array()
$masterclass = ''
$appposts = array(
(int) 0 => array(
'Post' => array(
'id' => '1',
'user_id' => '1',
'title' => 'Make working together PHP 5.X with Apache web server on windows and Linux machines',
'body' => '<p>PHP has become now one of the most preferable programming languages to create small, medium and enterprise level web applications and portals ranging business from real estate to social network and job portals to retail sales. This attracts many of startup developers to develop source code in PHP. Web applications are published through the web server and Apache is considered the best friend of delivering the PHP generated web pages. Both are open sourced and community driven and available under certain license conditions depending on your use.</p>
<p>Though both of them are of open source, Apache web server installation does not contain the configuration for the PHP as its native or inbuilt. Developer or the server admin has to put efforts to work both of them together. How? Let’s review a part of the Apache web server configuration file bit closely. Identify `httpd.conf` file within your Apache web server configuration. It is mainly resides in the `conf` folder. There is a list of ‘LoadModule….’ kind of statements with their relative path looking something like,</p>
<p><strong>LoadModule actions_module modules/mod_actions.so</strong></p>
<p>This is an instruction to Apache web server for loading the module named “actions_module” and the relevant file for this module is at the “modules” folder named mod_actions.so. When the Apache starts, it reads the httpd.conf files and follows the instructions written in the file and create a web server context by loading the listed modules and other directives written in the file.</p>
<p>So now we need to ask Apache web server to load the PHP as an Apache module too and keep it in the web server context. Very easy, instruct Apache to <strong>load module</strong> with the name of <strong>“php5_module”</strong> and show where Apache can find the <strong>relevant file</strong>. So write a LoadModule line bellows the block of other LoadModule instructions are written. Typically looks like,</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p>Also specify bellow that, where is the PHP ini Directory or where the php.ini (configuration file for php) can be found.</p>
<p><strong>PHPIniDir "D:/ webdev /php5523/"</strong></p>
<p>Now it is time to instruct Apache that what extension files are to be considered as PHP source code file. Add the line bellow that is,</p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Instead of .php extension you can specify your own one if you have an access of the web server configuration. So over all the block should look like:</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p><strong>PHPIniDir "D:/webdev/php5523/"</strong></p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Mind well, you have modified the httpd.conf file and brought new things into Apache’s context. To get this implemented working, you need to restart Apache web server.</p>
<p>This is the most common method for PHP and Apache working in combination. Another method is working PHP installed as CGI. This depends how your PHP installation should work.</p>
<p><strong><u>Using Linux!!</u></strong></p>
<p>When you install apache in any of the Linux installation, it brings the PHP provision in it. ( <em><u>installing apache2 on linux</u></em>).</p>
<p>Check for the line in the httpd.conf at /etc/httpd/</p>
<p><strong>LoadModule php5_module modules/libphp5.so</strong></p>
<p>If already there in the file, uncomment this line removing # from the starting of the line to load the PHP 5 module.</p>
<p>Now instruct Apache that what extension files are to be considered as PHP source code file. Add the block bellow in the httpd.conf file</p>
<p><strong><FilesMatch \.php$></strong></p>
<p><strong> SetHandler application/x-httpd-php</strong></p>
<p><strong></FilesMatch></strong></p>
<p>Now restart the Apache web server with</p>
<p><strong>Service httpd restart</strong></p>
<p>Listed is a common and standard technique of configuring PHP with Apache web server. If anyone fined any trouble shooting, send me the scenario which is causing trouble I may try it to get the answers for your queries.</p>
',
'created' => '2015-04-13 13:47:18',
'tags' => ''
),
'Postcoverimage' => array(
'namesmall' => null,
'namemedium' => null
),
'Tofriend' => array()
)
)
$regions = array()
$appcountries = array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
$services = array(
'facebook' => 'Facebook',
'gplus' => 'Google+',
'linkedin' => 'LinkedIn',
'twitter' => 'Twitter',
'pinterest' => 'Pinterest'
)
$options = array(
'text' => 'Catch a blog post',
'title' => 'share it'
)
$linkText = 'Pinterest'
$service = 'pinterest'
$total = (int) 0
$string = ''
include - APP/View/Posts/view.ctp, line 87
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Warning (2): Invalid argument supplied for foreach() [APP/View/Posts/view.ctp, line 87]Code Context <div class="white_strip">
<i class="fas fa-tags"></i> Tags <?php $string = '';
foreach($post['Tag'] as $tags){
$viewFile = '/var/www/html/chirayuim/app/View/Posts/view.ctp'
$dataForView = array(
'tags' => array(
(int) 0 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
)
),
'pageurl' => 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2',
'comments' => array(),
'postcategories' => array(
(int) 0 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array(
[maximum depth reached]
),
'children' => array([maximum depth reached])
),
(int) 1 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
),
(int) 2 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array(
[maximum depth reached]
),
'Post' => array([maximum depth reached]),
'children' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
)
),
'treePath' => array(),
'post_id' => '2',
'post' => array(),
'masterclass' => '',
'appposts' => array(
(int) 0 => array(
'Post' => array(
[maximum depth reached]
),
'Postcoverimage' => array(
[maximum depth reached]
),
'Tofriend' => array([maximum depth reached])
)
),
'regions' => array(),
'appcountries' => array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
)
$tags = array(
(int) 0 => array(
'Tagged' => array(
'tag_id' => '1'
),
'Tag' => array(
'id' => '1',
'identifier' => null,
'name' => 'Configuration',
'keyname' => 'configuration',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 1 => array(
'Tagged' => array(
'tag_id' => '2'
),
'Tag' => array(
'id' => '2',
'identifier' => null,
'name' => 'PHP5',
'keyname' => 'php5',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 2 => array(
'Tagged' => array(
'tag_id' => '3'
),
'Tag' => array(
'id' => '3',
'identifier' => null,
'name' => 'Apache2',
'keyname' => 'apache2',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
)
)
$pageurl = 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2'
$comments = array()
$postcategories = array(
(int) 0 => array(
'Postcategory' => array(
'id' => '5',
'parent_id' => null,
'name' => 'PHP Configuration',
'active' => '1',
'lft' => '1',
'rght' => '2',
'created' => '2015-05-06 13:24:33',
'modified' => '2015-05-06 13:24:33'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'children' => array()
),
(int) 1 => array(
'Postcategory' => array(
'id' => '6',
'parent_id' => null,
'name' => 'PHP installation',
'active' => '1',
'lft' => '3',
'rght' => '4',
'created' => '2015-05-06 13:36:53',
'modified' => '2015-05-06 13:36:53'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
),
(int) 2 => array(
'Postcategory' => array(
'id' => '7',
'parent_id' => null,
'name' => 'Web development',
'active' => '1',
'lft' => '5',
'rght' => '8',
'created' => '2015-06-06 05:44:15',
'modified' => '2015-06-06 05:44:15'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Post' => array(),
'children' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'Postcategory' => array(
'id' => '9',
'parent_id' => null,
'name' => 'Software Design',
'active' => '1',
'lft' => '9',
'rght' => '10',
'created' => '2017-07-12 16:27:21',
'modified' => '2017-07-12 16:27:21'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
)
)
$treePath = array()
$post_id = '2'
$post = array()
$masterclass = ''
$appposts = array(
(int) 0 => array(
'Post' => array(
'id' => '1',
'user_id' => '1',
'title' => 'Make working together PHP 5.X with Apache web server on windows and Linux machines',
'body' => '<p>PHP has become now one of the most preferable programming languages to create small, medium and enterprise level web applications and portals ranging business from real estate to social network and job portals to retail sales. This attracts many of startup developers to develop source code in PHP. Web applications are published through the web server and Apache is considered the best friend of delivering the PHP generated web pages. Both are open sourced and community driven and available under certain license conditions depending on your use.</p>
<p>Though both of them are of open source, Apache web server installation does not contain the configuration for the PHP as its native or inbuilt. Developer or the server admin has to put efforts to work both of them together. How? Let’s review a part of the Apache web server configuration file bit closely. Identify `httpd.conf` file within your Apache web server configuration. It is mainly resides in the `conf` folder. There is a list of ‘LoadModule….’ kind of statements with their relative path looking something like,</p>
<p><strong>LoadModule actions_module modules/mod_actions.so</strong></p>
<p>This is an instruction to Apache web server for loading the module named “actions_module” and the relevant file for this module is at the “modules” folder named mod_actions.so. When the Apache starts, it reads the httpd.conf files and follows the instructions written in the file and create a web server context by loading the listed modules and other directives written in the file.</p>
<p>So now we need to ask Apache web server to load the PHP as an Apache module too and keep it in the web server context. Very easy, instruct Apache to <strong>load module</strong> with the name of <strong>“php5_module”</strong> and show where Apache can find the <strong>relevant file</strong>. So write a LoadModule line bellows the block of other LoadModule instructions are written. Typically looks like,</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p>Also specify bellow that, where is the PHP ini Directory or where the php.ini (configuration file for php) can be found.</p>
<p><strong>PHPIniDir "D:/ webdev /php5523/"</strong></p>
<p>Now it is time to instruct Apache that what extension files are to be considered as PHP source code file. Add the line bellow that is,</p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Instead of .php extension you can specify your own one if you have an access of the web server configuration. So over all the block should look like:</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p><strong>PHPIniDir "D:/webdev/php5523/"</strong></p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Mind well, you have modified the httpd.conf file and brought new things into Apache’s context. To get this implemented working, you need to restart Apache web server.</p>
<p>This is the most common method for PHP and Apache working in combination. Another method is working PHP installed as CGI. This depends how your PHP installation should work.</p>
<p><strong><u>Using Linux!!</u></strong></p>
<p>When you install apache in any of the Linux installation, it brings the PHP provision in it. ( <em><u>installing apache2 on linux</u></em>).</p>
<p>Check for the line in the httpd.conf at /etc/httpd/</p>
<p><strong>LoadModule php5_module modules/libphp5.so</strong></p>
<p>If already there in the file, uncomment this line removing # from the starting of the line to load the PHP 5 module.</p>
<p>Now instruct Apache that what extension files are to be considered as PHP source code file. Add the block bellow in the httpd.conf file</p>
<p><strong><FilesMatch \.php$></strong></p>
<p><strong> SetHandler application/x-httpd-php</strong></p>
<p><strong></FilesMatch></strong></p>
<p>Now restart the Apache web server with</p>
<p><strong>Service httpd restart</strong></p>
<p>Listed is a common and standard technique of configuring PHP with Apache web server. If anyone fined any trouble shooting, send me the scenario which is causing trouble I may try it to get the answers for your queries.</p>
',
'created' => '2015-04-13 13:47:18',
'tags' => ''
),
'Postcoverimage' => array(
'namesmall' => null,
'namemedium' => null
),
'Tofriend' => array()
)
)
$regions = array()
$appcountries = array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
$services = array(
'facebook' => 'Facebook',
'gplus' => 'Google+',
'linkedin' => 'LinkedIn',
'twitter' => 'Twitter',
'pinterest' => 'Pinterest'
)
$options = array(
'text' => 'Catch a blog post',
'title' => 'share it'
)
$linkText = 'Pinterest'
$service = 'pinterest'
$total = (int) 0
$string = ''
include - APP/View/Posts/view.ctp, line 87
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined index: Post [APP/View/Posts/view.ctp, line 93]Code Context <div class="white_strip">
<i class="fa fa-eye"></i>
<?php echo ($post['Post']['postview_count']>1)?$post['Post']['postview_count']." Views":$post['Post']['postview_count']." Postviews" ;?>
$viewFile = '/var/www/html/chirayuim/app/View/Posts/view.ctp'
$dataForView = array(
'tags' => array(
(int) 0 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
)
),
'pageurl' => 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2',
'comments' => array(),
'postcategories' => array(
(int) 0 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array(
[maximum depth reached]
),
'children' => array([maximum depth reached])
),
(int) 1 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
),
(int) 2 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array(
[maximum depth reached]
),
'Post' => array([maximum depth reached]),
'children' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
)
),
'treePath' => array(),
'post_id' => '2',
'post' => array(),
'masterclass' => '',
'appposts' => array(
(int) 0 => array(
'Post' => array(
[maximum depth reached]
),
'Postcoverimage' => array(
[maximum depth reached]
),
'Tofriend' => array([maximum depth reached])
)
),
'regions' => array(),
'appcountries' => array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
)
$tags = array(
(int) 0 => array(
'Tagged' => array(
'tag_id' => '1'
),
'Tag' => array(
'id' => '1',
'identifier' => null,
'name' => 'Configuration',
'keyname' => 'configuration',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 1 => array(
'Tagged' => array(
'tag_id' => '2'
),
'Tag' => array(
'id' => '2',
'identifier' => null,
'name' => 'PHP5',
'keyname' => 'php5',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 2 => array(
'Tagged' => array(
'tag_id' => '3'
),
'Tag' => array(
'id' => '3',
'identifier' => null,
'name' => 'Apache2',
'keyname' => 'apache2',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
)
)
$pageurl = 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2'
$comments = array()
$postcategories = array(
(int) 0 => array(
'Postcategory' => array(
'id' => '5',
'parent_id' => null,
'name' => 'PHP Configuration',
'active' => '1',
'lft' => '1',
'rght' => '2',
'created' => '2015-05-06 13:24:33',
'modified' => '2015-05-06 13:24:33'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'children' => array()
),
(int) 1 => array(
'Postcategory' => array(
'id' => '6',
'parent_id' => null,
'name' => 'PHP installation',
'active' => '1',
'lft' => '3',
'rght' => '4',
'created' => '2015-05-06 13:36:53',
'modified' => '2015-05-06 13:36:53'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
),
(int) 2 => array(
'Postcategory' => array(
'id' => '7',
'parent_id' => null,
'name' => 'Web development',
'active' => '1',
'lft' => '5',
'rght' => '8',
'created' => '2015-06-06 05:44:15',
'modified' => '2015-06-06 05:44:15'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Post' => array(),
'children' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'Postcategory' => array(
'id' => '9',
'parent_id' => null,
'name' => 'Software Design',
'active' => '1',
'lft' => '9',
'rght' => '10',
'created' => '2017-07-12 16:27:21',
'modified' => '2017-07-12 16:27:21'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
)
)
$treePath = array()
$post_id = '2'
$post = array()
$masterclass = ''
$appposts = array(
(int) 0 => array(
'Post' => array(
'id' => '1',
'user_id' => '1',
'title' => 'Make working together PHP 5.X with Apache web server on windows and Linux machines',
'body' => '<p>PHP has become now one of the most preferable programming languages to create small, medium and enterprise level web applications and portals ranging business from real estate to social network and job portals to retail sales. This attracts many of startup developers to develop source code in PHP. Web applications are published through the web server and Apache is considered the best friend of delivering the PHP generated web pages. Both are open sourced and community driven and available under certain license conditions depending on your use.</p>
<p>Though both of them are of open source, Apache web server installation does not contain the configuration for the PHP as its native or inbuilt. Developer or the server admin has to put efforts to work both of them together. How? Let’s review a part of the Apache web server configuration file bit closely. Identify `httpd.conf` file within your Apache web server configuration. It is mainly resides in the `conf` folder. There is a list of ‘LoadModule….’ kind of statements with their relative path looking something like,</p>
<p><strong>LoadModule actions_module modules/mod_actions.so</strong></p>
<p>This is an instruction to Apache web server for loading the module named “actions_module” and the relevant file for this module is at the “modules” folder named mod_actions.so. When the Apache starts, it reads the httpd.conf files and follows the instructions written in the file and create a web server context by loading the listed modules and other directives written in the file.</p>
<p>So now we need to ask Apache web server to load the PHP as an Apache module too and keep it in the web server context. Very easy, instruct Apache to <strong>load module</strong> with the name of <strong>“php5_module”</strong> and show where Apache can find the <strong>relevant file</strong>. So write a LoadModule line bellows the block of other LoadModule instructions are written. Typically looks like,</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p>Also specify bellow that, where is the PHP ini Directory or where the php.ini (configuration file for php) can be found.</p>
<p><strong>PHPIniDir "D:/ webdev /php5523/"</strong></p>
<p>Now it is time to instruct Apache that what extension files are to be considered as PHP source code file. Add the line bellow that is,</p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Instead of .php extension you can specify your own one if you have an access of the web server configuration. So over all the block should look like:</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p><strong>PHPIniDir "D:/webdev/php5523/"</strong></p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Mind well, you have modified the httpd.conf file and brought new things into Apache’s context. To get this implemented working, you need to restart Apache web server.</p>
<p>This is the most common method for PHP and Apache working in combination. Another method is working PHP installed as CGI. This depends how your PHP installation should work.</p>
<p><strong><u>Using Linux!!</u></strong></p>
<p>When you install apache in any of the Linux installation, it brings the PHP provision in it. ( <em><u>installing apache2 on linux</u></em>).</p>
<p>Check for the line in the httpd.conf at /etc/httpd/</p>
<p><strong>LoadModule php5_module modules/libphp5.so</strong></p>
<p>If already there in the file, uncomment this line removing # from the starting of the line to load the PHP 5 module.</p>
<p>Now instruct Apache that what extension files are to be considered as PHP source code file. Add the block bellow in the httpd.conf file</p>
<p><strong><FilesMatch \.php$></strong></p>
<p><strong> SetHandler application/x-httpd-php</strong></p>
<p><strong></FilesMatch></strong></p>
<p>Now restart the Apache web server with</p>
<p><strong>Service httpd restart</strong></p>
<p>Listed is a common and standard technique of configuring PHP with Apache web server. If anyone fined any trouble shooting, send me the scenario which is causing trouble I may try it to get the answers for your queries.</p>
',
'created' => '2015-04-13 13:47:18',
'tags' => ''
),
'Postcoverimage' => array(
'namesmall' => null,
'namemedium' => null
),
'Tofriend' => array()
)
)
$regions = array()
$appcountries = array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
$services = array(
'facebook' => 'Facebook',
'gplus' => 'Google+',
'linkedin' => 'LinkedIn',
'twitter' => 'Twitter',
'pinterest' => 'Pinterest'
)
$options = array(
'text' => 'Catch a blog post',
'title' => 'share it'
)
$linkText = 'Pinterest'
$service = 'pinterest'
$total = (int) 0
$string = ''
include - APP/View/Posts/view.ctp, line 93
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined index: Post [APP/View/Posts/view.ctp, line 93]Code Context <div class="white_strip">
<i class="fa fa-eye"></i>
<?php echo ($post['Post']['postview_count']>1)?$post['Post']['postview_count']." Views":$post['Post']['postview_count']." Postviews" ;?>
$viewFile = '/var/www/html/chirayuim/app/View/Posts/view.ctp'
$dataForView = array(
'tags' => array(
(int) 0 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
)
),
'pageurl' => 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2',
'comments' => array(),
'postcategories' => array(
(int) 0 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array(
[maximum depth reached]
),
'children' => array([maximum depth reached])
),
(int) 1 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
),
(int) 2 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array(
[maximum depth reached]
),
'Post' => array([maximum depth reached]),
'children' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
)
),
'treePath' => array(),
'post_id' => '2',
'post' => array(),
'masterclass' => '',
'appposts' => array(
(int) 0 => array(
'Post' => array(
[maximum depth reached]
),
'Postcoverimage' => array(
[maximum depth reached]
),
'Tofriend' => array([maximum depth reached])
)
),
'regions' => array(),
'appcountries' => array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
)
$tags = array(
(int) 0 => array(
'Tagged' => array(
'tag_id' => '1'
),
'Tag' => array(
'id' => '1',
'identifier' => null,
'name' => 'Configuration',
'keyname' => 'configuration',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 1 => array(
'Tagged' => array(
'tag_id' => '2'
),
'Tag' => array(
'id' => '2',
'identifier' => null,
'name' => 'PHP5',
'keyname' => 'php5',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 2 => array(
'Tagged' => array(
'tag_id' => '3'
),
'Tag' => array(
'id' => '3',
'identifier' => null,
'name' => 'Apache2',
'keyname' => 'apache2',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
)
)
$pageurl = 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2'
$comments = array()
$postcategories = array(
(int) 0 => array(
'Postcategory' => array(
'id' => '5',
'parent_id' => null,
'name' => 'PHP Configuration',
'active' => '1',
'lft' => '1',
'rght' => '2',
'created' => '2015-05-06 13:24:33',
'modified' => '2015-05-06 13:24:33'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'children' => array()
),
(int) 1 => array(
'Postcategory' => array(
'id' => '6',
'parent_id' => null,
'name' => 'PHP installation',
'active' => '1',
'lft' => '3',
'rght' => '4',
'created' => '2015-05-06 13:36:53',
'modified' => '2015-05-06 13:36:53'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
),
(int) 2 => array(
'Postcategory' => array(
'id' => '7',
'parent_id' => null,
'name' => 'Web development',
'active' => '1',
'lft' => '5',
'rght' => '8',
'created' => '2015-06-06 05:44:15',
'modified' => '2015-06-06 05:44:15'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Post' => array(),
'children' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'Postcategory' => array(
'id' => '9',
'parent_id' => null,
'name' => 'Software Design',
'active' => '1',
'lft' => '9',
'rght' => '10',
'created' => '2017-07-12 16:27:21',
'modified' => '2017-07-12 16:27:21'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
)
)
$treePath = array()
$post_id = '2'
$post = array()
$masterclass = ''
$appposts = array(
(int) 0 => array(
'Post' => array(
'id' => '1',
'user_id' => '1',
'title' => 'Make working together PHP 5.X with Apache web server on windows and Linux machines',
'body' => '<p>PHP has become now one of the most preferable programming languages to create small, medium and enterprise level web applications and portals ranging business from real estate to social network and job portals to retail sales. This attracts many of startup developers to develop source code in PHP. Web applications are published through the web server and Apache is considered the best friend of delivering the PHP generated web pages. Both are open sourced and community driven and available under certain license conditions depending on your use.</p>
<p>Though both of them are of open source, Apache web server installation does not contain the configuration for the PHP as its native or inbuilt. Developer or the server admin has to put efforts to work both of them together. How? Let’s review a part of the Apache web server configuration file bit closely. Identify `httpd.conf` file within your Apache web server configuration. It is mainly resides in the `conf` folder. There is a list of ‘LoadModule….’ kind of statements with their relative path looking something like,</p>
<p><strong>LoadModule actions_module modules/mod_actions.so</strong></p>
<p>This is an instruction to Apache web server for loading the module named “actions_module” and the relevant file for this module is at the “modules” folder named mod_actions.so. When the Apache starts, it reads the httpd.conf files and follows the instructions written in the file and create a web server context by loading the listed modules and other directives written in the file.</p>
<p>So now we need to ask Apache web server to load the PHP as an Apache module too and keep it in the web server context. Very easy, instruct Apache to <strong>load module</strong> with the name of <strong>“php5_module”</strong> and show where Apache can find the <strong>relevant file</strong>. So write a LoadModule line bellows the block of other LoadModule instructions are written. Typically looks like,</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p>Also specify bellow that, where is the PHP ini Directory or where the php.ini (configuration file for php) can be found.</p>
<p><strong>PHPIniDir "D:/ webdev /php5523/"</strong></p>
<p>Now it is time to instruct Apache that what extension files are to be considered as PHP source code file. Add the line bellow that is,</p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Instead of .php extension you can specify your own one if you have an access of the web server configuration. So over all the block should look like:</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p><strong>PHPIniDir "D:/webdev/php5523/"</strong></p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Mind well, you have modified the httpd.conf file and brought new things into Apache’s context. To get this implemented working, you need to restart Apache web server.</p>
<p>This is the most common method for PHP and Apache working in combination. Another method is working PHP installed as CGI. This depends how your PHP installation should work.</p>
<p><strong><u>Using Linux!!</u></strong></p>
<p>When you install apache in any of the Linux installation, it brings the PHP provision in it. ( <em><u>installing apache2 on linux</u></em>).</p>
<p>Check for the line in the httpd.conf at /etc/httpd/</p>
<p><strong>LoadModule php5_module modules/libphp5.so</strong></p>
<p>If already there in the file, uncomment this line removing # from the starting of the line to load the PHP 5 module.</p>
<p>Now instruct Apache that what extension files are to be considered as PHP source code file. Add the block bellow in the httpd.conf file</p>
<p><strong><FilesMatch \.php$></strong></p>
<p><strong> SetHandler application/x-httpd-php</strong></p>
<p><strong></FilesMatch></strong></p>
<p>Now restart the Apache web server with</p>
<p><strong>Service httpd restart</strong></p>
<p>Listed is a common and standard technique of configuring PHP with Apache web server. If anyone fined any trouble shooting, send me the scenario which is causing trouble I may try it to get the answers for your queries.</p>
',
'created' => '2015-04-13 13:47:18',
'tags' => ''
),
'Postcoverimage' => array(
'namesmall' => null,
'namemedium' => null
),
'Tofriend' => array()
)
)
$regions = array()
$appcountries = array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
$services = array(
'facebook' => 'Facebook',
'gplus' => 'Google+',
'linkedin' => 'LinkedIn',
'twitter' => 'Twitter',
'pinterest' => 'Pinterest'
)
$options = array(
'text' => 'Catch a blog post',
'title' => 'share it'
)
$linkText = 'Pinterest'
$service = 'pinterest'
$total = (int) 0
$string = ''
include - APP/View/Posts/view.ctp, line 93
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Postviews
Notice (8): Undefined index: Post [APP/View/Posts/view.ctp, line 97]Code Context <div class="white_strip">
<i class="fa fa-comments"></i>
<?php echo $post['Post']['comment_count'];echo ($post['Post']['comment_count']>1)?" Comments":" Comment" ;?>
$viewFile = '/var/www/html/chirayuim/app/View/Posts/view.ctp'
$dataForView = array(
'tags' => array(
(int) 0 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
)
),
'pageurl' => 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2',
'comments' => array(),
'postcategories' => array(
(int) 0 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array(
[maximum depth reached]
),
'children' => array([maximum depth reached])
),
(int) 1 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
),
(int) 2 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array(
[maximum depth reached]
),
'Post' => array([maximum depth reached]),
'children' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
)
),
'treePath' => array(),
'post_id' => '2',
'post' => array(),
'masterclass' => '',
'appposts' => array(
(int) 0 => array(
'Post' => array(
[maximum depth reached]
),
'Postcoverimage' => array(
[maximum depth reached]
),
'Tofriend' => array([maximum depth reached])
)
),
'regions' => array(),
'appcountries' => array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
)
$tags = array(
(int) 0 => array(
'Tagged' => array(
'tag_id' => '1'
),
'Tag' => array(
'id' => '1',
'identifier' => null,
'name' => 'Configuration',
'keyname' => 'configuration',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 1 => array(
'Tagged' => array(
'tag_id' => '2'
),
'Tag' => array(
'id' => '2',
'identifier' => null,
'name' => 'PHP5',
'keyname' => 'php5',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 2 => array(
'Tagged' => array(
'tag_id' => '3'
),
'Tag' => array(
'id' => '3',
'identifier' => null,
'name' => 'Apache2',
'keyname' => 'apache2',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
)
)
$pageurl = 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2'
$comments = array()
$postcategories = array(
(int) 0 => array(
'Postcategory' => array(
'id' => '5',
'parent_id' => null,
'name' => 'PHP Configuration',
'active' => '1',
'lft' => '1',
'rght' => '2',
'created' => '2015-05-06 13:24:33',
'modified' => '2015-05-06 13:24:33'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'children' => array()
),
(int) 1 => array(
'Postcategory' => array(
'id' => '6',
'parent_id' => null,
'name' => 'PHP installation',
'active' => '1',
'lft' => '3',
'rght' => '4',
'created' => '2015-05-06 13:36:53',
'modified' => '2015-05-06 13:36:53'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
),
(int) 2 => array(
'Postcategory' => array(
'id' => '7',
'parent_id' => null,
'name' => 'Web development',
'active' => '1',
'lft' => '5',
'rght' => '8',
'created' => '2015-06-06 05:44:15',
'modified' => '2015-06-06 05:44:15'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Post' => array(),
'children' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'Postcategory' => array(
'id' => '9',
'parent_id' => null,
'name' => 'Software Design',
'active' => '1',
'lft' => '9',
'rght' => '10',
'created' => '2017-07-12 16:27:21',
'modified' => '2017-07-12 16:27:21'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
)
)
$treePath = array()
$post_id = '2'
$post = array()
$masterclass = ''
$appposts = array(
(int) 0 => array(
'Post' => array(
'id' => '1',
'user_id' => '1',
'title' => 'Make working together PHP 5.X with Apache web server on windows and Linux machines',
'body' => '<p>PHP has become now one of the most preferable programming languages to create small, medium and enterprise level web applications and portals ranging business from real estate to social network and job portals to retail sales. This attracts many of startup developers to develop source code in PHP. Web applications are published through the web server and Apache is considered the best friend of delivering the PHP generated web pages. Both are open sourced and community driven and available under certain license conditions depending on your use.</p>
<p>Though both of them are of open source, Apache web server installation does not contain the configuration for the PHP as its native or inbuilt. Developer or the server admin has to put efforts to work both of them together. How? Let’s review a part of the Apache web server configuration file bit closely. Identify `httpd.conf` file within your Apache web server configuration. It is mainly resides in the `conf` folder. There is a list of ‘LoadModule….’ kind of statements with their relative path looking something like,</p>
<p><strong>LoadModule actions_module modules/mod_actions.so</strong></p>
<p>This is an instruction to Apache web server for loading the module named “actions_module” and the relevant file for this module is at the “modules” folder named mod_actions.so. When the Apache starts, it reads the httpd.conf files and follows the instructions written in the file and create a web server context by loading the listed modules and other directives written in the file.</p>
<p>So now we need to ask Apache web server to load the PHP as an Apache module too and keep it in the web server context. Very easy, instruct Apache to <strong>load module</strong> with the name of <strong>“php5_module”</strong> and show where Apache can find the <strong>relevant file</strong>. So write a LoadModule line bellows the block of other LoadModule instructions are written. Typically looks like,</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p>Also specify bellow that, where is the PHP ini Directory or where the php.ini (configuration file for php) can be found.</p>
<p><strong>PHPIniDir "D:/ webdev /php5523/"</strong></p>
<p>Now it is time to instruct Apache that what extension files are to be considered as PHP source code file. Add the line bellow that is,</p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Instead of .php extension you can specify your own one if you have an access of the web server configuration. So over all the block should look like:</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p><strong>PHPIniDir "D:/webdev/php5523/"</strong></p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Mind well, you have modified the httpd.conf file and brought new things into Apache’s context. To get this implemented working, you need to restart Apache web server.</p>
<p>This is the most common method for PHP and Apache working in combination. Another method is working PHP installed as CGI. This depends how your PHP installation should work.</p>
<p><strong><u>Using Linux!!</u></strong></p>
<p>When you install apache in any of the Linux installation, it brings the PHP provision in it. ( <em><u>installing apache2 on linux</u></em>).</p>
<p>Check for the line in the httpd.conf at /etc/httpd/</p>
<p><strong>LoadModule php5_module modules/libphp5.so</strong></p>
<p>If already there in the file, uncomment this line removing # from the starting of the line to load the PHP 5 module.</p>
<p>Now instruct Apache that what extension files are to be considered as PHP source code file. Add the block bellow in the httpd.conf file</p>
<p><strong><FilesMatch \.php$></strong></p>
<p><strong> SetHandler application/x-httpd-php</strong></p>
<p><strong></FilesMatch></strong></p>
<p>Now restart the Apache web server with</p>
<p><strong>Service httpd restart</strong></p>
<p>Listed is a common and standard technique of configuring PHP with Apache web server. If anyone fined any trouble shooting, send me the scenario which is causing trouble I may try it to get the answers for your queries.</p>
',
'created' => '2015-04-13 13:47:18',
'tags' => ''
),
'Postcoverimage' => array(
'namesmall' => null,
'namemedium' => null
),
'Tofriend' => array()
)
)
$regions = array()
$appcountries = array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
$services = array(
'facebook' => 'Facebook',
'gplus' => 'Google+',
'linkedin' => 'LinkedIn',
'twitter' => 'Twitter',
'pinterest' => 'Pinterest'
)
$options = array(
'text' => 'Catch a blog post',
'title' => 'share it'
)
$linkText = 'Pinterest'
$service = 'pinterest'
$total = (int) 0
$string = ''
include - APP/View/Posts/view.ctp, line 97
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Notice (8): Undefined index: Post [APP/View/Posts/view.ctp, line 97]Code Context <div class="white_strip">
<i class="fa fa-comments"></i>
<?php echo $post['Post']['comment_count'];echo ($post['Post']['comment_count']>1)?" Comments":" Comment" ;?>
$viewFile = '/var/www/html/chirayuim/app/View/Posts/view.ctp'
$dataForView = array(
'tags' => array(
(int) 0 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 1 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
),
(int) 2 => array(
'Tagged' => array(
[maximum depth reached]
),
'Tag' => array(
[maximum depth reached]
),
(int) 0 => array(
[maximum depth reached]
)
)
),
'pageurl' => 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2',
'comments' => array(),
'postcategories' => array(
(int) 0 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array(
[maximum depth reached]
),
'children' => array([maximum depth reached])
),
(int) 1 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
),
(int) 2 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array(
[maximum depth reached]
),
'Post' => array([maximum depth reached]),
'children' => array(
[maximum depth reached]
)
),
(int) 3 => array(
'Postcategory' => array(
[maximum depth reached]
),
'ParentPostcategory' => array(
[maximum depth reached]
),
'ChildPostcategory' => array([maximum depth reached]),
'Post' => array([maximum depth reached]),
'children' => array([maximum depth reached])
)
),
'treePath' => array(),
'post_id' => '2',
'post' => array(),
'masterclass' => '',
'appposts' => array(
(int) 0 => array(
'Post' => array(
[maximum depth reached]
),
'Postcoverimage' => array(
[maximum depth reached]
),
'Tofriend' => array([maximum depth reached])
)
),
'regions' => array(),
'appcountries' => array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
)
$tags = array(
(int) 0 => array(
'Tagged' => array(
'tag_id' => '1'
),
'Tag' => array(
'id' => '1',
'identifier' => null,
'name' => 'Configuration',
'keyname' => 'configuration',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 1 => array(
'Tagged' => array(
'tag_id' => '2'
),
'Tag' => array(
'id' => '2',
'identifier' => null,
'name' => 'PHP5',
'keyname' => 'php5',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
),
(int) 2 => array(
'Tagged' => array(
'tag_id' => '3'
),
'Tag' => array(
'id' => '3',
'identifier' => null,
'name' => 'Apache2',
'keyname' => 'apache2',
'weight' => (float) 10,
'occurrence' => '1'
),
(int) 0 => array(
'occurrence' => '1'
)
)
)
$pageurl = 'https://chirayu.im:443/article/Errors-Warnings-and-Notices-displayed-while-running-the-PHP-source-code-in-the-browser-2'
$comments = array()
$postcategories = array(
(int) 0 => array(
'Postcategory' => array(
'id' => '5',
'parent_id' => null,
'name' => 'PHP Configuration',
'active' => '1',
'lft' => '1',
'rght' => '2',
'created' => '2015-05-06 13:24:33',
'modified' => '2015-05-06 13:24:33'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'children' => array()
),
(int) 1 => array(
'Postcategory' => array(
'id' => '6',
'parent_id' => null,
'name' => 'PHP installation',
'active' => '1',
'lft' => '3',
'rght' => '4',
'created' => '2015-05-06 13:36:53',
'modified' => '2015-05-06 13:36:53'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
),
(int) 2 => array(
'Postcategory' => array(
'id' => '7',
'parent_id' => null,
'name' => 'Web development',
'active' => '1',
'lft' => '5',
'rght' => '8',
'created' => '2015-06-06 05:44:15',
'modified' => '2015-06-06 05:44:15'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(
(int) 0 => array(
[maximum depth reached]
)
),
'Post' => array(),
'children' => array(
(int) 0 => array(
[maximum depth reached]
)
)
),
(int) 3 => array(
'Postcategory' => array(
'id' => '9',
'parent_id' => null,
'name' => 'Software Design',
'active' => '1',
'lft' => '9',
'rght' => '10',
'created' => '2017-07-12 16:27:21',
'modified' => '2017-07-12 16:27:21'
),
'ParentPostcategory' => array(
'id' => null,
'parent_id' => null,
'name' => null,
'active' => null,
'lft' => null,
'rght' => null,
'created' => null,
'modified' => null
),
'ChildPostcategory' => array(),
'Post' => array(),
'children' => array()
)
)
$treePath = array()
$post_id = '2'
$post = array()
$masterclass = ''
$appposts = array(
(int) 0 => array(
'Post' => array(
'id' => '1',
'user_id' => '1',
'title' => 'Make working together PHP 5.X with Apache web server on windows and Linux machines',
'body' => '<p>PHP has become now one of the most preferable programming languages to create small, medium and enterprise level web applications and portals ranging business from real estate to social network and job portals to retail sales. This attracts many of startup developers to develop source code in PHP. Web applications are published through the web server and Apache is considered the best friend of delivering the PHP generated web pages. Both are open sourced and community driven and available under certain license conditions depending on your use.</p>
<p>Though both of them are of open source, Apache web server installation does not contain the configuration for the PHP as its native or inbuilt. Developer or the server admin has to put efforts to work both of them together. How? Let’s review a part of the Apache web server configuration file bit closely. Identify `httpd.conf` file within your Apache web server configuration. It is mainly resides in the `conf` folder. There is a list of ‘LoadModule….’ kind of statements with their relative path looking something like,</p>
<p><strong>LoadModule actions_module modules/mod_actions.so</strong></p>
<p>This is an instruction to Apache web server for loading the module named “actions_module” and the relevant file for this module is at the “modules” folder named mod_actions.so. When the Apache starts, it reads the httpd.conf files and follows the instructions written in the file and create a web server context by loading the listed modules and other directives written in the file.</p>
<p>So now we need to ask Apache web server to load the PHP as an Apache module too and keep it in the web server context. Very easy, instruct Apache to <strong>load module</strong> with the name of <strong>“php5_module”</strong> and show where Apache can find the <strong>relevant file</strong>. So write a LoadModule line bellows the block of other LoadModule instructions are written. Typically looks like,</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p>Also specify bellow that, where is the PHP ini Directory or where the php.ini (configuration file for php) can be found.</p>
<p><strong>PHPIniDir "D:/ webdev /php5523/"</strong></p>
<p>Now it is time to instruct Apache that what extension files are to be considered as PHP source code file. Add the line bellow that is,</p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Instead of .php extension you can specify your own one if you have an access of the web server configuration. So over all the block should look like:</p>
<p><strong>LoadModule php5_module "D:/webdev/php5523/php5apache2_4.dll"</strong></p>
<p><strong>PHPIniDir "D:/webdev/php5523/"</strong></p>
<p><strong>AddHandler application/x-httpd-php .php</strong></p>
<p>Mind well, you have modified the httpd.conf file and brought new things into Apache’s context. To get this implemented working, you need to restart Apache web server.</p>
<p>This is the most common method for PHP and Apache working in combination. Another method is working PHP installed as CGI. This depends how your PHP installation should work.</p>
<p><strong><u>Using Linux!!</u></strong></p>
<p>When you install apache in any of the Linux installation, it brings the PHP provision in it. ( <em><u>installing apache2 on linux</u></em>).</p>
<p>Check for the line in the httpd.conf at /etc/httpd/</p>
<p><strong>LoadModule php5_module modules/libphp5.so</strong></p>
<p>If already there in the file, uncomment this line removing # from the starting of the line to load the PHP 5 module.</p>
<p>Now instruct Apache that what extension files are to be considered as PHP source code file. Add the block bellow in the httpd.conf file</p>
<p><strong><FilesMatch \.php$></strong></p>
<p><strong> SetHandler application/x-httpd-php</strong></p>
<p><strong></FilesMatch></strong></p>
<p>Now restart the Apache web server with</p>
<p><strong>Service httpd restart</strong></p>
<p>Listed is a common and standard technique of configuring PHP with Apache web server. If anyone fined any trouble shooting, send me the scenario which is causing trouble I may try it to get the answers for your queries.</p>
',
'created' => '2015-04-13 13:47:18',
'tags' => ''
),
'Postcoverimage' => array(
'namesmall' => null,
'namemedium' => null
),
'Tofriend' => array()
)
)
$regions = array()
$appcountries = array(
(int) 1 => 'Andorra',
(int) 2 => 'United Arab Emirates',
(int) 3 => 'Afghanistan',
(int) 4 => 'Antigua and Barbuda',
(int) 5 => 'Anguilla',
(int) 6 => 'Albania',
(int) 7 => 'Armenia',
(int) 8 => 'Netherlands Antilles',
(int) 9 => 'Angola',
(int) 12 => 'Argentina',
(int) 13 => 'American Samoa',
(int) 14 => 'Austria',
(int) 15 => 'Australia',
(int) 16 => 'Aruba',
(int) 17 => 'Azerbaijan',
(int) 18 => 'Bosnia and Herzegovina',
(int) 19 => 'Barbados',
(int) 20 => 'Bangladesh',
(int) 21 => 'Belgium',
(int) 22 => 'Burkina Faso',
(int) 23 => 'Bulgaria',
(int) 24 => 'Bahrain',
(int) 25 => 'Burundi',
(int) 26 => 'Benin',
(int) 27 => 'Bermuda',
(int) 28 => 'Brunei Darussalam',
(int) 29 => 'Bolivia',
(int) 30 => 'Brazil',
(int) 31 => 'Bahamas',
(int) 32 => 'Bhutan',
(int) 34 => 'Botswana',
(int) 35 => 'Belarus',
(int) 36 => 'Belize',
(int) 37 => 'Canada',
(int) 38 => 'Cocos (Keeling) Islands',
(int) 40 => 'Central African Republic',
(int) 41 => 'Congo',
(int) 42 => 'Switzerland',
(int) 43 => 'Cote D'Ivoire',
(int) 44 => 'Cook Islands',
(int) 45 => 'Chile',
(int) 46 => 'Cameroon',
(int) 47 => 'China',
(int) 48 => 'Colombia',
(int) 49 => 'Costa Rica',
(int) 51 => 'Cuba',
(int) 52 => 'Cape Verde',
(int) 53 => 'Christmas Island',
(int) 54 => 'Cyprus',
(int) 55 => 'Czech Republic',
(int) 56 => 'Germany',
(int) 57 => 'Djibouti',
(int) 58 => 'Denmark',
(int) 59 => 'Dominica',
(int) 60 => 'Dominican Republic',
(int) 61 => 'Algeria',
(int) 62 => 'Ecuador',
(int) 63 => 'Estonia',
(int) 64 => 'Egypt',
(int) 65 => 'Western Sahara',
(int) 66 => 'Eritrea',
(int) 67 => 'Spain',
(int) 68 => 'Ethiopia',
(int) 70 => 'Finland',
(int) 71 => 'Fiji',
(int) 72 => 'Falkland Islands (Malvinas)',
(int) 73 => 'Micronesia, Federated States of',
(int) 74 => 'Faroe Islands',
(int) 75 => 'France',
(int) 77 => 'Gabon',
(int) 78 => 'United Kingdom',
(int) 79 => 'Grenada',
(int) 80 => 'Georgia',
(int) 81 => 'French Guiana',
(int) 82 => 'Ghana',
(int) 83 => 'Gibraltar',
(int) 84 => 'Greenland',
(int) 85 => 'Gambia',
(int) 86 => 'Guinea',
(int) 87 => 'Guadeloupe',
(int) 88 => 'Equatorial Guinea',
(int) 89 => 'Greece',
(int) 90 => 'South Georgia and Sandwich Island',
(int) 91 => 'Guatemala',
(int) 93 => 'Guinea-Bissau',
(int) 94 => 'Guyana',
(int) 95 => 'Hong Kong',
(int) 97 => 'Honduras',
(int) 98 => 'Croatia',
(int) 99 => 'Haiti',
(int) 100 => 'Hungary',
(int) 101 => 'Indonesia',
(int) 102 => 'Ireland',
(int) 103 => 'Israel',
(int) 104 => 'India',
(int) 106 => 'Iraq',
(int) 107 => 'Iran, Islamic Republic of',
(int) 108 => 'Iceland',
(int) 109 => 'Italy',
(int) 110 => 'Jamaica',
(int) 111 => 'Jordan',
(int) 112 => 'Japan',
(int) 113 => 'Kenya',
(int) 114 => 'Kyrgyzstan',
(int) 115 => 'Cambodia',
(int) 116 => 'Kiribati',
(int) 117 => 'Comoros',
(int) 118 => 'Saint Kitts and Nevis',
(int) 119 => 'Korea, Democratic',
(int) 120 => 'Korea, Republic of',
(int) 121 => 'Kuwait',
(int) 122 => 'Cayman Islands',
(int) 123 => 'Kazakhstan',
(int) 124 => 'Laos',
(int) 125 => 'Lebanon',
(int) 126 => 'Saint Lucia',
(int) 127 => 'Liechtenstein',
(int) 128 => 'Sri Lanka',
(int) 129 => 'Liberia',
(int) 130 => 'Lesotho',
(int) 131 => 'Lithuania',
(int) 132 => 'Luxembourg',
(int) 133 => 'Latvia',
(int) 134 => 'Libya',
(int) 135 => 'Morocco',
(int) 136 => 'Monaco',
(int) 137 => 'Moldova',
(int) 138 => 'Madagascar',
(int) 139 => 'Marshall Islands',
(int) 140 => 'Macedonia',
(int) 141 => 'Mali',
(int) 142 => 'Myanmar',
(int) 143 => 'Mongolia',
(int) 144 => 'Macau',
(int) 145 => 'Northern Mariana Islands',
(int) 146 => 'Martinique',
(int) 147 => 'Mauritania',
(int) 148 => 'Montserrat',
(int) 149 => 'Malta',
(int) 150 => 'Mauritius',
(int) 151 => 'Maldives',
(int) 152 => 'Malawi',
(int) 153 => 'Mexico',
(int) 154 => 'Malaysia',
(int) 155 => 'Mozambique',
(int) 156 => 'Namibia',
(int) 157 => 'New Caledonia',
(int) 158 => 'Niger',
(int) 159 => 'Norfolk Island',
(int) 160 => 'Nigeria',
(int) 161 => 'Nicaragua',
(int) 162 => 'Netherlands',
(int) 163 => 'Norway',
(int) 164 => 'Nepal',
(int) 165 => 'Nauru',
(int) 166 => 'Niue',
(int) 167 => 'New Zealand',
(int) 168 => 'Oman',
(int) 169 => 'Panama',
(int) 170 => 'Peru',
(int) 171 => 'French Polynesia',
(int) 172 => 'Papua New Guinea',
(int) 173 => 'Philippines',
(int) 174 => 'Pakistan',
(int) 175 => 'Poland',
(int) 176 => 'Saint Pierre and Miquelon',
(int) 177 => 'Pitcairn',
(int) 180 => 'Portugal',
(int) 181 => 'Palau',
(int) 182 => 'Paraguay',
(int) 183 => 'Qatar',
(int) 184 => 'Reunion',
(int) 185 => 'Romania',
(int) 186 => 'Russian Federation',
(int) 187 => 'Rwanda',
(int) 188 => 'Saudi Arabia',
(int) 189 => 'Solomon Islands',
(int) 190 => 'Seychelles',
(int) 191 => 'Sudan',
(int) 192 => 'Sweden',
(int) 193 => 'Singapore',
(int) 194 => 'Saint Helena',
(int) 195 => 'Slovenia',
(int) 196 => 'Svalbard and Jan Mayen',
(int) 197 => 'Slovakia',
(int) 198 => 'Sierra Leone',
(int) 199 => 'San Marino',
(int) 200 => 'Senegal',
(int) 201 => 'Somalia',
(int) 202 => 'Suriname',
(int) 203 => 'Sao Tome and Principe',
(int) 204 => 'El Salvador',
(int) 205 => 'Syrian Arab Republic',
(int) 206 => 'Swaziland',
(int) 207 => 'Turks and Caicos Islands',
(int) 208 => 'Chad',
(int) 209 => 'French Southern Territories',
(int) 210 => 'Togo',
(int) 211 => 'Thailand',
(int) 212 => 'Tajikistan',
(int) 213 => 'Tokelau',
(int) 215 => 'Turkmenistan',
(int) 216 => 'Tunisia',
(int) 217 => 'Tonga',
(int) 218 => 'Turkey',
(int) 219 => 'Trinidad and Tobago',
(int) 220 => 'Tuvalu',
(int) 221 => 'Taiwan',
(int) 222 => 'Tanzania, United Republic',
(int) 223 => 'Ukraine',
(int) 224 => 'Uganda',
(int) 226 => 'United States',
(int) 227 => 'Uruguay',
(int) 228 => 'Uzbekistan',
(int) 230 => 'Saint Vincent and the Grenadines',
(int) 231 => 'Venezuela',
(int) 232 => 'Virgin Islands, British',
(int) 233 => 'Virgin Islands, U.S.',
(int) 234 => 'Vietnam',
(int) 235 => 'Vanuatu',
(int) 236 => 'Wallis and Futuna',
(int) 237 => 'Samoa',
(int) 238 => 'Yemen',
(int) 239 => 'Mayotte',
(int) 240 => 'South Africa',
(int) 241 => 'Zambia',
(int) 242 => 'Zaire',
(int) 243 => 'Zimbabwe'
)
$services = array(
'facebook' => 'Facebook',
'gplus' => 'Google+',
'linkedin' => 'LinkedIn',
'twitter' => 'Twitter',
'pinterest' => 'Pinterest'
)
$options = array(
'text' => 'Catch a blog post',
'title' => 'share it'
)
$linkText = 'Pinterest'
$service = 'pinterest'
$total = (int) 0
$string = ''
include - APP/View/Posts/view.ctp, line 97
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::render() - CORE/Cake/View/View.php, line 473
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 200
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167
[main] - APP/webroot/index.php, line 109
Comment
Comment