doralsoral
06-19-2004, 09:11 PM
i have php installed on y gentoo server and it seems to be working ok but i was going to edit something in php.ini but i dont have one. when i compiled it i used the with-config-file-path option but its not where i told it to go and i did a search for it and it is nowhere to be found. can anyone help me?
tehtech
06-19-2004, 09:26 PM
Do you have a phpinfo page set-up?
doralsoral
06-19-2004, 09:36 PM
yeah http://leftshoe.kicks-***.org/php.php its not where it sasy it is
ok this forum has a filter or something goin on so youre gonna have to type in those astericks. (if you cant figure it out its a**)
matt2kjones
06-20-2004, 09:31 AM
php will use default settings if there isn't a php.ini file
just download the php source (te same version u have) then copy the php.ini file from the source you downloaded, to the location it gives in the php info page
then edit the php.ini file
when you compile php with -with-config-file-path= it doesn't copy the config file to the location..... ur meant to do that yourself.
Burhan
06-20-2004, 12:51 PM
On Gentoo -- you do get a default php.ini file. Did you compile from emerge or from source?
emerge -av mod_php <-- that will install the latest stable php for your arch.
emerge -av php <-- this installs the cli-only version of php.
I would suggest you use the emerge system, since it makes it easy to add other plugins/libraries as you like.