I need help getting php and pear to work correctly on my xp?

I've worked on php until I discovered that a lot of my code was not be interrupred correctly. I went out and downloaded all the extensions with php5. I now spend many hour posting and reading all I can find to solve my problems, only to find inoperative extensions and a line of other people having the same problems. I know it must work, but I can't seem to get a handle on whats the proper way to deal with the issue of proper extension install and the compatabillity with my XP machine. The php ini and I have become close friends I need the right instructions to operate effectively. mysql which works and Apache which fights me to run but work well at least with CGI that is. I now have only php which gives me fits.I will continue to try to solve this problem hopefully soon so I can continue to learn php programming.

There is also my phpedit that will report errors with inoperable extensions? All I need is extensions that work php_dbg.dll, php_bz.dll,php_extname.dll;


2 Answers

  • 1 decade ago

    Not sure what your question is : but if you are trying to install php you shouldn't install it as CGI. Use the Apache module. Here are the steps :

    1 :Install Apahce,PHP and mysql

    2: edit C:\Program Files\Apache Group\Apache2\conf\httpd.conf and add :

    LoadModule php5_module "c:/php/php5apache2.dll"

    AddType application/x-httpd-php .php

    PHPIniDir "C:/php"

    3 :edit C:\php\php.ini

    ;extension=php_mysql.dll to extension=php_mysql.dll

    4 : restart apache

    That should do the trick

Still have questions? Get your answers by asking now.