Lamp with Ampps does not recognize GetText

0

I have a code in PHP with several labels and it shows me an error, I must remove the function so that it runs, someone could help me where I should modify in the apache config or the php in the Ampps (I do not use xampp or wampp). Thanks!

The error is this:

  

Fatal error: Call to undefined function _ () in E: \ MY PERSONAL STUDIES \ PHP \ Projects_Beto \ framephp \ views \ user \ index.p html on line 11

Line 11 is: <!--<h2>TABLA DE USUARIOS</h2> --> <h2><?php _('Tabla de usuarios') ?></h2>

With the line renamed if the error is corrected it is for that function of labels to translate the gettext that I do not know how to activate it in the Ampps, but in another server where the code is advanced if it works but in my house I run it with the Ampps

    
asked by Alberto 09.05.2017 в 06:47
source

0 answers