Question about The PHP Group PHP
Can't get PHP to run with Apache, what could be the problem?
You could add php module to apache. you should check the httpd.conf that you have the line for php. Depending on your distribution, you might have apache compiled with php. You can check with apache2mod -M and see the output if you have it. you can check Octopus Computer Solutions blog sections they might have more information for you.
Posted on Apr 29, 2013
Php was not added to the httpd.conf
or apache wasn't restarted after they were added. You may just want to verify the following lines exsist:
AddType application/x-httpd-php .php .php4 .php3
AddType application/x-httpd-php-source .phps
Posted on Aug 05, 2008
If you want PHP to use quotation marks you have to seperate them from the ones that start the expression by a backslash(\).
Here are two examples:
WRONG: echo "A "QUOTE" AND SOME TEXT";
RIGHT: echo "A \"QUOTE\" AND SOME TEXT";
WRONG: echo 'A 'QUOTE' AND SOME TEXT';
RIGHT: echo 'A \'QUOTE\' AND SOME TEXT';
I hope this helps.
Posted on Mar 06, 2009
Tips for a great answer:
Dec 26, 2009 | Sun MySQL
Feb 26, 2009 | The PHP Group PHP
Dec 30, 2008 | The PHP Group PHP
Jul 29, 2008 | The PHP Group PHP
Oct 06, 2016 | The PHP Group PHP
804 people viewed this question
Usually answered in minutes!
Step 2: Please assign your manual to a product: