[PHP] How to set find pathes for PHP CLI?

2009-07-14 Thread Tir
I have many scripts that I need execute with PHP CLI. They are located in a few directories. I don't want to write full path to script every time when I start it. Therefore I've added this paths to the PATH environment variable. But PHP don't find my scripts. How could i set paths on which PHP

Re: [PHP] How to set find pathes for PHP CLI?

2009-07-14 Thread Tir
Linux (RHEL). PHP 5.2. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP doesn't see php.ini

2009-06-27 Thread Tir
Problem is solved. I should have added path to PHP root directory to PATH environment variable. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP doesn't use php.ini

2009-06-25 Thread Tir
When i installed PHP, I had written to my httpd.conf PHPIniDir c:/php. But phpinfo() returns C:\WINDOWS in Configuration File (php.ini) Path row and right path to my php.ini in Loaded Configuration File. It looks like php.ini really isn't used. I think so because when i try to enable MySQL it

[PHP] PHP doesn't see php.ini

2009-06-25 Thread Tir
When i installed PHP, I had written to my httpd.conf PHPIniDir c:/php. But phpinfo() returns C:\WINDOWS in Configuration File (php.ini) Path row and right path to my php.ini in Loaded Configuration File. It looks like php.ini really isn't used. I think so because when i try to enable MySQL

[PHP] Re: PHP doesn't use php.ini

2009-06-25 Thread Tir
Sorry for double posting -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP doesn't see php.ini

2009-06-25 Thread Tir
No, i haven't used an installer when i installed PHP. And no, I haven't another version of PHP on my computer. Bastien Koert phps...@gmail.com ???/ ? ?: news:d7b6cab70906250611l538e38ecr3849c5d4b6ab2...@mail.gmail.com... On Wed, Jun 24, 2009 at 8:32 AM,

Re: [PHP] PHP doesn't see php.ini

2009-06-25 Thread Tir
Presume you did restart apache after making the change? Of course Is there anything in your phpinfo output that relates to your php.ini? I think there must be a mention of MySQL because i've enabled it. But it isn't there. Maybe some error near the beginning of php.ini causes php to stop