Error messages configuring php

I downloaded PHP 5.4 to my computer which has Windows 8 (The customer preview), as there is no installer for 5.4 on Windows, i had to download the zip file that php.net offers. (I'm trying to install it to use for development), Now, I edited the php.ini but there was no place to tell php that my home directory is C:\Program files (x86)\PHP and I'm getting this error messages after starting apache:

[11-Apr-2012 18:54:37 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php\php_curl.dll' - The specified module could not be found.

By the way, I had to download the php5apache2_4.dll-php-5.4-win32.zip from apachelounge because my apache is 2.4 Is there a way to correct this error messages? All i need to do is configure PHP to look for it's extensions in C:\Program files (x86)\PHP\ext

Thanks in advance!

Answers


Set

extension_dir = "C:\Program files (x86)\PHP\ext"

in your php.ini. To find out which one is loaded / where to find it, create a file called info.php with the following in it

<?php 
phpinfo();
?>

and then browse to it, e.g. http://localhost/info.php


Need Your Help

Extract Strings from Java Classes

java string extract

I want to extract all Strings (texts, written in " ") in hundreds of java classes, to get them to a translator for a multilanguage platform translation.

Remove carriage return from XML file C#

c# .net streamreader streamwriter carriage-return

I need to remove carriage return from an XML file, but what i get is only an XML file with one box(\r). I wrote this:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.