Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Bug? phpMyAdmin - php.ini -> max_execution_time - var scope (12 replies)

$
0
0
Hello,

I am very confused and frustrated about this issue I encountered. I am trying to solve this for many hours since yesterday.

This is NOT an ordinary issue! I tried every possible solution I could find on the net, but nothing worked. Something strange happend (see below).

So I'm on WAMP 3.1.9 which I installed 2 days ago, and while trying to import a MySQL dump back into a database via phpMyAdmin the script times out after 360 seconds.

I edited every possible php.ini file - yes, I checked phpinfo() and located the php.ini in use:

-WAMP\bin\php\php7.2.18\php.ini => max_input_time = 3600 => didn't do anything
-WAMP\bin\php\php7.2.18\phpForApache.ini => max_input_time = 3600 => didn't do anything
-WAMP\alias\phpmyadmin.conf => php_admin_value max_execution_time 3600 => didn't do anything
-WAMP\apps\phpmyadmin4.8.5\config.inc.php => $cfg['ExecTimeLimit'] = 3600 => didn't do anything
-WAMP\apps\phpmyadmin4.8.5\import.php => added ini_set('max_execution_time',3600) => didn't do anything
-switched to PHP version 5.6.40 and 7.3.5 => didn't do anything
-edited few more files I can't remember now in directories deep down => didn't do anything
-added .htaccess file inside \phpmyadmin4.8.5\ directory trying to increase time limit there => didn't do anything

Then I started to DEBUG the error which I should have done in the first place, but who would expect such a nightmare - it should only be a simple setting in a config file. A few more hours spent.

So here now is the strange conclusion I came to:

Running phpinfo() in a CLEAN file without ANY other code... I get under...
CORE -> max_execution_time:

file run inside the 'www' directory:
Local Value: 3600 (from \php7.2.18\phpForApache.ini) - confirmed file
Master Value: 3600 (from \php7.2.18\phpForApache.ini) - confirmed file

file run inside the 'phpmyadmin4.8.5' directory:
Local Value: 360 (changed 'somewhere' !!!!!)
Master Value: 3600 (from \php7.2.18\phpForApache.ini) - confirmed file

So this now is REALLY strange! I even scanned WAMP's folders doing a text search for '360' on all files, but nothing useful was found either. Although a DLL that I didn't look at any further.

Is this a bug? Hardcoded error? Variable scopes? Or what else could be the reason? As you can tell, I am pulling my hair out over this.

Thank you!

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>