Skip to content
Advertisement

PHP not redirecting on Ubuntu Server

I’ve built a website login form on my local Windows machine that works perfectly but when deployed on an Ubuntu web server, the login for redirects to /login.php#

Below is the code used –

JavaScript

LDAP has been uncommented from the extensions section in php.ini on the Ubuntu server.

Is there something Linux specific I’m missing here?

Many thanks, Craig

Advertisement

Answer

So after a lot of playing with the code and banging my head, I realised that I hadn’t installed php_ldap on the new Ubuntu server!

Installed that and the old Windows code worked a charm straight away

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement