•
•
•
•
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
![]() |
•
•
Join Date: Oct 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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.
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Can't Configure Apache 2.2.4 for Php 5.2.3 on windows (Need Urgent Help) (PHP)
- Need help with changing the index.php file (Existing Scripts)
- Reading an input file as a class memeber function (C++)
- PHP Installation (PHP)
- php.ini file not being read (PHP)
- reading txt file into array (C++)
- Not reading in entire file. (C++)
- Get the name of the current php file (PHP)
Other Threads in the PHP Forum
- Previous Thread: Remember ME option
- Next Thread: return a value from javascript


Linear Mode