“undefined symbol: SSL_alert_desc_string_long error” when starting the httpd 2.2 with PHP7.3

I get below error when I start apache/httpd 2.2 with php7.3 on ubuntu 18x .

Any help on this is much appreciated

httpd: Syntax error on line 1 of /php-e2etests/build/runtime-logs/phpagent/sanity/HandleInfoCrash/apache2/scratch/conf: Cannot load /php-e2etests/build/runtime-logs/.cache/php/php-7.3.0-62/lib/httpd/2.2/libphp73.so into server: /php-e2etests/build/runtime-logs/.cache/php/php-7.3.0-62/lib/httpd/2.2/libphp73.so: undefined symbol: SSL_alert_desc_string_long

I tried using different libphp73.so from official php site and placed it in httpd and when i start it, i get below error:

httpd: Syntax error on line 1 of /home/appdynamics/Desktop/php-e2etests/build/runtime-logs/phpagent/sanity/BTLimits/testOne/apache2/scratch/conf: Cannot load /home/xyz/Desktop/php-e2etests/build/runtime-logs/.cache/php/php-7.3.0-62/lib/httpd/2.2/libphp73.so into server: /home/xyz/Desktop/php-e2etests/build/runtime-logs/.cache/php/php-7.3.0-62/lib/httpd/2.2/libphp73.so: undefined symbol: ap_log_error_

The same setup when done on macos, things work fine (both the above cases). The issue is seen only on Linux Ubuntu 18x