PDA

View Full Version : XSLT in PHP5


kenzie
10-28-2006, 09:50 PM
Looking for a safe way to add XSLT support to the Server CP PHP5 release. Can anyone give me instructions or point me in the right direction?

Is support for XSLT something that could be added in a future release?

Thanks.

Jeremy
10-29-2006, 07:55 AM
You would need to download the php source, compile it and install it.

Do that is easy when you do it a few times.

Put a <?php phpinfo(); ?> in a php file and see the current php config, your looking for 'Configure Command'

When you download the source.. untar it run the configure line (add what you want), make make install then restart apache.

backup your php.ini and any php settings you have.

Jeremy
10-29-2006, 08:10 AM
This might help with any errors you get.

http://dan.drydog.com/apache2php.html

paperogiallo
11-16-2006, 11:44 AM
I have to enable XSLT support in my PHP5 installation, too.
Thanks for useful link and hints, but I would know, what about something goes wrong? Is there a procedure to "backup" current php & server configuration, in order to restore it quickly if anything goes wrong?

I run ServerCP on a virtual private server (WmWare) running CentOS.

_YD

Jeremy
11-18-2006, 05:12 AM
I guess if you foobar the install.... u can just rpm -e php5 or php and use yum install php then restart apache...

you can back up the php stuff using tar -cvf phpbackup.tar /path/to/php/files