eZ Platform Discussions

Problems after install - can´t get it up & running

Hi!

After some troubles during install on a root server I finally get the process running without any error.

I copied the apache2 config templae and modified it to my own system.

All worked.

But if I call the URL in Browser all I get in browser is:

server->get(‘REMOTE_ADDR’)], Request::HEADER_X_FORWARDED_ALL); } else { Request::setTrustedProxies(explode(’,’, $trustedProxies), Request::HEADER_X_FORWARDED_ALL); } } $response = $kernel->handle($request); $response->send(); $kernel->terminate($request, $response);

Any hint for me how to fix this?

Thanks,
Kai

It seems that mod php is not correctly loaded. If you are using apache prefork mode check if you have:
/etc/apache2/mods-enabled/php<version>.load already there otherwise:

sudo a2enmod php<version> and restart apache.

To check if everything is working like expected, you can try to add echo phpinfo(); to /var/www/html/index.php and check if you can see the correct information.

Note: To achieve better performance you can you use apache event mode with php-fpm or start using nginx with php-fpm.

1 Like