PHP modules don't load after installing PHP 7 to my server
<p>I installed PHP 7 to my server (as a result, I have not /etc/php5 and /etc/php/7.0). When I run my web app, I cant see any of my previous CURL (or fork). </p>

<p>at first I got this err msg: </p>

<blockquote>
  <p>Message: Call to undefined function curl_init()</p>
</blockquote>

<p>and after installing php7-curl i get it enabled - approved on info() function and this test code: </p>

<pre><code>var_dump(_isCurl());
function _isCurl(){
    return function_exists('curl_version');
}
</code></pre>

<p>returning TRUE. </p>

<p>but when having an actual CURL in my code I get this error: </p>

<blockquote>
  <p>PHP Warning:  PHP Startup: Unable to load dynamic library
  '/usr/lib/php/20151012/php_curl.dll' -
  /usr/lib/php/20151012/php_curl.dll: cannot open shared object file: No
  such file or directory in Unknown on line 0</p>
</blockquote>

<p>in <code>/usr/lib/php/20151012/</code> i have only <code>.so</code> files which doesn't make sense. (same goes for the <code>/usr/lib/php5/20131226</code> folder). So what is it trying to get and why from  there? </p>

<p>how can I configure my new php.ini file to get the previous model settings? (if possible with the enabled PCNTL_FORK too) How can I make it work with curl? what the hell happened???</p>

<p><strong>EDIT 04.05.2016:</strong> </p>

<p>Ok, i decided to change it to <code>curl.so</code> and now got this msg <code>PHP Warning:  Module 'curl' already loaded in Unknown on line 0</code> and then I disabled it, and somehow, curl now is working (commented curl <code>;extension:curl.so</code> and <code>;extension:php_curl.dll</code>. 
What the hell. </p>