The PHP Group PHP Logo

Related Topics:

Anonymous Posted on Aug 05, 2008

PHP doesn't work with Apache

Can't get PHP to run with Apache, what could be the problem?

2 Answers

Anonymous

Level 1:

An expert who has achieved level 1.

New Friend:

An expert that has 1 follower.

  • Contributor 3 Answers
  • Posted on Apr 29, 2013
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

New Friend:

An expert that has 1 follower.

Joined: Apr 29, 2013
Answers
3
Questions
0
Helped
1343
Points
3

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.

Anonymous

Level 3:

An expert who has achieved level 3 by getting 1000 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

  • Master 659 Answers
  • Posted on Aug 05, 2008
Anonymous
Master
Level 3:

An expert who has achieved level 3 by getting 1000 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

Vice President:

An expert whose answer got voted for 100 times.

Joined: Aug 01, 2008
Answers
659
Questions
1
Helped
232989
Points
1786

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

Ad

2 Related Answers

Anonymous

  • 83 Answers
  • Posted on Aug 28, 2008

SOURCE: PHP apache Problems

Hi , You need To download
Appserver To Work Well
Download link

Ad

Anonymous

  • 23 Answers
  • Posted on Mar 06, 2009

SOURCE: PHP issues with ''''... Please help!!!

Hello.

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";

or

WRONG: echo 'A 'QUOTE' AND SOME TEXT';
RIGHT: echo 'A \'QUOTE\' AND SOME TEXT';

I hope this helps.

Kind Regards,
Wilhelm@X-ex.info

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

864 views

Ask a Question

Usually answered in minutes!

Top The PHP Group Computers & Internet Experts

Rob Hill
Rob Hill

Level 3 Expert

1483 Answers

Nikole Brown
Nikole Brown

Level 2 Expert

124 Answers

Syed Bilal
Syed Bilal

Level 3 Expert

252 Answers

Are you a The PHP Group Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...