View previous topic :: View next topic |
Author |
Message |
Taffman -
Joined: 16 Sep 2004 Posts: 35 Location: Welwyn Garden City, UK
|
Posted: Fri Oct 29, 2004 12:19 pm Post subject: How do Install PhP Extensions ? |
|
|
In installed PhP using the PHP 4.3.9 zip package Windows Binaries package.
This windows installer does not support Abyss Web Server so the option for manually configure the webserver was chosen.
PhP appears to run fine however it does not interface with MySql. I've tracked this down to the fact the the php.ini file has the Mysql dll rem'ed out. I've removed the comment so that these dll will be called by PhP however I don't think they have been installed by the Windows installer.
The documentation says that these should be found in the C:\PHP\Extensions folder, but this folder does not exist.
I've just executed
print_r(get_loaded_extensions());
and I get:
Array ( [0] => bcmath [1] => calendar [2] => com_dotnet [3] => ctype [4] => ftp [5] => iconv [6] => odbc [7] => pcre [8] => session [9] => SPL [10] => SQLite [11] => standard [12] => tokenizer [13] => zlib [14] => libxml [15] => dom [16] => SimpleXML [17] => wddx [18] => xml )
I guess I have to manually install theses, but where do I get them from.
Any ideas anyone..
Dai |
|
Back to top |
 |
 |
amonia -
Joined: 10 Oct 2004 Posts: 45
|
Posted: Fri Oct 29, 2004 4:10 pm Post subject: |
|
|
Install PHP manualy - just download the packet from www.PHP.net and unzip it in c:\php and you will have C:\php\extensions dir
It is simple without installer.
---- |
|
Back to top |
|
 |
Taffman -
Joined: 16 Sep 2004 Posts: 35 Location: Welwyn Garden City, UK
|
Posted: Fri Oct 29, 2004 4:37 pm Post subject: |
|
|
Which package do I download. I only see the following:
PHP 4.3.9 zip package [6,953Kb] - 22 Sep 2004
(CGI binary plus server API versions for Apache, Apache2 (experimental),
PHP 4.3.9 installer [1,045Kb] - 22 Sep 2004
The PHP 4.3.9 zip package does not seem to have an extensions folder in it?
Dai |
|
Back to top |
 |
 |
amonia -
Joined: 10 Oct 2004 Posts: 45
|
Posted: Fri Oct 29, 2004 4:45 pm Post subject: |
|
|
you need the first one.(6,953Kb), but for windows if you are on windows. It is all in one zip file.
I have PHP 4.3.8 and all is ok. |
|
Back to top |
|
 |
|