简体   繁体   English

我无法将Drupal迁移到本地服务器

[英]I can't migrate drupal to my local server

I need to build a development environment on my computer for a drupal project with code from other developers to improve it. 我需要在计算机上构建一个Drupal项目的开发环境,并使用其他开发人员的代码进行改进。 I edited my /etc/hosts and httpd-vhosts.conf, create tables in my database with a script in phpmyadmin and change the data connection in /sites/default/settings.php but by putting page.dev:8888 in my browser, it shows me the index.php file php code Also, when I write page.dev:8888/phpinfo.php in my browser shows me this: 我编辑了/ etc / hosts和httpd-vhosts.conf,使用phpmyadmin中的脚本在数据库中创建表,并在/sites/default/settings.php中更改了数据连接,但是将page.dev:8888放在了浏览器中,它向我显示了index.php文件php代码另外,当我在浏览器中编写page.dev:8888/phpinfo.php时,也向我显示了这一点:

<?php echo phpinfo (); ?>

My system is a mac and localserver with xampp. 我的系统是Mac和带有xampp的localserver。

I'm going crazy with this 我为此而疯狂

Sorry for my English, I'm Spanish 对不起我的英语,我是西班牙语

PHP is just not doing its job. PHP只是没有做好工作。 PHP should be interpreting the script. PHP应该在解释脚本。

I am certain that you have not installed PHP right or started PHP. 我确定您没有正确安装PHP或未启动PHP。

Check PHP installation manuals. 查看PHP安装手册。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM