rushenas Posted November 8, 2007 Share Posted November 8, 2007 I have installed PHP Version 5.2.4 under Linux Open SUSE 10.2, with Apache 2.2.6, with the following command: './configure' '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-gettext' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--enable-mcrypt' '--enable-magic-quotes' '--enable-discard-path' '--enable-sockets' '--enable-track-vars' '--enable-gd-native-ttf' '--with-ttf' '--with-xmlrpc' '--with-zlib' Everything is working fine. In phpinfo(), I see the location of php.ini here: Configuration File (php.ini) Path: /usr/local/php/lib But there is not any .ini file there. I tryed to copy the php.ini-recommend there and renamed it to php.ini. After that, PHP has been disabled. Stopping and starting Apache doesn't improve anything. I removed my php.ini from /usr/local/php/lib, and restart Apache. Again everything works fine. Now can soembody tell me, where is the php.ini file? How can I change values in it? Link to comment https://forums.phpfreaks.com/topic/76509-where-is-my-phpini/ Share on other sites More sharing options...
trq Posted November 8, 2007 Share Posted November 8, 2007 It should be somewhere within /etc. Mine is in /etc/php5/apache (On debian) Link to comment https://forums.phpfreaks.com/topic/76509-where-is-my-phpini/#findComment-387521 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.