I am developing an AngularJS based website locally, connected to MySQL database using php. So I am using MAMP on a MacBook device with Apache server and phpmyadmin. Sometimes when I make modifications to html or php pages or js files (php pages do not contain html, only to make http requests from database), the changes are not reflected when I reload the website on a browser, even if I restart the server. Other times, the changes are reflected from a refresh. Many times, the changes are reflected on Chrome and not on Safari, and after a while it gets reflected on Safari. I think it is a caching problem on server. How can I solve it?
关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
MAMP 5.1 Apache服务器没有反映变化
收起
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 微信扫一扫点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
追加酬金 (90%的用户在追加酬金后获得了解决方案)
当前问题酬金
¥ 0 (可追加 ¥500)
支付方式
扫码支付
加载中...
0条回答 默认 最新
报告相同问题?
提交
- 2017-12-11 18:17回答 1 已采纳 The problem was because I was running php trough terminal! If you print_r($_SERVER) you will see t
- 2012-11-06 15:17回答 2 已采纳 Try typing instead of localhost 127.0.0.1 like 127.0.0.1/index.php
- 2011-06-25 23:52回答 1 已采纳 A couple of problems to start with: ServerName is mean to specify the host name not a URL path.
- 2021-04-15 16:09阿伊谈的博客 php \\ php5.4.3 \\ extras”中,然后我转到 php.ini 文件并在那里进行了以下更改: [browscap]; php/browscapbrowscap = extras/browscap.ini and then i ......2) 、将 PHP 目录(E:\\PHP)下的 php.ini-dist 文件...
- 2018-02-23 14:56回答 1 已采纳 So I've seen the issue. Apparently (still need to investigate), a CURL request does not get the ce
- 2015-09-28 19:40回答 1 已采纳 Turns out that you need some critical files from httpd in order to build php as a Apache modules (
- 2017-03-31 09:28回答 3 已采纳 As mentioned by @Scott in the comments under your question: Your here is the right link. Use t
- 2021-04-21 12:29Loong先生的博客 Redis环境要搭建一个本地linux服务器环境,按照网络教程依葫芦画瓢,噼里啪啦搭好后,发现redis服务怎么也弄不好,不喜欢那种明知有问题却无从下手又无能为力的感觉,碰了无数次壁以后,我决定卸载,重头来过,并尽 ......
- 2016-10-29 23:40回答 1 已采纳 Deep recommended I check the nginx logs so I did, I found the following line: [error] 14468#14504
- 2015-02-27 14:09回答 2 已采纳 Command line php (CLI) is a different executable to CGI PHP. It also uses typically a different ph
- 2014-02-17 17:20回答 1 已采纳 After ten days of searching, I finally found the answer. Apparently the issue was not WAMP- or MA
- 2011-08-05 22:57ssff1的博客 下载软件: apache2.2 和mysql5.1和wordpress 下载php软件网站http://windows.php.net/download/ 其分为VC6(用于Apache)和VC9(用于ISS)。这里使用VC6版; 安装Apache:,访问
- 2016-04-01 21:56回答 1 已采纳 The first thing that comes to mind is making sure that you hit the correct folder. The easiest way
- 2021-05-18 16:14服务器i)对于Windows最好是XAMMP- //www.apachefriends.org ii)对于Linux,最好是LAMP iii)对于Unix,最好是MAMP MySQL Windows说明: 安装XAMPP。 从XAMMP控制面板启动Web服务器和MySQL。 下载最新版本的...
- 2021-04-10 12:23你是地球人吗的博客 安装php-version source $(brew --prefix php-version)/php-version.sh && php-version 5 php-version php-version 5.6.16 //php-version切换php版本 php -v //查看php版本 So,转用Mamp,将thinkphp5访问localhost/...
- 2021-04-10 11:25枯叶蚊的博客 3.x系统要求软件环境推荐环境最低配置更多的信息PHP(Magic Quotes GPC, MB String Overload = off)(支持Zlib压缩, 支持XML, 支持INI 解析器, 支持 JSON, 支持 Mcrypt, MB Language = Default)5.6 或 7.0 +5.3.10...
- 2021-05-13 09:16QiGary的博客 选择window+wamp配置think PHP环境。 当前think PHP框架官网不再支持直接下载安装,需要采用Composer或git进行下载安装。... A指Apache服务器。 M指Mysql数据库等... P指PHP或Python服务端语言及环境。 VC++依.
- 2018-11-15 20:14bo o ya ka的博客 http://xclient.info/s/mamp-pro.html?t=4e60e3c234937f46b33e6b15eeafeb5ee326afa4 MAMP Pro 5.1 集成web服务器环境 转载于:https://www.cnblogs.com/kaibindirver/p/9965826.html
- 2019-09-27 10:36众拾达人的博客 Mysql数据库Mac安装 https://www.cnblogs.com/yanlin-10/p/9388911.html Tp5安装 方式一:...方式二:composer(php依赖管理工具)安装 1.创建项目名称 2.cd 项目根目录 3.终端 composer create-pr...
- 2019-04-21 13:56systemino的博客 强调一点,在通过$_SERVER['PATH_INFO']获取值时,系统会把’\'自动转换为’/'(这个特性我在Mac Os(MAMP)、Windows(phpstudy)、Linux(php+apache)环境及php5.x、7.x中进行了测试,都会自动转换,所以系统及版本之间...
- 没有解决我的问题, 去提问
悬赏问题
- ¥15 基于卷积神经网络的声纹识别
- ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
- ¥100 为什么这个恒流源电路不能恒流?
- ¥15 有偿求跨组件数据流路径图
- ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
- ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
- ¥15 CSAPPattacklab
- ¥15 一直显示正在等待HID—ISP
- ¥15 Python turtle 画图
- ¥15 stm32开发clion时遇到的编译问题