php5 not running after lamp installation - Solved

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
gary6754

php5 not running after lamp installation - Solved

Post by gary6754 »

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?
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.
gary6754

Re: php5 not running after lamp installation

Post by gary6754 »

Solved. A typo in my php code, I'm embarrassed.
DataMan

Re: php5 not running after lamp installation

Post by DataMan »

You're not coding if you're not making a few "oops" :lol: .

-DataMan
jahid

Re: php5 not running after lamp installation

Post by jahid »

gary6754 wrote:Solved. A typo in my php code, I'm embarrassed.
yeah, I know how that feels...

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...
Locked

Return to “Software & Applications”