mamp

How do you change php.ini values in MAMP Pro?

守給你的承諾、 提交于 2021-02-18 05:38:28
问题 MAMP Pro has separate php.ini files for each PHP version but when I edit the file and restart the server nothing has actually changed. Specifically I'm trying to change PHP upload values: post_max_size = 256M upload_max_filesize = 256M max_execution_time = 300 max_input_time = 300 memory_limit = 512M But I have tried changing other php.ini values as a test but those changes aren't respected by PHP either. 回答1: It turns out that browsing to the files and editing them directly is not the best

Localhost Coldfusion install showing cfquery parameters on page (Not speaking with ODBC)

此生再无相见时 提交于 2021-02-11 14:38:32
问题 Goal: Run cfquery of remote server on local Coldfusion install. Problem/Symptoms: The cfquery parameters are printing onto the screen, instead of running query on remote.Example of cfquery parameter printout on screen Facts: Running Mac OS X Mojave (10.14.3). Coldfusion is installed. I can access the CF Admin panel at http://localhost:8500/CFIDE/administrator/index.cfm Data Source is installed in Coldfusion Admin and status is "OK" Using Mamp Pro 5.3. It's running -- can start and stop Apache

Unable to see folder directory in localhost

南笙酒味 提交于 2021-02-11 08:12:29
问题 I am trying to get a website to run locally on my Mac. I have installed MAMP and both Apache and MySQL Servers are running. I have tested MAMP and got the initial "Welcome" message where they tell you all is fine and to delete the default index.php file from MAMAP/htdocs. I delete this file and in MAMP/htdocs I create a test folder called Hello and the folder for the website called Want. The website I am trying to run locally is an existing website and I have FTP access to the code. I have

Unable to see folder directory in localhost

风流意气都作罢 提交于 2021-02-11 08:11:38
问题 I am trying to get a website to run locally on my Mac. I have installed MAMP and both Apache and MySQL Servers are running. I have tested MAMP and got the initial "Welcome" message where they tell you all is fine and to delete the default index.php file from MAMAP/htdocs. I delete this file and in MAMP/htdocs I create a test folder called Hello and the folder for the website called Want. The website I am trying to run locally is an existing website and I have FTP access to the code. I have

Why my cookie not showing up on linked page?

陌路散爱 提交于 2021-02-05 09:28:40
问题 very simple question. This is my index.php: <?php setcookie("testcookie", "i am value of cookie", 86400, '/'); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <a href="newpage.php">go to next</a> </body> </html> this is my newpage.php: <?php echo "ok ok "; echo $_COOKIE["testcookie"]; ?> My second page echoes "ok

How to run php file in Live Preview on Adobe Brackets?

五迷三道 提交于 2021-01-29 07:20:49
问题 I can't use Live Preview on Brackets for my php file. Yes, it's set to php at the bottom right but it still doesn't run. All I get is an error message: "to launch live preview wit a server side file, you need to specify a base URL" I am running my localhost:8888 with MAMP but even when I enter that into the baseURL it still doesn't preview? EDIT: I've figured out the problem - I forgot to put my php file into the htdocs folder in MAMP. Now, the problem is that it simply doesn't OPEN when I

MAMP: where is localhost's index.html?

早过忘川 提交于 2021-01-29 02:40:58
问题 Where is MAMP's default index.html ("It works!") file installed? My MAMP installation works fine for localhost:8888. However I am unable to find (on my machine) the index.html that is served when I type just "localhost". I looked specifically in /opt/local/apache2/htdocs and in /Applications/MAMP/htdocs and changed the index.html files that I found there. However, localhost keeps displaying "It works!" and nothing else. I even renamed index.html but "It works!" is still displayed. According

How to access remote server with local MAMP

不问归期 提交于 2021-01-28 07:05:47
问题 I want to access my remote server database from my system through PHPMyAdmin. I am using MAMP in my system 回答1: This is actually quite easy, all you need to do is edit the phpmyadmin config file and restart MAMP servers. Locate config file. Mine is here: /Applications/MAMP/bin/phpMyAdmin/config.inc.php Edit it to add a new server config (I put it at end of server 1). See this answer for the lines that need adding. Restart servers from MAMP. You get a drop down of both servers (localhost and

Cannot remove index.php from urls using Codeigniter on MAC OSX

微笑、不失礼 提交于 2021-01-28 05:47:50
问题 I just bought a Mac-pro with Mavericks 10.9.1 and before that I was working on pc with Windows 7. I created a project under the windows 7 OS and now I want to import it to OSX, the import was successful apart from the .htaccess file. I can't remove index.php from my urls. I have MAMP installed and my urls only work if I use index.php : don't work : (localhost/~username/feel/products) work : (localhost/~username/feel/index.php/products) I tried all the options of RewriteEngine, RewriteCond and

Cannot find old MySQL databases after upgrading MAMP

时间秒杀一切 提交于 2021-01-23 11:07:09
问题 I installed Yosemite Renamed MAMP to MAMP_old Did a clean install of MAMP Copied the db folder from old into the the new one Now none of my databases appear in PHPMyAdmin Inside the db/mysql folder I see the folder for my old databases, but there are no sql files. For example a Wordpress folder contains .frm files and db.opt files. I tried doing this (using the link below), but I don't seem to have a mysql folder usr/local/ /usr/local/mysql/bin/mysqldump -u root -p[pass] [db] > [filename].sql