Using tasksel I installed LAMP. Apache server displays 'it works' page. From the terminal php --version shows 5.5.9. But php does not display the test.php page I created. View source shows it's there.
One video instructs to add # include /etc/php5/apache.conf to apache2.conf. Restarted server, no joy. Also looked and there is no /etc/php5/apache.conf file, so that seems like a wasted step.
What am I missing?
php5 not running after lamp installation - Solved
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.
php5 not running after lamp installation - Solved
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times 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.
Re: php5 not running after lamp installation
Solved. A typo in my php code, I'm embarrassed.
Re: php5 not running after lamp installation
You're not coding if you're not making a few "oops" .
-DataMan
-DataMan
Re: php5 not running after lamp installation
yeah, I know how that feels...gary6754 wrote:Solved. A typo in my php code, I'm embarrassed.
When you can't find the cause of problems, work out your brain in max and start storming on various forums with ultimate desperation and finally found a silly and small error/typo in your code, which was causing all those commotion, then apologizing for all the inconvenience you caused throughout the world, is really embarrassing.......
But don't worry, it's natural...