最赞回答 / 慕田峪746875
$m1 = memory_get_usage() 这句话意思好比 你现在全身上下有100块钱 然后$var_string = "123" 好比 给你 xxx 块钱 那么 现在你有$m2 = memory_get_usage() 就是xxx + 100 那么echo $m2 = memory_get_usage()-$m1; 就是算 xxx等于多少
2018-06-03
最赞回答 / 呵_为学而学
改完视频中说的配置文件后,还需要改第二个文件:【httpd-vhosts.conf】,j详情见安装目录\bin\apache\apache2.4.23\conf\extra\httpd-vhosts.conf,如果找不到可以在安装目录下搜索这个文件(注意是extra文件夹里的httpd-vhosts.conf) 然后替换掉: DocumentRoot D:/wamp64/www/ <Directory "D:/wamp64/www/">就可以了
2018-06-02
最赞回答 / 影子好怕黑
将apache下的httpd.conf中的# Virtual hosts下面的Include conf/extra/httpd-vhosts.conf改为#Include conf/extra/httpd-vhosts.conf 就可以了 因为启用了虚拟路径。
2018-05-31