Breaking News
Home / Tag Archives: MAMP

Tag Archives: MAMP

Howto disable MAMP PHP script cache?

Mamp

MAMP 2.2 uses OPCache to cache PHP scripts. So if you make a change to your PHP script, and execute the script in the browser, you will not see your change right away. Looking at the OPCache configuration in MAMP (as defined in php.ini), the cache timeout interval is set …

Read More »

Warning: mysql_connect(): [2002] No such file or directory

Issue Warning: mysql_connect(): [2002] No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) in /Users/Mvohra/Sites/projects/webservices/apps/functions.php on line 8 Warning: mysql_connect(): No such file or directory in /Users/Mvohra/Sites/projects/webservices/apps/functions.php on line 8 Could not connect: No such file or directorymymac:admin Diagnosis When trying to connect to mysql database using PHP, it …

Read More »
Advertisment ad adsense adlogger