Notoriouswow Posted February 4, 2010 Share Posted February 4, 2010 Alright, i wrote this script (This happens with all the scripts ive been writing lately) i always get function errors because they aren't defined in the php.ini file.... Which php.ini do i modify? And how would i modify it? (I have like 3 php.ini files all in different locations) If you could help me, that would be great!! Quote Link to comment https://forums.phpfreaks.com/topic/190856-phpini-help/ Share on other sites More sharing options...
mikesta707 Posted February 4, 2010 Share Posted February 4, 2010 can you post an example? I'm not quite sure what you mean, you don't define functions in the php.ini file, you simple define them in a .php file, and either use them in the same file, or include the file in another. Quote Link to comment https://forums.phpfreaks.com/topic/190856-phpini-help/#findComment-1006492 Share on other sites More sharing options...
Notoriouswow Posted February 4, 2010 Author Share Posted February 4, 2010 Warning: require(configuration/statisticshandler.inc.php) [function.require]: failed to open stream: No such file or directory in C:\Fusion Arcemu 3.2.2\Server\htdocs\notorious_armory\source\profileview.php on line 142 Quote Link to comment https://forums.phpfreaks.com/topic/190856-phpini-help/#findComment-1006498 Share on other sites More sharing options...
trq Posted February 4, 2010 Share Posted February 4, 2010 That error has nothing to do with your configuration (php.ini). it would appear you have an incorrect path to the file you are trying to include. Quote Link to comment https://forums.phpfreaks.com/topic/190856-phpini-help/#findComment-1006504 Share on other sites More sharing options...
Notoriouswow Posted February 4, 2010 Author Share Posted February 4, 2010 Thing is, the file is most definitively there theres no doubt about that, before i was told it was a php.ini file problem. Quote Link to comment https://forums.phpfreaks.com/topic/190856-phpini-help/#findComment-1006507 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.