Reply to Re: installation, debugging

Your name:

Reply:


Posted by badr on 09/20/05 07:32

hi ,Joseph S.

first you have to be sure where is the php.ini actually the good way to
make it avilable for your system is to
1- put your php.ini file in the C:\php directory
2- right click on my Computer ->properties->Advanced Tab Environment
Variable , Under system variable chooes Path and double click to see
the editable area. At the Varaible value add this (;C:\php) (don't
forget the semicolon at the begining ) ->OK-> OK -> restart your
computer
3- delete php.ini file if it reside in the Windows directory.

4- if you are using binary version of PHP 5 you will find (ext)
directory under your C:\php directory
so you may need to open your php.ini file and make theis line like this

extensions_dir = "C:\php\ext"

and for this reason you was getting this err (cannot load
c:\php\php_curl.dll ) and other extension

now to debug PHP i can advise you to download this IDE Packge
http://www.waterproof.fr/

(PHPEdit) its very powerFull software that support all php functions
and more while the latst version is 1.2.3.159
http://www.waterproof.fr/products/PHPEdit/download.php

database access through odbc works ????? what is this ?


about the point # 8

actually i didn't know any method for running PHP as BOTH CGI AND
module in the same time but the setting for the CGI ADD these three
line at the end of httpd.conf
# For PHP 4
#--------------------------------------------
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .php3
Action application/x-httpd-php "/php/php.exe"
#--------------------------------------------
OR

# For PHP 5
#--------------------------------------------


ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php .php3
Action application/x-httpd-php "/php/php-cgi.exe"

#--------------------------------------------

To install it AS Apache module you may instead need to add these three
lines

# For PHP 4 do something like this:
#----------------------------------------------------
LoadModule php4_module "c:/php/sapi/php4apache2.dll"
AddType application/x-httpd-php .php .php3
PHPIniDir "C:/php"
#----------------------------------------------------

OR

#For PHP 5 do something like this:
#----------------------------------------------------
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php .php3
PHPIniDir "C:/php"
#----------------------------------------------------

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация