Re: [PHP] How do I find my php.ini file?
use phpinfo() function and look for Configuration File (php.ini) Path. for example of php 5.0x, it is normally /etc/php.5.ini good luck. Jay Blanchard wrote: [snip] Fedora Core 3, PHP 5.03, MySQL 4.17, Apache 2.0.52 Recent PHP installation. I created a phpinfo() page. When I display it in my browser, it says: Configuration File (php.ini) Path/etc Yet when I log on to my server and look for it in /etc, it is not there. How can I find it??? [/snip] Use a locate or find command from the command line. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Need Help for Session
Afzal Hussain ) wrote: Sir, I am afzal hussain from bangladesh. Acually i am getting some problem using session in php. This is the sample code that i have written, session_start(); //$vbl=This variable is registered; //session_register('vbl'); $_SESSION['vb1'] = This variable is registered; //echo $vbl; echo $_SESSION['vb1']; ? it shows this output. Warning: Cannot send session cookie - headers already sent by (output started at c:/program files/abria merlin/apache/htdocs/session.php:3) in c:/program files/abria merlin/apache/htdocs/session.php on line 4 Warning: Cannot send session cache limiter - headers already sent (output started at c:/program files/abria merlin/apache/htdocs/session.php:3) in c:/program files/abria merlin/apache/htdocs/session.php on line 4 Warning: open(/tmp\sess_178d4e9e23a4d7b1f061f93e7f172496, O_RDWR) failed: m (2) in c:/program files/abria merlin/apache/htdocs/session.php on line 4 This variable is registered Finding no other way i am sending this email to u. Could u pls tell me what s\could be the problem. and How i can i solve that problem. thanks you very much. afzal Hussian - Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php