944,001 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 6570
  • PHP RSS
Oct 16th, 2006
0

PHP5x,Apache2.2 : Apache not reading php file

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Unverified User
pleal is offline Offline
2 posts
since Oct 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: Remember ME option
Next Thread in PHP Forum Timeline: return a value from javascript





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC