note 59793 added to ref.mysql

From: Date: Thu, 15 Dec 2005 21:15:35 +0000
Subject: note 59793 added to ref.mysql
Groups: php.notes 
Request: Send a blank email to php-notes+get-100230@lists.php.net to get a copy of this message
I've seen alot of newbies getting frustrated over the extenstions not being installed initially, so heres a quick tut for Windows. It's ok to use the php5 installer. Just be sure to also grab the .zip or "manual" version of php5. Install it like any other app. It's pretty straight forward. Don't forget to set the securities mentioned in the last message box at the end of the install. Next, If you installed php to c:\php then you will need to add this to your PATH environment variable. This is a very important step. Now open up the .zip manual version of php5 and extract the ext folder, and "libmysql.dll" to "c:\php\". You *MUST* set your security permissions on libmysql.dll and the ext folder to READ/READ&EXECUTE for IUSR_"MACHINE_NAME". like my machine is called master<acct = IUSR_MASTER>. If you don't do this you will recieve an ******.dll - Access Denied. type message. Next edit your php.ini file usually located in c:\windows\. Find the line for extension_dir variable and make it say extension_dir = "c:\php\ext\" Then scroll down a little bit and find the lines that say ;extension=php_mbstring.dll ;extension=php_bz2.dll ;extension=php_curl.dll ;extension=php_dba.dll ;extension=php_dbase.dll ;extension=php_exif.dll ;extension=php_fdf.dll ;extension=php_filepro.dll ;extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_ifx.dll just remove the semicolin for each extension you would like loaded. Such as extention=php_mysql.dll and so on. Now just reboot and all should be well. Query away. you basically only need to reboot to update the PATH environment variable. Hope this helps at least 1 person.:) ---- Manual Page -- http://www.php.net/manual/en/ref.mysql.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+59793 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59793&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59793&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59793&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59793&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59793&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59793&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59793&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+59793&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#100230) next »