Jump to content

Recommended Posts

Dear All,

 

It doesn't look like my PHP has XSL compiled in:

 

From http://us.php.net/xsl:

 

"PHP 5 includes the XSL extension by default and can be enabled by adding the argument --with-xsl[=DIR] to your configure line. DIR is the libxslt installation directory."

 

My config info does not show the compile argument --with-xsl

 

 

Can someone instruct me how and where should I insert this argument to PHP?

I cannot find this in the php.ini.

 

Also how can I locate the php5 source directory of PHP5 in FreeBSD?

 

 

Please let me know.

 

Dwayne

 

Link to comment
https://forums.phpfreaks.com/topic/96339-configure-command-newbie-question/
Share on other sites

Can someone instruct me how and where should I insert this argument to PHP?

 

You need to pass this as an argument to the configure script when you compile php.

 

Also how can I locate the php5 source directory of PHP5 in FreeBSD?

 

Unless you dowloaded it specifically, I doupt it exists.

 

Ive not used freeBSD but there is likely a seperate package available for php-xsl, search for it using your package manager.

  • 4 weeks later...

Hey look I'm only a n00bie running Ubuntu so I may be corrected here,  from the terminal window change to the php source directory (where php was originally installed) and enter the following from the prompt:

 

./configure --with-xsl

 

I think that's it....

 

I actually have another post that I have just put up seeking clarification to the ./configuration command... there may be some responses there that may help as well.... good luck

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.