| | |
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 |
.htaccess alexa apache api array beginner beneath binary broadband broken cakephp checkbox class cms code convert cron curl database date display dynamic echo email emptydisplayvalue encode error fcc file files folder form forms function functions google howtowriteathesis href htaccess html image images include insert ip javascript joomla key keywords limit link login mail mail() memberships menu mlm multiple multipletables mysql mysql_real_escape_string network oop open passwords paypal pdf php provider query radio random redirect remote rss script search securephp server sessions smtp source space sql strip_tags syntax system table template tutorial update upload url user validator variable video voteup web youtube





