On a fresh install of Mint 18 cinnamon, i installed, in order to use phpmyadmin, apache2, mysql and php.
But php doesn't work properly.The .php files are not parsed, and phpmyadmin doesn't work of course. Instead i can read only the code displayed.
any ideas of what's wrong ?
Thanks
PHP 7 doesn't work on linux Mint 18
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
PHP 7 doesn't work on linux Mint 18
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 20
- Posts: 12341
- Joined: Sun Aug 09, 2015 10:00 am
Re: PHP 7 doesn't work on linux Mint 18
Step by step tutorial.
Does apache work ?
http://localhost should give the apache page.
For apache logs see under /var/log folder search for apache for the logs.
https://www.howtoforge.com/tutorial/ins ... 6-04-lamp/
Does apache work ?
http://localhost should give the apache page.
For apache logs see under /var/log folder search for apache for the logs.
https://www.howtoforge.com/tutorial/ins ... 6-04-lamp/
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Re: PHP 7 doesn't work on linux Mint 18
Apache works properly ( i see /var/www/html/index.htlm) and mysql too.
I did a fresh install of Mint 18 Cinnamon. Previously i used 17 but, instead of upgrading, i preferred to do so.
I tried to install a php script (cmsimple) in the /var/www/html/ directory, it doesn't work. I think apache can't parse php files properly.
Years ago, i used linux as a server, and i knew where to seek for inappropriate configuration, for instance tell apache to parse .php files. But now, the apache configuration files are quite different, and i don't understand everything....
I did a fresh install of Mint 18 Cinnamon. Previously i used 17 but, instead of upgrading, i preferred to do so.
I tried to install a php script (cmsimple) in the /var/www/html/ directory, it doesn't work. I think apache can't parse php files properly.
Years ago, i used linux as a server, and i knew where to seek for inappropriate configuration, for instance tell apache to parse .php files. But now, the apache configuration files are quite different, and i don't understand everything....
-
- Level 20
- Posts: 12341
- Joined: Sun Aug 09, 2015 10:00 am
Re: PHP 7 doesn't work on linux Mint 18
https://httpd.apache.org/docs/current/configuring.html
http://httpd.apache.org/docs/2.4/
This is apache conifiguration. The version is 2.4
My link in the first post gives a php example you can try.
You can also post the querises in Apache forums
http://www.apachelounge.com
http://httpd.apache.org/docs/2.4/
This is apache conifiguration. The version is 2.4
My link in the first post gives a php example you can try.
You can also post the querises in Apache forums
http://www.apachelounge.com
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
[SOLVED]Re: PHP 7 doesn't work on linux Mint 18
Many thanks
I completely removed phpmyadmin and php, then reinstalled the packages.
It works fine...
I completely removed phpmyadmin and php, then reinstalled the packages.
It works fine...