| | |
PHP5x,Apache2.2 : Apache not reading php file
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2006
Posts: 2
Reputation:
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.
![]() |
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
| Thread Tools | Search this Thread |
301 apache api array autosuggest beginner beneath binary broadband broken button cakephp checkbox class cms code compression countingeverycharactersfromastring crack cron curl database date decode display dynamic echo email error file files folder form forms function functions google href htaccess html httppost image include insert integration ip javascript joomla limit link links login mail match md5 menu mlm multiple mysql mysql_real_escape_string oop paypal pdf php problem protocol query radio random recursion remote script search searchbox server session sessions sms smtp source space sql strip_tags survey syntax system table tutorial undefined update upload url validator variable video virus votedown web window.onbeforeunload=closeme; youtube





