Reputation: 519
The title describes the question.
I have PHP installed, Apache, MySQL and also phpMyAdmin in the htdocs folder of Apache. I installed them separately and do not use a compilation package. I did try to create a php file with phpinfo, which works and showcases that PHP is installed properly, though when I access:
localhost/phpmyadmin/setup/index.php
The file becomes opened in the browser and does not get executed, which means I am seeing the source code - though the same does not happen with phpinfo php file.
Any ideas why?
Upvotes: 0
Views: 3419
Reputation: 482
Check that php short tags are enabled in the php.ini. If that senario stands, restart apache and you will be ok.
Upvotes: 2