从默认的httpd.conf到更新主机文件和httpd.conf,我试过了,但是网站未能打开域名
在主机文件中
<my current public ip address> <domain name>
在httpd.conf中
Listen [my public ip]:port
然后重新启动wamp服务器,最后重新启动PC机,并在此基础上对ip进行了相应的修改。但是没有用请帮忙谢谢你的时间和回应
我在WAMP服务器下为移动站点创建了一个子域,它使用IP地址作为域名,即192.168.106.1。
但是问题是,当我试图在我的.htaccess文件中重写一个url时,我没有工作。我使用一个复制的.htaccess文件,该文件适用于localhost
下面是我在httpd.conf文件中域名的服务器配置
<VirtualHost 192.168.106.1>
#LoadModule rewrite_module modules/mod_rewrite.so
# The name to respond to
ServerName m.localhost
# Folder where
我正在将一个表迁移到数据库。
C:\wamp\www\laravel>php工匠迁移
Fatal error: Uncaught exception 'ReflectionException' with message 'Class App\Co
nsole\Kernel does not exist' in C:\wamp\www\laravel\vendor\laravel\framework\src
\Illuminate\Container\Container.php on line 736
ReflectionException: Class A
当我编写=>代码时
if((isset($filename1))){
print_r(array_values($filename1));
$file_name=$filename1['file_name'];
echo $file_name." this is file_name<br>";
echo $filename1['file_name']."This isdirectly from the array <br>";
}
我得到了以下输出: put和e