Does not execute PHP files only shows the content

9 views
Skip to first unread message

Giannino Di Tizio A.

unread,
Dec 5, 2017, 4:50:39 PM12/5/17
to Vagrant
Hello,
I'm new to this vagrant.

After having downloaded vagrant ver. 2.0.1 and having generated with puphpet a machine for VirtualBox with Ubuntu 16.04, Apache, PHP 5.6 and MySql 5.7.
Up to here everything ok, the localhost runs well.

but when trying to execute scripts file in PHP, it does not run and only shows the content of the script on the screen.

a file as basic as: infophp.php

<?php
   phpinfo ();
?>

it does not run. and it only shows the content of the script.

Any ideas of what is left to do?


Alvaro Miranda Aguilera

unread,
Dec 5, 2017, 6:34:18 PM12/5/17
to vagra...@googlegroups.com
that means the webserver is not processing php.

perhaps open an issue in puphpet?

Alvaro

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/7b0e8a6a-d4de-4063-acb4-9f90b2bd6f4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Giannino Di Tizio A.

unread,
Dec 6, 2017, 10:58:16 AM12/6/17
to Vagrant
Thanks Alvaro


El martes, 5 de diciembre de 2017, 19:34:18 (UTC-4), Alvaro Miranda Aguilera escribió:
that means the webserver is not processing php.

perhaps open an issue in puphpet?

Alvaro
On Tue, Dec 5, 2017 at 10:50 PM, Giannino Di Tizio A. <gdit...@gmail.com> wrote:
Hello,
I'm new to this vagrant.

After having downloaded vagrant ver. 2.0.1 and having generated with puphpet a machine for VirtualBox with Ubuntu 16.04, Apache, PHP 5.6 and MySql 5.7.
Up to here everything ok, the localhost runs well.

but when trying to execute scripts file in PHP, it does not run and only shows the content of the script on the screen.

a file as basic as: infophp.php

<?php
   phpinfo ();
?>

it does not run. and it only shows the content of the script.

Any ideas of what is left to do?


--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages