Problem Description
Several mathematics professors were using multiple instances of Open Conference Systems (OCS) to preserve and publish scientific articles, conference papers, and academic materials. These platforms contained valuable historical and scholarly content that needed to remain publicly available for consultation.
However, OCS is an older system originally designed to run on legacy PHP versions, mainly PHP 7.4 or earlier. The new hosting servers no longer support the installation of PHP 7.4, which created a compatibility problem. As a result, the existing OCS instances could not run correctly in the new server environment.
Another option considered was migrating the content from the old OCS system to a newer platform such as Open Journal Systems (OJS). However, this migration was not feasible because the structure, purpose, and data organization of the old OCS installations were different from the current OJS platform. Migrating the content would have required a complex process with a high risk of data loss, broken links, or incomplete preservation of the academic materials.
For this reason, the decision was made to keep the original OCS system and update its codebase so it could run on PHP 8.3.
Solution Implemented
To solve the problem, Codex was used as a development assistant to analyze the legacy OCS code and identify the changes required for PHP 8.3 compatibility. The process involved reviewing deprecated functions, correcting syntax errors, updating incompatible code patterns, and making adjustments in the application logic where necessary.
The main goal was not to redesign the system or migrate the information to a new platform, but to preserve the existing OCS instances and make them functional in a modern server environment. This allowed the professors to continue providing access to their scientific articles and academic conference materials without losing the original structure of the system.
Final Description
The project consisted of porting a legacy Open Conference Systems (OCS) application to make it compatible with PHP 8.3. The system contained several academic conference instances managed by mathematics professors, including scientific articles and conference papers that needed to remain available online.
The main problem was that the new servers no longer allowed the installation of PHP 7.4, which was required by the original OCS software. Since migrating the content to a newer platform such as OJS was not technically viable, the chosen solution was to update the existing OCS codebase.
Using Codex, the application was reviewed and modified to resolve compatibility issues with PHP 8.3. This included updating deprecated functions, fixing errors caused by changes in PHP behavior, and adapting the legacy code so the system could continue operating on modern infrastructure.
As a result, the academic content remained accessible, the original structure of the OCS instances was preserved, and the application was successfully adapted to a current server environment.
You can get a zip on one of the ocs instance at: https://xiii.ciaem-redumate.org/ocs_232_php83_port_aaron_castillo_codex_20260529.zip