Hello,
On our test instance of projeqtor that we use for every update, we noticed that after updating PHP from 8.2 to 8.4 (we jumped a version since we don't update every time it happens)
Apparently, PHP 8.3 and above have deprecated ldap_connection from
ldap_connect($host, $port)
to
ldap_connect("ldap://$host:$port??369")
at least from whatI could see in the projeqtor log file Any idea how I could correct that ?
Since changing code in the projeqtor file will be overwritten next update I do ?
Thank you
Hello,
Thanks for telling us.
Actually, the technical requirements advice to use only 8.3 version of PHP.
Your comment will be taken into consideration for future updates.
Have a nice day.
Thank you for the swift answer
I will see with my colleague and try using 8.3 only
maybe something in 8.4 was more deprecated than 8.3
if not, we can just wait until a Projeqtor Update has a fix for it
Thank you again
We tried to fix some issues for PHP 8.4 compatibility on ProjeQtOr V12.4.1
So first, versions of ProjeQtOr before V12.4.1 won't be compatible at all with PHP 8.4
There are meny deprecations on V12.4 that are commonly used on many php developments.
We did not notice the issue with LDAP.
We'll check this.
Note that you can just configure PHP to remove deprecation notice 😉
Thank you for the quick update
We will see on our end how it goes
Have a good day
I just checked : ProjeQtOr is already compatible with new ldap_connect syntax.
Old stlye syntax is deprecated since PHP 8.3 and has been fixed on ProjeQtOr V11.2.0 almost 2 years ago (Ticket #8079)
So you may be using a quite old version of ProjeQtOr, V11.1 or older.
V11.1.0 was deployed on december 2023, when PHP 8.3 was just brand new.
Don't expect this version to be compatible with PHP V8.4
So please remeber that we only support last stable release on this forum for free support.
If you need support for older version, have a look at our accurate and very reactive professional support service.
Weirdly enough, my projeqtor on this instance is on 12.3.3, as I never go to the current one (12.4.1), I'm always using the previous stable version
I'll update PHP to 8.3 and 8.4 again and record the log as I forgot to do it before reverting to a backup
Thank you
Hello again, (sorry for the wait)
Here are the information about our testing instance (the one we update first to see if everything work)
Debian 13.3
PHP 8.2.29
Projeqtor 12.4.4
The problems I encounter are as follow
after updating to PHP 8.4 (8.4 now since it got a new version since) and adding all the extentions back (and reconfiguring the php.ini)
I can't log in and get this error in the log
I had forgotten to re-add the LDAP extention for PHP (2 first lines)
and then it tells me I have this problem of ldap°connect with two arguments
This is the ldap config in Projeqtor
Also, There doesn't seem to be any mail being sent anywhere on any of my Projeqtor instance since a few month
even using the test send in the global settings in Projeqtor to myself (and 0 error recorded, its green and all)
Openssl is installed properly and it worked before
Your configuration still expects non uri format.
Just add in parameters.php
$ldapFormatUri=true;


