documentroot "d:/develop/upupw/htdocs/tp5/public"
servername testtp5.com:80
serveralias 127.0.0.1 localhost
serveradmin webmaster@testtp5.com
directoryindex index.html index.htm index.php default.php app.php
errorlog logs/testtp5.com-error.log
customlog logs/testtp5.com-access_%y%m%d.log comonvhost
php_admin_value open_basedir "d:\develop\upupw\htdocs\tp5\public\;d:\develop\upupw\memcached\;d:\develop\upupw\phpmyadmin\;d:\develop\upupw\temp\;c:\windows\temp\"
options followsymlinks
allowoverride all
require all granted
require all denied
require all denied
但是这样可以访问http://127.0.0.1/tp5/public/index.php
把这路径改了试试:php_admin_value open_basedir " D:\develop\upupw\htdocs\tp5\public\;D:\develop\upupw\memcached\;D:\develop\upupw\phpmyadmin\;D:\develop\upupw\temp\;C:\Windows\Temp\"
把这路径改了试试:php_admin_value open_basedir " D:\develop\upupw\htdocs\tp5\public\;D:\develop\upupw\memcached\;D:\develop\upupw\phpmyadmin\;D:\develop\upupw\temp\;C:\Windows\Temp\"
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号