Home >Backend Development >PHP Tutorial >php cannot load mysql extension_PHP tutorial
After working on it all day today, I finally solved the problem under win2003. LoadModule php5_module E:serverphp528php5apache2_2.dll Some friends may also know that after adding this sentence, there is no need to copy php.ini to the system directory: PHPIniDir E:serverphp528php.ini Now let me talk about the way to avoid copying libmysql.dll to the system directory, which is to add this sentence before loading php5_module: LoadFile "E:serverphp528libmysql.dll"