Question about The PHP Group PHP

2 Answers

PHP doesn't work with Apache

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

Posted by on

2 Answers

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 3 Answers

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

  • 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

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

3 Suggested Answers

fix-shad0
  • 83 Answers

SOURCE: PHP apache Problems

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

Posted on Aug 28, 2008

Wilhelm_I
  • 23 Answers

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

Posted on Mar 06, 2009

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

1 Answer

Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at us.mg1.mail.yahoo.com Port 80 This is the 404 Not Found message that I get when I log into Yahoo Mail from my home computer. I can...


The Yahoo Server is facing problem with its Apache web service, this service is not working, you do not need to be anxious about this problem, the Yahoo Technical Team will take its notice soon and will remove the problem.

Jul 18, 2011 | Computers & Internet

1 Answer

"Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch


Is this a problem with your router? That seems to be an error message with the Yahoo server, not a router issue.

Mar 05, 2011 | Computers & Internet

1 Answer

Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at us.mg60.mail.yahoo.com Port 8


Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch Server at Port 80

Feb 18, 2011 | Computers & Internet

2 Answers

How to create my hard disk as server like a website in my lan..............


you must install IIS (internet information service) or you can install wamp (mysql+ apache web server + php)

Jul 08, 2009 | Microsoft Windows XP Professional SP2 Full...

1 Answer

I PUT A PHP SOFTWARE IN A SERVER. ALTHOUGH THE THE CLIENT PC FIND THE SERVER, I CAN NOT RUN THE SOFTWARE THROUGH THE CLIENT PC. HOW CAN I DO IT?


u need a server known as apache web server. it is to be installed on the client pc. and u will be able to browse your php pages on the clint pc.

Mar 18, 2009 | Microsoft Computers & Internet

1 Answer

How to recover apache?


This page may help you out. http://www.easyphp.org/introduction.php

For my server, I use http://www.php.net/downloads.php. It works well without any problems.

In your Apache httpd.conf file add this script at the very end:
</IfModule>
#
#load the php main library to avoid dll mistakes
Loadfile "C:\Program Files\php5ts.dll"
#load the sapi so that apache can use php
LoadModule php5_module "C:\Program Files\php5apache2_2.dll"
#set the php.ini location so that you don't have to waste time guessing where it is
PHPIniDir "C:\Program Files\"
#Hook the php file extensions, notice that Addtype is NOT USED, since it isn't needed
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php-source .phps

Mar 12, 2009 | Acer Aspire 5500 5570-2609 Laptop

1 Answer

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

Feb 26, 2009 | The PHP Group PHP

1 Answer

PHP apache Problems


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

Aug 26, 2008 | The PHP Group PHP

3 Answers

How to set a folder with small program to run on linux+apache


Dear Rajiv

First make sure that your Apache server is running properly.
For this type http://localhost and see the result.

If you want to test PHP you can create a php test file by yourself.

Goto the www folder in apache director. create a file , name it anything.php. Edit the file and simply write "phpinfo()" without quotes . check the output.

It means that your apache server is fully capable of PHP scripting.

Cheers, Parveen

Jan 25, 2008 | Computers & Internet

1 Answer

Apache 2.2


First, is it really necessary to restart the server? can you just restart the service from Administrative tools -> Services? (Not a solution but might help a little whilst you're looking for one :)

Is there a reason why you are running Apache on 8080? Is IIS on 80? If so, I wonder if it may be stealing 8080 from Apache when the Apache worker restarts after its maximum allowed run time. As to why IIS should be doing that, I have no idea :) Also, is Apache configured for SSL? If it is, then it will be trying to use port 443 as well, as may IIS - & thus the above error message may be due to both trying to use 443 rather than 80 or 8080.

If you really can't get this working then running Windows & Linux (a LAMP installation) under VMWare or something similar may be an option. It's not as drastic as it sounds - I've done this on a laptop PC & it works!

Nov 26, 2007 | Computers & Internet

Not finding what you are looking for?
The PHP Group PHP Logo

Related Topics:

805 people viewed this question

Ask a Question

Usually answered in minutes!

Top The PHP Group Computers & Internet Experts

dhnguyen

Level 2 Expert

261 Answers

Robin Hill
Robin Hill

Level 3 Expert

1262 Answers

Mike

Level 3 Expert

4332 Answers

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

Answer questions

Manuals & User Guides

Loading...