

You can use PHP with Apache, Nginx, and a few other open-source web servers.

PHP supports and works with many types of web servers. Popular CMS frameworks like WordPress, Magento, Drupal, and many others, are written in PHP. Still attempting to dig more into this, and it appears that the curl.so file its looking for is located in '/usr/lib/php/20170718'.This post shows students and new users steps to install and use PHP server-side programming languages on Ubuntu Linux with Apache or Nginx to support content management systems (CMS) written in PHP. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20160303/curl.so' – /usr/lib/php/20160303/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0 Looking in the apache2 error.log when i restart the service, i see the following: PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /var/trace:\n#0 \n thrown in /var/on line 4 If i try running my php code, i find in my logs: If i try the code given on to check the curl module state, it says its disabled. I have tried to enable the extension in the php.ini using extension=php_curl.dll, and also extension=curl, with no luck. I have ensured that i have used sudo apt-get install curl php7.2-curl which installed without issue, and have then restarted the apache service using sudo service apache2 restart.

No matter what i seem to do, i cannot get anything sort of curl-related commands to work within php, which is very frustrating. : How to enable and disable PHP curl module with Apache on Ubuntu Linux StackOverflow: install cURL in php 7 (ubuntu14.04) StackOverflow: How do I install the ext-curl extension with PHP 7? i have been using methods to attempt this that i have found documented in several places:

So right now, i am attempting to enable php-curl within my apache2 server on Ubuntu 18.04 to allow an iframe to display an external site page.
