473,563 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem configuring Apache with php support to run scripts on browser.

Hello iam trying to install php v5.2.1 with apache support so i can
run .php scripts ddirectly on my browser instead of command line but

when i try to http://localhost/phpinfo.phpi get na internal server
error.

i ahve apache v2.2.4 installed.

and when php asked me i teold het that i want her to configure
automaticall Apache cGI nd inseide htpp.conf it added these lines
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
ScriptAlias /php/ "C:\\Progra m Files\\PHP"
Action application/x-httpd-php "C:\\Progra m Files\\PHP\\php-cgi.exe"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

but yet it wont run. form command lien only works but not inisde my
browser why?

Apr 9 '07 #1
1 1947

Ï/Ç Íßêïò Ýãñáøå:
Hello iam trying to install php v5.2.1 with apache support so i can
run .php scripts ddirectly on my browser instead of command line but

when i try to http://localhost/phpinfo.phpi get na internal server
error.

i ahve apache v2.2.4 installed.

and when php asked me i teold het that i want her to configure
automaticall Apache cGI nd inseide htpp.conf it added these lines
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
ScriptAlias /php/ "C:\\Progra m Files\\PHP"
Action application/x-httpd-php "C:\\Progra m Files\\PHP\\php-cgi.exe"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

but yet it wont run. form command lien only works but not inisde my
browser why?
Apr 9 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2649
by: Lu | last post by:
Hi, I have a redhat 9 linux machine running apache 2.0.47, mysql 4.0.15, and php 4.3.4. I have been puzzled by this mail() problem for quite a while, could someone please give me some hint on this? I configured sendmail with a relay so that all outgoing mails go through our organization's exchange mail server: DSexchange.domain.com. The...
2
2830
by: P.Hill | last post by:
I was just trying to install Apache and php on an XP box for test of a PHP website I built last year. It was my first and only, so I am now rusty about the little I did learn last year. I get the following error in my log after I think I have I configured apache and php " C:/Websites/matrixcsbsju/html.test/matrix.htaccess: Invalid...
1
1514
by: Sullivan WxPyQtKinter | last post by:
title:Python CGI problem: correct result, but incorrect browser response. In one of my CGI program,named 'login.py', the script return a HEADER to web browser: Set-Cookie: sessionID=LAABUQLUCZIQJTZDWTFE; Set-Cookie: username=testuser; Status:302 Location:edit.py
2
1280
by: joe | last post by:
Hi, I am new to both Apache and PHP. I have installed Apache 2.0.59 and PHP 5.1.6 on WinXP Home. I can run test.php page from default DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs" but I have a subdirectory "C:/Program Files/Apache Group/Apache2/htdocs/sub1" from which I cannot run my test.php page. Can someone give me an...
3
4929
by: joe jacob | last post by:
I configured apache to execute python scripts using mod_python handler. I followed below mentioned steps to configure apache. 1. In http.conf I added <Directory "D:/softwares/Apache2.2/htdocs"> AddHandler mod_python .py PythonHandler mptest PythonDebug On </Directory>
12
6179
by: patelxxx | last post by:
My cgi script is not being seen by Apache. I have no idea what to do, 1) I have read the httpd file in my conf folder and still no luck. 2) I have placed my CGI place in C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin/ still not luck.
3
3312
tolkienarda
by: tolkienarda | last post by:
hi all, i have been having problems with mamp and i have decided that it probably isn't worth the trouble. problem being that i was relying on that to run a small stupid php mysql program on a mac server. so i think i just want to install apache, mysql, and php seperate i was getting ready to start on this adventure then i realized i didn't...
2
2073
by: asrinivas1234 | last post by:
need help for rails with apache web server configuration in development machine and production machine also.
0
7665
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5484
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1200
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.