| | |
PHP not working with Apache.
![]() |
•
•
Join Date: May 2005
Posts: 1
Reputation:
Solved Threads: 0
I have the latest version of Apache and PHP, and run both on Microsoft Windows XP Home Edition. I have installed PHP and edited the Apache configuration file to recognize PHP, but when I load a page (on my server) in PHP, it comes up the same as if I had opened it in a text editor.
http://img28.echo.cx/img28/8052/php9fq.jpg
Above is a link to a screenshot of my browser. Apache doesn't seem to work with PHP the way I set it up (exactly as said on the PHP website). Any suggestions?
Thanks for your help.
--Alex (alexmcavoy@gmail.com)
http://img28.echo.cx/img28/8052/php9fq.jpg
Above is a link to a screenshot of my browser. Apache doesn't seem to work with PHP the way I set it up (exactly as said on the PHP website). Any suggestions?
Thanks for your help.
--Alex (alexmcavoy@gmail.com)
From the looks of the screenshot either the AddType and AddHandler for php was not added to the httpd.conf file, 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
![]() |
Similar Threads
- Help with PHP, not working on page (PHP)
- Apache (Linux Servers and Apache)
- How do I install Apache, MySQL, PHP on Linux? (PHP)
- How to test PHP code in offline in Linux + Apache 2 (PHP)
- I am looking for works regarding php/mysql (Web Development Job Offers)
- Apache rewrite map (PHP)
- Problem which installing PHP5 and Apache (PHP)
- Can't get PHP to run ! Please help! (PHP)
- Integrating Apache with PHP and MySQL (Linux Servers and Apache)
- Apache Alias Directive... mod_alias question (Linux Servers and Apache)
Other Threads in the Linux Servers and Apache Forum
- Previous Thread: Apache on linux OS, running PHP scripts
- Next Thread: mod_rewrite help needed
| Thread Tools | Search this Thread |
.net apache asus bbc bluegene centos cisco citrix cloud cloudcomputing datacenters debian dell desktops development distributions distros drivers economy eeepc energy enterprise fedora gadgets gentoo gos government gpl hardware hp hyper-v ibm infringements java jobs kindle knoppix kvm laptop laptops lawsuits licensing limo linustorvalds linux linuxfoundation linuxmagazine magazines microserver microsoft mobile mobilephones netbook netbooks news novell olpc open openmoko openoffice opensolaris opensource opensuse openvz operatingsystems os patents pc pcworld plathome politics print qumranet redhat rhel robot russia sco server servers slackware software solaris source sun supercomputer support tivo torvalds training tv ubuntu umpc unix virtualization vmware windows x86 xandros xen





