eddie
03-12-2001, 12:00 PM
Does any one know how to find out the way that PHP was compiled on a VDI server.
I need to know if it was compiled with the followings:
--enable-trans-sid
--with-mysql
--enable-magic-quotes
--with-dom
--with-qtdom
If it wasn't is there a way to enable above configuration with out recompiling PHP?
Thanks.
I am no PHP guru but don't you just add in <?php phpinfo(); ?> to your page and it gives loads on info.
Have a look at Configure Command (3rd one down) and it lists all the compile flags. Well my PHP 4 install does anyway.
Hope it helps.
eddie
03-12-2001, 01:06 PM
Thanks for the info
But,
Now that I know what I have how do I configure PHP with the following:
--with-dom
--with-qtdom
I have no idea how you would do it with a virtual account. I have been compiling and trying it on a dedicated machine. ie. I have root access. So with root access just recompile with standard flags plus the extra ones...
What do --with-dom and --with-qtdom do?
I haven't compiled with thoses, what am I missing out on?
You could try asking the person that runs your server if they will recompile with the extras you are wanting (you had better have a good reason why you need them though). They are bound to re-compile it and re-install it every so often when patches come out. I have found when you ask web hosts technical questions they don't know the answer and give a silly answer. I think it is just sales people answering tec support questions but either way it is very hard to get anywhere.
Good luck.
nopzor
03-15-2001, 01:07 AM
you can't do it with a virtual account (unless you compile your own httpd and run it on a non priveledged port)
Later,
Raj.
mkaufman
03-15-2001, 05:54 PM
So uh..when did he say he was on a virtual account? :)
Eddie, Check out http://www.php.net/manual and it tells you in the Installation (or configuring?) section.
I think eddie has edited his post as I think he has changed the --XXXX that he wants to know about.
After saying that I think it shows when you edit. If he didn't I probably read 2 threads and replied in one. We all get confused at some point.
No it doesn't show as this is my 2nd edit.
eddie
03-16-2001, 07:49 AM
Thanks mkaufman for the link, there is quite a bit of info there...
btw I an not on a virtual account but on my own server, but heck I got a lot to learn :)