PHP extension.help!
Moderator: General Moderators
PHP extension.help!
I've installed PHP5 and want to use php extensions mysql and mysqli. But there's an error message on PHP startup which said cannot load dynamic library, could not be found. In php.ini file extension path is extension_dir = "c:/php/ext". How can I solve it?
Thanks feyd.
Actually I didn't installed with installer. I unzipped them...and it has many extension .dlls including mysql/mysqli in the ext folder. If I don't remove the commas of extension=php_mysql.dll, extension=php_mysqli.dll etc. So I think one little thing's wrong with those extension path or configuration.
Actually I didn't installed with installer. I unzipped them...and it has many extension .dlls including mysql/mysqli in the ext folder. If I don't remove the commas of extension=php_mysql.dll, extension=php_mysqli.dll etc. So I think one little thing's wrong with those extension path or configuration.
- dstefani
- Forum Contributor
- Posts: 140
- Joined: Sat Jan 11, 2003 9:34 am
- Location: Meridian Idaho, USA
My IIS / XP / PHP 5 install cheats
OK,
I tried the manual way with the zip files, I was having a hard time. I'm a Mac person but I
need my win laptop as a dev box for a week or two. (Arrrrge ;0 )
So I backed up the unzipped PHP dir (PHP_HOLD) as well as my php.ini.
I then ran the installer, and then copied the /ext dir from my PHP back up, as well as
all of the rest of the unzipped files (also PEAR) from the root of my PHP back up dir and pasted them into my installed PHP dir.
I made sure I did all the ini edits recommened in the linked page shown inthe first post on this page.
Restarted IIS and wam, bam, thank you mam, we're rockin' !
I hope I didn't miss anything, HTH.
dstefani
I tried the manual way with the zip files, I was having a hard time. I'm a Mac person but I
need my win laptop as a dev box for a week or two. (Arrrrge ;0 )
So I backed up the unzipped PHP dir (PHP_HOLD) as well as my php.ini.
I then ran the installer, and then copied the /ext dir from my PHP back up, as well as
all of the rest of the unzipped files (also PEAR) from the root of my PHP back up dir and pasted them into my installed PHP dir.
I made sure I did all the ini edits recommened in the linked page shown inthe first post on this page.
Restarted IIS and wam, bam, thank you mam, we're rockin' !
I hope I didn't miss anything, HTH.
dstefani