prathameshkakade Posted October 18, 2012 Share Posted October 18, 2012 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. 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. Please hefp me out.Unable to solve it. Quote Link to comment https://forums.phpfreaks.com/topic/269617-php-not-working/ Share on other sites More sharing options...
gristoi Posted October 18, 2012 Share Posted October 18, 2012 try zend server community edition. i use it all the time and have no issues Quote Link to comment https://forums.phpfreaks.com/topic/269617-php-not-working/#findComment-1385947 Share on other sites More sharing options...
prathameshkakade Posted October 18, 2012 Author Share Posted October 18, 2012 try zend server community edition. i use it all the time and have no issues Can you tell me more about it? I am new to PHP so please make it as simple as possible. Thank You. Quote Link to comment https://forums.phpfreaks.com/topic/269617-php-not-working/#findComment-1385956 Share on other sites More sharing options...
PFMaBiSmAd Posted October 18, 2012 Share Posted October 18, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/269617-php-not-working/#findComment-1385958 Share on other sites More sharing options...
prathameshkakade Posted October 18, 2012 Author Share Posted October 18, 2012 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 - So I should use VC6 version???? Quote Link to comment https://forums.phpfreaks.com/topic/269617-php-not-working/#findComment-1385961 Share on other sites More sharing options...
prathameshkakade Posted October 18, 2012 Author Share Posted October 18, 2012 I uninstalled VC9 version and installed VC6.But still the problem persists. Quote Link to comment https://forums.phpfreaks.com/topic/269617-php-not-working/#findComment-1385962 Share on other sites More sharing options...
Solution PFMaBiSmAd Posted October 18, 2012 Solution Share Posted October 18, 2012 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? Quote Link to comment https://forums.phpfreaks.com/topic/269617-php-not-working/#findComment-1385963 Share on other sites More sharing options...
prathameshkakade Posted October 18, 2012 Author Share Posted October 18, 2012 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. Quote Link to comment https://forums.phpfreaks.com/topic/269617-php-not-working/#findComment-1386115 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.