Stooney Posted January 1, 2008 Share Posted January 1, 2008 I think I'm missing something here. I need to change 4 settings, so I made a php.ini including those directives and placed it in the directory with the php scripts which need the changes. But that doesnt seem to help, when I check the settings with ini_get() all I see is the default values. It's like this on both my localhost and my webhost (I checked to make sure my host allows it and they do). php.ini upload_max_filesize: 50 M max_execution_time: 1800 memory_limit: 55 M post_max_size: 50 M none of those settings are changed according to ini_get() Link to comment https://forums.phpfreaks.com/topic/83913-solved-phpini/ Share on other sites More sharing options...
sKunKbad Posted January 1, 2008 Share Posted January 1, 2008 use an equals sign instead of a colon Link to comment https://forums.phpfreaks.com/topic/83913-solved-phpini/#findComment-427046 Share on other sites More sharing options...
PFMaBiSmAd Posted January 1, 2008 Share Posted January 1, 2008 Also, a local php.ini, when it is permitted (and php is running as a cgi wrapper), usually only works when it is in the web document root folder. Link to comment https://forums.phpfreaks.com/topic/83913-solved-phpini/#findComment-427047 Share on other sites More sharing options...
Stooney Posted January 1, 2008 Author Share Posted January 1, 2008 Aight, changing the colons to = worked. Thanks a bunch. Works fine in a sub directory. Link to comment https://forums.phpfreaks.com/topic/83913-solved-phpini/#findComment-427061 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.