Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

227
Views
La actualización a php7.1 devuelve la página del código de eco en lugar del diseño

ingrese la descripción de la imagen aquí

Estoy usando cakePhp y tuve que instalar todo recién. Antes de actualizar, todo funcionaba bien, pero luego saqué del repositorio y decía que necesitaba 7, así que actualicé y ahora obtengo esto.

cake y phpinfo dicen que es lo mismo

ingrese la descripción de la imagen aquí

luego, si trato de cambiar la dirección de / a /phpmyadmin, estas son las variantes que obtengo

 require dirname(__DIR__) . '/config/bootstrap.php'; use Cake\Network\Request; use Cake\Network\Response; use Cake\Routing\DispatcherFactory; $dispatcher = DispatcherFactory::create(); $dispatcher->dispatch( Request::createFromGlobals(), new Response() );

y

 require dirname(__DIR__) . '/vendor/autoload.php'; use App\Application; use Cake\Http\Server; // Bind your application to the server. $server = new Server(new Application(dirname(__DIR__) . '/config')); // Run the request/response through the application // and emit the response. $server->emit($server->run());
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Es posible que deba deshabilitar la versión anterior de php que usa Apache y habilitar el nuevo mod. Verifique el contenido de /etc/apache2/mods-enabled . Debería ver php7.1.conf y php7.1.load . Si no, intente habilitarlos usando sudo a2enmod php7.1 y sudo service apache2 restart .

También asegúrese de que las modificaciones antiguas estén deshabilitadas. Si estuviera actualizando desde php 5, usaría sudo a2dismod php5 y luego reiniciaría apache.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!