Jump to content

Recommended Posts

Hello Everyone.

Till now I used to work on XAMPP and WAMP but today I tried installing Apache,PHP,and MySQL seperately(MAnually).

For that I downloaded Apache(httpd-2.0.64-win32-x86-openssl-0.9.8o.msi),

PHP(php-5.3.17-Win32-VC9-x86.msi)

MySQL(mysql-5.5.28-win32.msi).

 

First I installed Apache.Everything went right and on opening http://localhost it said that apache is correctly installed on your pc.

 

3bcb6de19de5a778fff8820d7eb67fbb.PNG

 

 

Then I installed PHP.While installing,it asked for httpd.conf file so I provided it and everything went fine.

Then I created a file named phpinfo.php in htdocs folder and wrote the following code in it

<?php
phpinfo();
?>

 

But when I opened the url http://localhost/phpinfo.php it is showing the following error.

0dd583e9326eafb46677ca15616c4450.PNG

 

 

Please hefp me out.Unable to solve it.

Link to comment
https://forums.phpfreaks.com/topic/269617-php-not-working/
Share on other sites

The apache.org windows binary isn't compatible with the latest php.net windows binary. The following is from the side-bar on the php.net windows download page -

 

VC9 Versions are compiled with the Visual Studio 2008 compiler and have improvements in performance and stability. The VC9 versions require you to have the Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed

 

Do NOT use VC9 version with apache.org binaries

 

VC9 versions of Apache can be fetched at Apache Lounge. We use their binaries to build the Apache SAPIs.

Link to comment
https://forums.phpfreaks.com/topic/269617-php-not-working/#findComment-1385958
Share on other sites

The latest VC6 version of php is 5.2.17. Why would you want to go back in time and use that version?

 

The latest xampp version already uses the proper VC9 builds of apache and php. Why not just stick to xampp?

As I said I used XAMPP till now but I want to learn how to install and configure Apache,PHP manually.So trying for it.

Link to comment
https://forums.phpfreaks.com/topic/269617-php-not-working/#findComment-1386115
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.