PHP extensions

Problems with the Linux version of XAMPP, questions, comments, and anything related.

PHP extensions

Postby mpollymark » 03. February 2011 03:46

Hey gays,
I've installed XAMPP on Suse 11.2. How do I check if XAMPP installed/enabled certain PHP extensions?
How do I add extensions on XAMPP?

Thanks
mpollymark
 
Posts: 1
Joined: 03. February 2011 03:34

Re: PHP extensions

Postby ZumJ » 08. February 2011 15:29

Hey,

You want to edit this section in your php.ini file:
Code: Select all
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;

; If you wish to have an extension loaded automatically, use the following
; syntax:
;
;   extension=modulename.extension
;
; For example, on Windows:
;
;   extension=msql.dll
;
; ... or under UNIX:
;
;   extension=msql.so
;
; ... or with a path:
;
;   extension=/path/to/extension/msql.so
;
; If you only provide the name of the extension, PHP will look for it in its
; default extension directory.
;


That will allow you to load an extension. After doing that, if I'm not mistaken, it will show in the output of phpinfo(). Make a file in your webroot, and call it from a browser:
<?php
phpinfo();
?>


You should get a long page containing all sorts of Apache and PHP config information.

Hope that helps,
Straights
ZumJ
 
Posts: 12
Joined: 18. January 2011 04:03


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 20 guests