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 Anonymous on

Ad

2 Answers

Daniel Octopus

  • Level 1:

    An expert who has achieved level 1.

    New Friend:

    An expert that has 1 follower.

  • 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

Ad

Wesley Gardner

  • 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

Ad

2 Related Answers

Anonymous

  • 83 Answers

SOURCE: PHP apache Problems

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

Posted on Aug 28, 2008

Anonymous

  • 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,
[email protected]

Posted on Mar 06, 2009

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


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

3 Answers

Apache is not runing


Not Only Skype , Team-viewer is also using port 80 .
To know who uses port 80 go to command promt and type
" netstat -aon " in command prompt and and PID of app listening at port 80 and find athe app on Task Manager -> Servies and Stop it , Then try to Run Papche

If it is not solved
Try by editing httpd.conf of apache (can be found at c:/xampp/apache/conf/ )
If not solved Please attach the error log in order to troubleshoot it .
(log path c:/xampp/apache/log/error.log )

Mar 27, 2009 | Microsoft Windows Vista Home Premium with...

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,
[email protected]

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:

829 people viewed this question

Ask a Question

Usually answered in minutes!

Top The PHP Group Computers & Internet Experts

Rob Hill
Rob Hill

Level 3 Expert

1414 Answers

Mike

Level 3 Expert

4369 Answers

Alison Lofts
Alison Lofts

Level 2 Expert

131 Answers

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

Answer questions

Manuals & User Guides

Loading...