How do Install PhP Extensions ?

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Taffman
-


Joined: 16 Sep 2004
Posts: 35
Location: Welwyn Garden City, UK

PostPosted: Fri Oct 29, 2004 12:19 pm    Post subject: How do Install PhP Extensions ? Reply with quote

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 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
amonia
-


Joined: 10 Oct 2004
Posts: 45

PostPosted: Fri Oct 29, 2004 4:10 pm    Post subject: Reply with quote

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 View user's profile Send private message
Taffman
-


Joined: 16 Sep 2004
Posts: 35
Location: Welwyn Garden City, UK

PostPosted: Fri Oct 29, 2004 4:37 pm    Post subject: Reply with quote

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 View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
amonia
-


Joined: 10 Oct 2004
Posts: 45

PostPosted: Fri Oct 29, 2004 4:45 pm    Post subject: Reply with quote

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 View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group