Add a check for the php5-json extension (some Ubuntu based linux don't have it installed automatically). Reported by Mario.
This commit is contained in:
		
							parent
							
								
									04dfef3222
								
							
						
					
					
						commit
						81fbe584db
					
				
					 1 changed files with 12 additions and 0 deletions
				
			
		|  | @ -85,6 +85,18 @@ | |||
|             ?>
 | ||||
|             </h4> | ||||
|         </article> | ||||
|         <article class="frontpage"> | ||||
|             <h2>Check if Json is properly installed and loaded</h2> | ||||
|             <h4> | ||||
|             <?php | ||||
|             if (extension_loaded('json')) { | ||||
|                 echo "OK"; | ||||
|             } else { | ||||
|                 echo "Please install the php5-json extension and make sure it's enabled"; | ||||
|             } | ||||
|             ?>
 | ||||
|             </h4> | ||||
|         </article> | ||||
|         <article class="frontpage"> | ||||
|             <h2>Check if mbstring is properly installed and loaded</h2> | ||||
|             <h4> | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue