User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 427,765 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,671 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 2749 | Replies: 0
Reply
Join Date: Oct 2006
Posts: 2
Reputation: pleal is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
pleal pleal is offline Offline
Newbie Poster

PHP5x,Apache2.2 : Apache not reading php file

  #1  
Oct 16th, 2006
I have googled for anyoneexperiencing the same error. Apache2.2 works fine as stand alone.
Now, when installing php5.x and after making the changes in the httpd.conf file for Apache, Apache doesn't read the php file.

Changes in httpd.conf file were :

# For PHP 5 - Added on Oct. 13 for website design and integrate with php
LoadModule php5_module "c:/php5.2/php5apache2_2.dll"
AddType application/x-httpd-php .php .html
AddType application/x-httpd-php-source .phps
# Tell Apache what program to run when it encounters a
# PHP file as defined in our AddType Directive.
# Action application/x-httpd-php /php5.2/php.exe
# For PHP 5 - Added on Oct. 12 - configure the path to php.ini
PHPIniDir "C:/php5.2"

creating a info page in php and saving with Notepad as php file in httpd/ (that's the root_directory), the error "The page cannot be found" appears ) .



Can someone help ?
Thank you.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 1:11 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC