using php config instead