Advertisement

06.05.2008 at 09:58AM PDT, ID: 23461024
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.2

Apache 2.2.8 and PHP 5.2.6 won't "see" extensions

Asked by conan1975 in PHP for Windows, PHP Installation, Server Software

Tags:

So I have installed Apache 2.2.8 and PHP 5.2.6, but it seems there is a problem when I add the lines:

extension=php_curl.dll
extension=php_gd2.dll
extension=php_mysqli.dll
extension=php_mysql.dll

I'm getting the following errors:

[05-Jun-2008 17:43:45] PHP Warning:  PHP Startup: curl: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP    compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0

[05-Jun-2008 17:43:45] PHP Warning:  PHP Startup: gd: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP    compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0

[05-Jun-2008 17:43:45] PHP Warning:  PHP Startup: mysqli: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP    compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0

[05-Jun-2008 17:43:45] PHP Warning:  PHP Startup: mysql: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=1
PHP    compiled with module API=20060613, debug=0, thread-safety=1
These options need to match
 in Unknown on line 0

I really don't know what the hell should I do anymore, because the loaded files are there.

My server is set up like this
C:\ServerPrograms\PHP\
C:\ServerPrograms\Apache\
C:\ServerPrograms\MySQL\

FYI in httpd.conf, I have add the following lines (NOTE: php code IS working):

PHPIniDir "C:/ServerPrograms/PHP/"
LoadModule php5_module "C:/ServerPrograms/PHP/php5apache2_2.dll"
ScriptAlias /cgi-bin/ "C:/ServerPrograms/Apache/cgi-bin/"
ScriptAlias /php/ "C:/ServerPrograms/PHP/"
AddType application/x-httpd-php .php .pxml .m3u .xls
Action application/x-httpd-php "C:/ServerPrograms/PHP/php.exe"

In php.ini I have set the following line:

extension_dir = "C:\ServerPrograms\PHP\ext"

and of course the ext folder is there and fine:

2 things to note: the msi installer of PHP 2.2.8 did NOT have a ext folder at alll I had to take the dll's from a older 5.1. version from another machine... the msi I installed was this one http://uk.php.net/get/php-5.2.6-win32-installer.msi/from/a/mirror and it had nbarely anything is it, also the php.ini file (original) didn't have the usual

;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_domxml.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd2.dll
;extension=php_mysqli.dll
;extension=php_mysql.dll
;extension=php_gettext.dll
;extension=php_hyperwave.dll
;extension=php_iconv.dll
;extension=php_ifx.dll
;extension=php_iisfunc.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
;extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_mime_magic.dll
;extension=php_ming.dll
;extension=php_mssql.dll
;extension=php_msql.dll
;extension=php_oci8.dll
;extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_printer.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
;extension=php_w32api.dll
;extension=php_xmlrpc.dll
;extension=php_xslt.dll
;extension=php_yaz.dll
;extension=php_zip.dll

lastly my Environment Variables path variables are

PATH=C:\ServerPrograms\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\ServerPrograms\MySQL\MySQL Server 5.0\bin
Start Free Trial
[+][-]06.05.2008 at 10:12AM PDT, ID: 21721759

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP for Windows, PHP Installation, Server Software
Tags: PHP
Sign Up Now!
Solution Provided By: hernst42
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.05.2008 at 10:44AM PDT, ID: 21722066

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 10:46AM PDT, ID: 21722089

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 10:50AM PDT, ID: 21722133

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 10:52AM PDT, ID: 21722151

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628