| | |
Can't Configure Apache 2.2.4 for Php 5.2.3 on windows (Need Urgent Help)
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
I have Installed apache http server 2.2.4 on Windows and configure the doc_root to my htdocs directory and its working fine. But when is add these lines in httpd.conf file it gives error.
LoadModule php5_module "C:/php/php5apache2.dll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
It gives error like"server cant load module "C:/php/php5apache2.dll"".
I have Installed apache from .msi installer and its running on 7860 port fine.
I have installed php manually. I have Extracted it in c:/php directory.
I have also tried to set path variable for dll files and rename php.ini-dist to php.ini
Please Help me I am a newbie in php.
LoadModule php5_module "C:/php/php5apache2.dll"
PHPIniDir "C:/php"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
It gives error like"server cant load module "C:/php/php5apache2.dll"".
I have Installed apache from .msi installer and its running on 7860 port fine.
I have installed php manually. I have Extracted it in c:/php directory.
I have also tried to set path variable for dll files and rename php.ini-dist to php.ini
Please Help me I am a newbie in php.
hi shaikh,
did you use an msi installer for php on windows? when I installed php from an msi installer I had tons of problems getting it to work. I downloaded the php5.2.3 zip and the pecl5.2.3 zip files and extracted them to the root of C. You can extract the pecl5.2.3 directory to C:\php.
after I did that, I configured my php.ini file to point to my web root directory and also modified the extension_dir directive to point to C:\php\ext
Then restarted apache and created a phpinfo.php file to test the install.
let me know if these steps help!
sabia
did you use an msi installer for php on windows? when I installed php from an msi installer I had tons of problems getting it to work. I downloaded the php5.2.3 zip and the pecl5.2.3 zip files and extracted them to the root of C. You can extract the pecl5.2.3 directory to C:\php.
after I did that, I configured my php.ini file to point to my web root directory and also modified the extension_dir directive to point to C:\php\ext
Then restarted apache and created a phpinfo.php file to test the install.
let me know if these steps help!
sabia
pecl as far as I can tell just contain some extra modules that you can load into your php applications. the documentation that I used, recommended installing it with php 5.2.3. I'll see if i can find the link and post it here.
•
•
•
•
Hi I need help I´ve just installed apache 2.2.4 and php 5.2.3 and everything works fine until I want to load myql extension
I have configured the extensions dir apropiately but somehow the Apache donesnt recognize them
I really need your help
Your best bet for those configuration issues is to install an AMP package such as XAMPP or WAMPserver if you are working in Windows. Find a LAMP package if you are using Linux.
•
•
•
•
Hi I need help I´ve just installed apache 2.2.4 and php 5.2.3 and everything works fine until I want to load myql extension
I have configured the extensions dir apropiately but somehow the Apache donesnt recognize them
I really need your help
Sorry again for your problem.
•
•
Join Date: Aug 2007
Posts: 7
Reputation:
Solved Threads: 0
Try to use apache 2.0 with PHP 5.x.x. For me it works well. For further information,
1,Click this http://www.expertsrt.com
2, Click the tutorial button in the site.
3, You will find a perfect way of installing your Apache, PHP, MYSQL...
I hope it helps,
If you insist to use apache 2.2 , try to check whether the php5apache2.dll in C:/php/, if not adjust the path.
Best Reards,
Berhe.
1,Click this http://www.expertsrt.com
2, Click the tutorial button in the site.
3, You will find a perfect way of installing your Apache, PHP, MYSQL...
I hope it helps,
If you insist to use apache 2.2 , try to check whether the php5apache2.dll in C:/php/, if not adjust the path.
Best Reards,
Berhe.
![]() |
Similar Threads
- like php but have windows xp home (PHP)
- PHP5x,Apache2.2 : Apache not reading php file (PHP)
- Apache Configuration with PHP + MySql (Linux Servers and Apache)
- How do I install Apache, MySQL, PHP on Linux? (PHP)
- Installation of PHP on Windows (PHP)
- What program ..... (PHP)
- index.php only downloads... it won't run (PHP)
- Hardware Requirements for Fedora, Apache, MySQL and PHP on one machine (*nix Hardware Configuration)
Other Threads in the PHP Forum
- Previous Thread: Conditional background in IE7
- Next Thread: secure video upload
| Thread Tools | Search this Thread |
apache api array beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white wordpress xml youtube






